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

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

Issue 2164733002: mash: Convert ash shelf overflow bubble to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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
« no previous file with comments | « ash/common/shelf/overflow_button.cc ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index 1e7ab27bfebb3bbdcbcbe3e6c12fa65252a91c53..0aa65780a07e9ed6df3609fdfeb19315e8c25c02 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -45,6 +45,16 @@ class ASH_EXPORT WmShelf {
// Shelf items are slightly dimmed (e.g. when a window is maximized).
virtual bool IsDimmed() const = 0;
+ // Whether the shelf item overflow bubble is visible.
+ // TODO(jamescook): Eliminate when ShelfView moves to //ash/common.
+ // http://crbug.com/615155
+ virtual bool IsShowingOverflowBubble() const = 0;
+
+ // Schedules a repaint for all shelf buttons.
+ // TODO(jamescook): Eliminate when ShelfView moves to //ash/common.
+ // http://crbug.com/615155
+ virtual void SchedulePaint() = 0;
+
// Whether the shelf view is visible.
// TODO(jamescook): Consolidate this with GetVisibilityState().
virtual bool IsVisible() const = 0;
« no previous file with comments | « ash/common/shelf/overflow_button.cc ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698