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 4325e64fe9a2b9fca5b6fb1a74ab34c1e5e202a5..12af0aa18746cde6c38d22e5239e00ee097dc491 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -503,7 +503,15 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
// On non-aura Windows, a new mouse event is generated and posted to |
// the window (if there is one) at the location of the event. On |
// aura, the event is reposted on the RootWindow. |
- void RepostEvent(SubmenuView* source, const ui::LocatedEvent* event); |
+ void RepostEvent(SubmenuView* source, |
+ const ui::LocatedEvent* event, |
+ const gfx::Point& screen_loc, |
+ gfx::NativeView native_view, |
+ gfx::NativeWindow window); |
+ |
+ // For Windows and Aura we repost an event which dismisses the |source| menu. |
+ // The menu is also canceled dependent on the target of the event. |
+ void RepostEventAndCancel(SubmenuView* source, const ui::LocatedEvent* event); |
// Sets the drop target to new_item. |
void SetDropMenuItem(MenuItemView* new_item, |