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

Unified Diff: content/shell/browser/shell_web_contents_view_delegate_views.cc

Issue 2790773002: Cleanup MenuRunner API (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « components/renderer_context_menu/views/toolkit_delegate_views.cc ('k') | mash/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_web_contents_view_delegate_views.cc
diff --git a/content/shell/browser/shell_web_contents_view_delegate_views.cc b/content/shell/browser/shell_web_contents_view_delegate_views.cc
index fe2ea5cd20a5475dfe50e2645437b41ef387196a..11c9750a9c2cb2620a6d86550d5031219a333727 100644
--- a/content/shell/browser/shell_web_contents_view_delegate_views.cc
+++ b/content/shell/browser/shell_web_contents_view_delegate_views.cc
@@ -87,8 +87,7 @@ void ShellWebContentsViewDelegate::ShowContextMenu(
context_menu_model_.reset(new ContextMenuModel(web_contents_, params));
context_menu_runner_.reset(new views::MenuRunner(
- context_menu_model_.get(),
- views::MenuRunner::CONTEXT_MENU | views::MenuRunner::ASYNC));
+ context_menu_model_.get(), views::MenuRunner::CONTEXT_MENU));
views::Widget* widget = views::Widget::GetWidgetForNativeView(
web_contents_->GetTopLevelNativeWindow());
« no previous file with comments | « components/renderer_context_menu/views/toolkit_delegate_views.cc ('k') | mash/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698