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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 19027005: Hide notifications popups when entering fullscreen mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ChromeOS support. Created 7 years, 5 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/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index 205d84e3dcc969a8cbd9c34d4e2c24b8718a20aa..c01aae646a3d2fb5548525b8f47910b2a78600d5 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -427,6 +427,10 @@ bool WebNotificationTray::ShowNotifierSettings() {
return ShowMessageCenterInternal(true /* show_settings */);
}
+message_center::MessageCenterTray* WebNotificationTray::GetMessageCenterTray() {
+ return message_center_tray_.get();
+}
+
bool WebNotificationTray::IsPressed() {
return IsMessageCenterBubbleVisible();
}

Powered by Google App Engine
This is Rietveld 408576698