summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/menu/menu_message_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/controls/menu/menu_message_loop.h')
-rw-r--r--ui/views/controls/menu/menu_message_loop.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/views/controls/menu/menu_message_loop.h b/ui/views/controls/menu/menu_message_loop.h
index 221b72d..d4d5633 100644
--- a/ui/views/controls/menu/menu_message_loop.h
+++ b/ui/views/controls/menu/menu_message_loop.h
@@ -29,6 +29,12 @@ class MenuMessageLoop {
// Create a platform specific instance.
static MenuMessageLoop* Create();
+ // Repost |event| to |window|.
+ // |screen_loc| is the event's location in screen coordinates.
+ static void RepostEventToWindow(const ui::LocatedEvent& event,
+ 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).
@@ -37,12 +43,6 @@ class MenuMessageLoop {
// Quit an earlier call to Run().
virtual void QuitNow() = 0;
- // Repost |event| to |window|.
- // |screen_loc| is the event's location in screen coordinates.
- virtual void RepostEventToWindow(const ui::LocatedEvent& event,
- gfx::NativeWindow window,
- const gfx::Point& screen_loc) = 0;
-
// Clear any references to the owner widget that was passed into the previous
// call to Run().
virtual void ClearOwner() = 0;