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

Unified Diff: ash/shell_context_menu.cc

Issue 10916180: Context menus on view elements should be positioned above the finger when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 3 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
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_context_menu.cc
diff --git a/ash/shell_context_menu.cc b/ash/shell_context_menu.cc
index e7041470b879197b5534055399a6a07ba2ca562f..5e190c3518d3597e8bd5efb24a7185076ae070ba 100644
--- a/ash/shell_context_menu.cc
+++ b/ash/shell_context_menu.cc
@@ -32,8 +32,8 @@ void ShellContextMenu::ShowMenu(views::Widget* widget,
menu_runner_.reset(new views::MenuRunner(menu_model_adapter.CreateMenu()));
if (menu_runner_->RunMenuAt(
widget, NULL, gfx::Rect(location, gfx::Size()),
- views::MenuItemView::TOPLEFT, views::MenuRunner::HAS_MNEMONICS) ==
- views::MenuRunner::MENU_DELETED)
+ views::MenuItemView::TOPLEFT, views::MenuRunner::HAS_MNEMONICS |
+ views::MenuRunner::CONTEXT_MENU) == views::MenuRunner::MENU_DELETED)
return;
}
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698