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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 19291004: Observes work area change and auto-hide for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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 | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 939a057e4be177705107d15560d63fb42818313e..e2d676dc74d9f3f28b610f704cedcb69e4c8dd19 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -74,6 +74,10 @@ class ASH_EXPORT ShelfLayoutManager :
// settings see ash::switches::UseAlternateShelfLayout).
static const int kShelfSize;
+ // Returns the preferred size for the shelf (either kLauncherPreferredSize or
+ // kShelfSize).
+ static int GetPreferredShelfSize();
+
explicit ShelfLayoutManager(ShelfWidget* shelf);
virtual ~ShelfLayoutManager();
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698