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

Unified Diff: chrome/browser/ui/views/download/download_shelf_context_menu_view.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/download/download_shelf_context_menu_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc b/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc
index 7ada929e759981804e43d9643627c0feea35ab27..2c9b4c88c22f6c8e2fa1d33515d5e50df956f531 100644
--- a/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_context_menu_view.cc
@@ -30,8 +30,7 @@ void DownloadShelfContextMenuView::Run(
menu_runner_.reset(new views::MenuRunner(
menu_model,
- views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU |
- views::MenuRunner::ASYNC,
+ views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU,
base::Bind(&DownloadShelfContextMenuView::OnMenuClosed,
base::Unretained(this), on_menu_closed_callback)));

Powered by Google App Engine
This is Rietveld 408576698