Chromium Code Reviews| Index: ash/shelf/overflow_button.h |
| diff --git a/ash/shelf/overflow_button.h b/ash/shelf/overflow_button.h |
| index 9fe15199fe0445960409d5d9326d48cdf3fdc6bd..3243c0daca4792d9a53b3d96f3589ec1046f0c18 100644 |
| --- a/ash/shelf/overflow_button.h |
| +++ b/ash/shelf/overflow_button.h |
| @@ -13,12 +13,12 @@ |
| namespace ash { |
| -class Shelf; |
| +class ShelfView; |
| // Shelf overflow chevron button. |
| class OverflowButton : public views::CustomButton { |
| public: |
| - OverflowButton(views::ButtonListener* listener, Shelf* shelf); |
| + OverflowButton(ShelfView* shelf_view); |
|
bruthig
2016/06/09 03:25:59
explicit
mohsen
2016/06/09 21:24:50
Thanks for catching this. Done.
|
| ~OverflowButton() override; |
| void OnShelfAlignmentChanged(); |
| @@ -29,13 +29,16 @@ class OverflowButton : public views::CustomButton { |
| // views::View overrides: |
| void OnPaint(gfx::Canvas* canvas) override; |
| + // views::CustomButton: |
| + void NotifyClick(const ui::Event& event) override; |
| + |
| // Left and right images are rotations of bottom_image and are |
| // owned by the overflow button. |
| gfx::ImageSkia left_image_; |
| gfx::ImageSkia right_image_; |
| // Bottom image is owned by the resource bundle. |
| const gfx::ImageSkia* bottom_image_; |
| - Shelf* shelf_; |
| + ShelfView* shelf_view_; |
| DISALLOW_COPY_AND_ASSIGN(OverflowButton); |
| }; |