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

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: Fix test failures 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 86b867eb6b1ee486b86c965e216f923b2505fbaa..d48c864d830a1bb9d49213b887c5b3965fb624fe 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray.h
+++ b/chrome/browser/ui/views/message_center/web_notification_tray.h
@@ -61,11 +61,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