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

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

Issue 2155243007: Turn Bookmark Menus Async (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge the pretarget handlers Created 4 years, 4 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/menu/menu_key_event_handler.cc ('k') | ui/views/controls/menu/menu_message_loop_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_message_loop.h
diff --git a/ui/views/controls/menu/menu_message_loop.h b/ui/views/controls/menu/menu_message_loop.h
index c6a0281652487749109e31cf226f3bf5e6e0d955..e84b650b765513fed3c71e6dc96eacc681fcaf91 100644
--- a/ui/views/controls/menu/menu_message_loop.h
+++ b/ui/views/controls/menu/menu_message_loop.h
@@ -35,17 +35,11 @@ class MenuMessageLoop {
gfx::NativeWindow window,
const gfx::Point& screen_loc);
- // Runs the platform specific bits of the message loop. If |nested_menu| is
- // true we're being asked to run a menu from within a menu (eg a context
- // menu).
- virtual void Run(MenuController*, Widget* owner, bool nested_menu) = 0;
+ // Runs the platform specific bits of the message loop.
+ virtual void Run() = 0;
// Quit an earlier call to Run().
virtual void QuitNow() = 0;
-
- // Clear any references to the owner widget that was passed into the previous
- // call to Run().
- virtual void ClearOwner() = 0;
};
} // namespace views
« no previous file with comments | « ui/views/controls/menu/menu_key_event_handler.cc ('k') | ui/views/controls/menu/menu_message_loop_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698