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

Unified Diff: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm

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: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
diff --git a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
index 25595e7ee62b08f7e9df0dcbdc9b69531bc727d3..ace367ef2e9ab75dcb623ca970686fe8592d8edc 100644
--- a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
+++ b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
@@ -84,6 +84,11 @@ bool MessageCenterTrayBridge::ShowNotifierSettings() {
return false;
}
+message_center::MessageCenterTray*
+MessageCenterTrayBridge::GetMessageCenterTray() {
+ return tray_.get();
+}
+
void MessageCenterTrayBridge::UpdateStatusItem() {
// Only show the status item if there are notifications.
if (message_center_->NotificationCount() == 0) {

Powered by Google App Engine
This is Rietveld 408576698