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

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

Issue 17286015: Adds a first-run balloon to the Windows notification center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar fixes. Created 7 years, 6 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 dc79b24be2f7ae6cc9c06e6b82a995724eb542d5..df793a56aa9926af8e870bc61c5502f0d458e443 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray.h
+++ b/chrome/browser/ui/views/message_center/web_notification_tray.h
@@ -62,11 +62,18 @@ class WebNotificationTray : public message_center::MessageCenterTrayDelegate,
// StatusIconObserver implementation.
virtual void OnStatusIconClicked() OVERRIDE;
+ virtual void OnBalloonClicked() OVERRIDE;
// Changes the icon and hovertext based on number of unread notifications.
void UpdateStatusIcon();
void HideBubbleWithView(const views::TrayBubbleView* bubble_view);
+#if defined(OS_WIN)
+ // This shows a platform-specific balloon informing the user of the existence
+ // of the message center in the status tray area.
+ void DisplayFirstRunBalloon();
+#endif
+
private:
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotifications);
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotificationPopupBubble);

Powered by Google App Engine
This is Rietveld 408576698