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

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray.h

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/views/message_center/web_notification_tray.h
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray.h b/chrome/browser/ui/views/message_center/web_notification_tray.h
index e18b36f4c5b4ca9cf0f5e08392899a90293a6a72..b9e92eb967631bddd48e7e5f5bf8a1bfa8a3bad7 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray.h
+++ b/chrome/browser/ui/views/message_center/web_notification_tray.h
@@ -7,6 +7,8 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/status_icons/status_icon_observer.h"
+#include "content/public/browser/notification_observer.h"
+#include "content/public/browser/notification_registrar.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/message_center/message_center_tray.h"
#include "ui/message_center/message_center_tray_delegate.h"
@@ -72,6 +74,7 @@ class WebNotificationTray : public message_center::MessageCenterTrayDelegate,
// Changes the icon and hovertext based on number of unread notifications.
void UpdateStatusIcon();
void HideBubbleWithView(const views::TrayBubbleView* bubble_view);
+ virtual MessageCenterTray* GetMessageCenterTray() OVERRIDE;
private:
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotifications);

Powered by Google App Engine
This is Rietveld 408576698