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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.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/system/web_notification/ash_popup_alignment_delegate.cc
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.cc b/ash/system/web_notification/ash_popup_alignment_delegate.cc
index 96ffc795396cf4012729cf0d80a5998fdd3ee688..b4aec7f60913dfb914644dddc69fe687e356c589 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.cc
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.cc
@@ -149,6 +149,9 @@ void AshPopupAlignmentDelegate::UpdateWorkArea(const gfx::Display& display,
gfx::Insets(0, 0, 0, width),
gfx::Insets(width, 0, 0, 0)));
+ if (shelf_)
+ work_area_.Union(shelf_->dock_bounds());
oshima 2015/05/06 21:01:18 I don't think this is correct. let me take a look.
jonross 2015/05/07 18:54:27 Updated per offline discussions. ShelfLayoutManage
+
DoUpdateIfPossible();
}
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698