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

Unified Diff: ash/system/web_notification/web_notification_tray.h

Issue 10855113: Show extension settings for extension notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698