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

Unified Diff: ui/views/controls/menu/menu_controller.h

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 | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_controller.h
diff --git a/ui/views/controls/menu/menu_controller.h b/ui/views/controls/menu/menu_controller.h
index fbd9f2885b05c20623a06b624802b666e4d58e09..5b4dd9f39e5bb9a3fd3d64596d3891910d67fcc9 100644
--- a/ui/views/controls/menu/menu_controller.h
+++ b/ui/views/controls/menu/menu_controller.h
@@ -82,14 +82,13 @@ class VIEWS_EXPORT MenuController
// Runs the menu at the specified location. If the menu was configured to
// block, the selected item is returned. If the menu does not block this
// returns NULL immediately.
- MenuItemView* Run(Widget* parent,
- MenuButton* button,
- MenuItemView* root,
- const gfx::Rect& bounds,
- MenuAnchorPosition position,
- bool context_menu,
- bool is_nested_drag,
- int* event_flags);
+ void Run(Widget* parent,
+ MenuButton* button,
+ MenuItemView* root,
+ const gfx::Rect& bounds,
+ MenuAnchorPosition position,
+ bool context_menu,
+ bool is_nested_drag);
// Whether or not Run blocks.
bool IsBlockingRun() const { return blocking_run_; }
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698