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

Unified Diff: ash/wm/shelf_layout_manager.h

Issue 9873020: ash: Do not show the arrow in the tray bubbles when the tray isn't visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/system/tray/system_tray.cc ('k') | ash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shelf_layout_manager.h
diff --git a/ash/wm/shelf_layout_manager.h b/ash/wm/shelf_layout_manager.h
index f75de76bec7ae89abb6de0bf3310b218c1cf5453..fe38d57813af66b8505f8f065a39968d6761f0cd 100644
--- a/ash/wm/shelf_layout_manager.h
+++ b/ash/wm/shelf_layout_manager.h
@@ -87,6 +87,10 @@ class ASH_EXPORT ShelfLayoutManager : public aura::LayoutManager {
// See description above field.
int shelf_height() const { return shelf_height_; }
+ // Returns whether the shelf and its contents (launcher, status) are visible
+ // on the screen.
+ bool IsVisible() const;
+
// Returns the bounds the specified window should be when maximized.
gfx::Rect GetMaximizedWindowBounds(aura::Window* window) const;
gfx::Rect GetUnmaximizedWorkAreaBounds(aura::Window* window) const;
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/wm/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698