Chromium Code Reviews| 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..6c3ae5d2ffc500155bc379d50350f76b8c119bbc 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); |
| @@ -81,6 +88,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_; |
|
sky
2013/06/20 17:22:01
I don't see you using this any where.
dewittj
2013/06/20 17:51:51
Done.
|
| StatusIcon* status_icon_; |
| bool message_center_visible_; |
| scoped_ptr<MessageCenterTray> message_center_tray_; |