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

Unified Diff: ui/app_list/views/app_list_menu_views.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: ui/app_list/views/app_list_menu_views.cc
diff --git a/ui/app_list/views/app_list_menu_views.cc b/ui/app_list/views/app_list_menu_views.cc
index 1f458809d4f48c73daa5e8c4ede9d371fa769e1e..0eb853607f01c9c0aaad8f34a0b4f88f779d0415 100644
--- a/ui/app_list/views/app_list_menu_views.cc
+++ b/ui/app_list/views/app_list_menu_views.cc
@@ -138,7 +138,8 @@ void AppListMenuViews::RunMenuAt(views::MenuButton* button,
const gfx::Point& point) {
ignore_result(menu_runner_->RunMenuAt(button->GetWidget(), button,
gfx::Rect(point, gfx::Size()),
- MenuItemView::TOPRIGHT, 0));
+ MenuItemView::TOPRIGHT,
+ ui::MENU_SOURCE_NONE, 0));
}
void AppListMenuViews::Cancel() {

Powered by Google App Engine
This is Rietveld 408576698