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

Unified Diff: ash/shelf/shelf_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
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.cc
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index 0bf43021889f5b52214e4b567a97096754c303d6..94259de5ff60969658357e70376c540f1328e5db 100644
--- a/ash/shelf/shelf_view.cc
+++ b/ash/shelf/shelf_view.cc
@@ -1649,7 +1649,7 @@ void ShelfView::ShowMenu(std::unique_ptr<ui::MenuModel> menu_model,
base::Bind(&ShelfView::OnMenuClosed, base::Unretained(this), ink_drop)));
closing_event_time_ = base::TimeTicks();
- int run_types = views::MenuRunner::ASYNC;
+ int run_types = 0;
if (context_menu)
run_types |= views::MenuRunner::CONTEXT_MENU;
launcher_menu_runner_.reset(
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698