Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: ash/common/shelf/overflow_button.h

Issue 2238903003: ash: Remove WmShelf::IsShowingOverflowBubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698