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

Unified Diff: ash/aura/wm_shelf_aura.cc

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/aura/wm_shelf_aura.h ('k') | ash/common/shelf/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shelf_aura.cc
diff --git a/ash/aura/wm_shelf_aura.cc b/ash/aura/wm_shelf_aura.cc
index bacc3f2fe9f293a6ac7b8bdfad7cccc83a465786..2e7132579483d61addb54492e0759ca9285dd11d 100644
--- a/ash/aura/wm_shelf_aura.cc
+++ b/ash/aura/wm_shelf_aura.cc
@@ -92,6 +92,16 @@ bool WmShelfAura::IsDimmed() const {
return shelf_layout_manager_->shelf_widget()->GetDimsShelf();
}
+bool WmShelfAura::IsShowingOverflowBubble() const {
+ return shelf_->IsShowingOverflowBubble();
+}
+
+void WmShelfAura::SchedulePaint() {
+ // Can be called during shutdown if the overflow bubble is visible.
+ if (shelf_)
+ shelf_->SchedulePaint();
+}
+
bool WmShelfAura::IsVisible() const {
return shelf_->IsVisible();
}
« no previous file with comments | « ash/aura/wm_shelf_aura.h ('k') | ash/common/shelf/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698