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

Unified Diff: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm

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
Index: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
diff --git a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
index b266e8c3d7ff4d50055a22a22349a784983d488c..f0c5b7f39d433d35b3639d2c421cedccb44dbaaf 100644
--- a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
+++ b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.mm
@@ -80,6 +80,11 @@ bool MessageCenterTrayBridge::ShowNotifierSettings() {
return false;
}
+bool MessageCenterTrayBridge::IsContextMenuEnabled() const {
+ // Cocoa message center doesn't support context menu yet.
+ return false;
+}
+
message_center::MessageCenterTray*
MessageCenterTrayBridge::GetMessageCenterTray() {
return tray_.get();

Powered by Google App Engine
This is Rietveld 408576698