Index: ash/shelf/shelf_layout_manager.h |
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h |
index 6f915479105c2db90471deff3a67e8d4e801d93d..fa8f3cf9d8002362e57b13e65f5adbf5d22d6a24 100644 |
--- a/ash/shelf/shelf_layout_manager.h |
+++ b/ash/shelf/shelf_layout_manager.h |
@@ -121,6 +121,11 @@ class ASH_EXPORT ShelfLayoutManager |
// Returns the docked area bounds. |
const gfx::Rect& dock_bounds() const { return dock_bounds_; } |
+ // Returns the bounds within the root window not occupied by the shelf. |
+ const gfx::Rect& non_shelf_bounds_in_root() const { |
+ return non_shelf_bounds_in_root_; |
+ } |
+ |
// Stops any animations and sets the bounds of the shelf and status |
// widgets. |
void LayoutShelf(); |
@@ -399,6 +404,9 @@ class ASH_EXPORT ShelfLayoutManager |
// The bounds of the dock. |
gfx::Rect dock_bounds_; |
+ // The bounds within the root window not occupied by the shelf. |
+ gfx::Rect non_shelf_bounds_in_root_; |
+ |
// The show hide animation duration override or 0 for default. |
int duration_override_in_ms_; |