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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 1121893004: Have Notifications appear over docked windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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_;
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/system/web_notification/ash_popup_alignment_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698