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

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

Issue 2012183002: Update cached height for popup notifications after shelf alignment changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
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 a5f848dd2d5ba4c5677a80ac331c28aa2977a012..11a5c780200bed299bda27e957ad95ede45cc157 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -619,6 +619,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