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

Unified Diff: chrome/browser/chromeos/login/language_switch_menu.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: chrome/browser/chromeos/login/language_switch_menu.cc
diff --git a/chrome/browser/chromeos/login/language_switch_menu.cc b/chrome/browser/chromeos/login/language_switch_menu.cc
index d4b73c2a5dc21a19431dad5549eae5025ea816ec..d4dab0f480a0dc8926b60f250e2db92ef570eb4c 100644
--- a/chrome/browser/chromeos/login/language_switch_menu.cc
+++ b/chrome/browser/chromeos/login/language_switch_menu.cc
@@ -184,7 +184,8 @@ void LanguageSwitchMenu::OnMenuButtonClicked(views::View* source,
if (menu_runner_->RunMenuAt(button->GetWidget(), button,
gfx::Rect(new_pt, gfx::Size()), views::MenuItemView::TOPLEFT,
- views::MenuRunner::HAS_MNEMONICS) == views::MenuRunner::MENU_DELETED)
+ ui::MENU_SOURCE_NONE, views::MenuRunner::HAS_MNEMONICS) ==
sky 2013/06/17 16:08:19 Why the none here?
varunjain 2013/06/17 20:13:55 This is one of the instances that cannot be fixed
+ views::MenuRunner::MENU_DELETED)
return;
}

Powered by Google App Engine
This is Rietveld 408576698