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..d5e17ef14766e35fc9c3ebf86c72c2bb16292b55 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,16 @@ 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); |
+ // This shows a platform-specific balloon informing the user of the existence |
+ // of the message center in the status tray area. |
+ void DisplayFirstRunBalloon(); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotifications); |
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotificationPopupBubble); |
@@ -81,6 +86,7 @@ class WebNotificationTray : public message_center::MessageCenterTrayDelegate, |
scoped_ptr<internal::NotificationBubbleWrapper> message_center_bubble_; |
scoped_ptr<message_center::MessagePopupCollection> popup_collection_; |
+ bool shown_status_balloon_; |
StatusIcon* status_icon_; |
bool message_center_visible_; |
scoped_ptr<MessageCenterTray> message_center_tray_; |