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

Unified Diff: ash/shelf/shelf_layout_manager.cc

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.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index 5eded79e0b05f2cbdc3e1c9bd0db09dd27d73b20..286ab4f65b14547a9de6954da3c8c1162ab84052 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -858,6 +858,9 @@ void ShelfLayoutManager::CalculateTargetBounds(
gfx::Rect(0, 0,
shelf_width - status_size.width(),
target_bounds->shelf_bounds_in_root.height()));
+
+ non_shelf_bounds_in_root_ = available_bounds;
+ non_shelf_bounds_in_root_.Subtract(target_bounds->shelf_bounds_in_root);
}
void ShelfLayoutManager::UpdateTargetBoundsForGesture(

Powered by Google App Engine
This is Rietveld 408576698