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

Unified Diff: ui/message_center/message_center_tray_delegate.h

Issue 114323002: Fixes the context menu for a notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix2 Created 7 years 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
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/message_center_tray_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_tray_delegate.h
diff --git a/ui/message_center/message_center_tray_delegate.h b/ui/message_center/message_center_tray_delegate.h
index bd5c8855d884c70157018d0ef60e5e0984b44123..d1d31ac23f07905a95adb0efc61668dbbceb2af3 100644
--- a/ui/message_center/message_center_tray_delegate.h
+++ b/ui/message_center/message_center_tray_delegate.h
@@ -37,6 +37,9 @@ class MESSAGE_CENTER_EXPORT MessageCenterTrayDelegate {
// Display the notifier settings as a bubble.
virtual bool ShowNotifierSettings() = 0;
+ // Returns true if the context menu for a notification is currently enabled.
+ virtual bool IsContextMenuEnabled() const = 0;
+
// Show a platform-specific UI that informs the user how to open the message
// center.
virtual void DisplayFirstRunBalloon() {}
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/message_center_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698