summaryrefslogtreecommitdiff
path: root/chromium/ui/views/examples/button_sticker_sheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/examples/button_sticker_sheet.h')
-rw-r--r--chromium/ui/views/examples/button_sticker_sheet.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/chromium/ui/views/examples/button_sticker_sheet.h b/chromium/ui/views/examples/button_sticker_sheet.h
index 3b8888e06ee..692ac731bb0 100644
--- a/chromium/ui/views/examples/button_sticker_sheet.h
+++ b/chromium/ui/views/examples/button_sticker_sheet.h
@@ -6,7 +6,6 @@
#define UI_VIEWS_EXAMPLES_BUTTON_STICKER_SHEET_H_
#include "base/macros.h"
-#include "ui/views/controls/button/button.h"
#include "ui/views/examples/example_base.h"
namespace views {
@@ -16,8 +15,7 @@ namespace examples {
// design button styles. This example only looks right with `--secondary-ui-md`.
// It is designed to be as visually similar to the UI Harmony spec's sticker
// sheet for buttons as possible.
-class VIEWS_EXAMPLES_EXPORT ButtonStickerSheet : public ExampleBase,
- public ButtonListener {
+class VIEWS_EXAMPLES_EXPORT ButtonStickerSheet : public ExampleBase {
public:
ButtonStickerSheet();
~ButtonStickerSheet() override;
@@ -25,9 +23,6 @@ class VIEWS_EXAMPLES_EXPORT ButtonStickerSheet : public ExampleBase,
// ExampleBase:
void CreateExampleView(View* container) override;
- // ButtonListener:
- void ButtonPressed(Button* sender, const ui::Event& event) override;
-
private:
DISALLOW_COPY_AND_ASSIGN(ButtonStickerSheet);
};