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

Unified Diff: chrome/browser/ui/views/extensions/media_galleries_dialog_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
Index: chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc
diff --git a/chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc b/chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc
index 51218d083dbcc238987e61e3ae1127e4058a7cbc..d8583a6d1055cc4a27303a52023c4aae0e6f7e19 100644
--- a/chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc
+++ b/chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc
@@ -302,8 +302,7 @@ void MediaGalleriesDialogViews::ShowContextMenu(const gfx::Point& point,
MediaGalleryPrefId id) {
context_menu_runner_.reset(new views::MenuRunner(
controller_->GetContextMenu(id),
- views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU |
- views::MenuRunner::ASYNC,
+ views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU,
base::Bind(&MediaGalleriesDialogViews::OnMenuClosed,
base::Unretained(this))));
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_context_menu_view.cc ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698