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

Unified Diff: ash/system/tray/system_tray.cc

Issue 2000303003: Update cached height for popup notifications after shelf alignment changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 13f41a198d1702141e85ea5e4eae6a8a47f2ff2f..28b3392d221dc39a3a6726d4c79763869c3c715c 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -624,6 +624,9 @@ void SystemTray::SetShelfAlignment(wm::ShelfAlignment alignment) {
if (notification_bubble_) {
notification_bubble_.reset();
UpdateNotificationBubble();
+ // UpdateWebNotifications() should be called in UpdateNotificationBubble().
+ } else if (!hide_notifications_) {
+ UpdateWebNotifications();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698