Index: ash/system/web_notification/web_notification_tray.h |
diff --git a/ash/system/web_notification/web_notification_tray.h b/ash/system/web_notification/web_notification_tray.h |
index cf0f8293490855e59d509795365075686b551dd9..0aaeb92d4be5ed70f45952989e34eb18f47c49be 100644 |
--- a/ash/system/web_notification/web_notification_tray.h |
+++ b/ash/system/web_notification/web_notification_tray.h |
@@ -139,10 +139,14 @@ class ASH_EXPORT WebNotificationTray : public internal::TrayBackgroundView { |
// Called when a notification is clicked on. Event is passed to the Delegate. |
void OnClicked(const std::string& id); |
+ bool menu_open() const { return menu_open_; } |
+ void set_menu_open(bool menu_open) { menu_open_ = menu_open; } |
+ |
private: |
class Bubble; |
friend class internal::WebNotificationButtonView; |
friend class internal::WebNotificationMenuModel; |
+ friend class internal::WebNotificationList; |
friend class internal::WebNotificationView; |
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotifications); |
FRIEND_TEST_ALL_PREFIXES(WebNotificationTrayTest, WebNotificationBubble); |
@@ -165,6 +169,7 @@ class ASH_EXPORT WebNotificationTray : public internal::TrayBackgroundView { |
views::Label* count_label_; |
Delegate* delegate_; |
bool show_message_center_on_unlock_; |
+ bool menu_open_; |
DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
}; |