| Index: ash/common/shelf/overflow_button.h
|
| diff --git a/ash/common/shelf/overflow_button.h b/ash/common/shelf/overflow_button.h
|
| index b96479fbf4f856f10188d1758d54ca17d2699680..7f77ea3c6527906d3ca39cc4b32fca81cdcce58f 100644
|
| --- a/ash/common/shelf/overflow_button.h
|
| +++ b/ash/common/shelf/overflow_button.h
|
| @@ -10,13 +10,14 @@
|
| #include "ui/views/controls/button/custom_button.h"
|
|
|
| namespace ash {
|
| -class InkDropButtonListener;
|
| +class ShelfView;
|
| class WmShelf;
|
|
|
| // Shelf overflow chevron button.
|
| class OverflowButton : public views::CustomButton {
|
| public:
|
| - OverflowButton(InkDropButtonListener* listener, WmShelf* wm_shelf);
|
| + // |shelf_view| is the view containing this button.
|
| + OverflowButton(ShelfView* shelf_view, WmShelf* wm_shelf);
|
| ~OverflowButton() override;
|
|
|
| void OnShelfAlignmentChanged();
|
| @@ -58,7 +59,7 @@ class OverflowButton : public views::CustomButton {
|
| gfx::ImageSkia left_image_;
|
| gfx::ImageSkia right_image_;
|
|
|
| - InkDropButtonListener* listener_;
|
| + ShelfView* shelf_view_;
|
| WmShelf* wm_shelf_;
|
|
|
| // Alpha value used to paint the background.
|
|
|