| Index: ash/shelf/overflow_button.h
|
| diff --git a/ash/shelf/overflow_button.h b/ash/shelf/overflow_button.h
|
| index 94d52c72eda6c84285f42b2f54f10e65b8bd85ee..4447d9c07433b6a904fe7043b0b7eb4b77c5dfb3 100644
|
| --- a/ash/shelf/overflow_button.h
|
| +++ b/ash/shelf/overflow_button.h
|
| @@ -12,13 +12,13 @@
|
| #include "ui/views/controls/button/custom_button.h"
|
|
|
| namespace ash {
|
| -
|
| +class InkDropButtonListener;
|
| class Shelf;
|
|
|
| // Shelf overflow chevron button.
|
| class OverflowButton : public views::CustomButton {
|
| public:
|
| - OverflowButton(views::ButtonListener* listener, Shelf* shelf);
|
| + OverflowButton(InkDropButtonListener* listener, Shelf* shelf);
|
| ~OverflowButton() override;
|
|
|
| void OnShelfAlignmentChanged();
|
| @@ -27,6 +27,9 @@ class OverflowButton : public views::CustomButton {
|
| // views::View:
|
| void OnPaint(gfx::Canvas* canvas) override;
|
|
|
| + // views::CustomButton:
|
| + void NotifyClick(const ui::Event& event) override;
|
| +
|
| // Helper functions to paint the background and foreground of the button
|
| // at |bounds|.
|
| void PaintBackground(gfx::Canvas* canvas, const gfx::Rect& bounds);
|
| @@ -56,6 +59,7 @@ class OverflowButton : public views::CustomButton {
|
| gfx::ImageSkia left_image_;
|
| gfx::ImageSkia right_image_;
|
|
|
| + InkDropButtonListener* listener_;
|
| Shelf* shelf_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(OverflowButton);
|
|
|