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

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

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 7 years, 6 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.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index c428bead4606cbca34d4e27239eb13e45a09e276..a18781cc4a83a41cb3e02de56d19cea52bf20f22 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -314,6 +314,7 @@ void WebNotificationTray::ShowQuietModeMenu() {
NULL,
gfx::Rect(point, bounds().size()),
views::MenuItemView::BUBBLE_ABOVE,
+ ui::MENU_SOURCE_NONE,
sky 2013/06/17 16:08:19 Why the none here? Looks like the caller has an ev
varunjain 2013/06/17 20:13:55 Done.
views::MenuRunner::HAS_MNEMONICS) == views::MenuRunner::MENU_DELETED)
return;

Powered by Google App Engine
This is Rietveld 408576698