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 c04fb57d0dd4ccccd590d68748cd004125da7bcd..1bb7bd339708808c829164f5e8ffdda3ae12e406 100644 |
--- a/ui/views/controls/menu/menu_controller.h |
+++ b/ui/views/controls/menu/menu_controller.h |
@@ -151,6 +151,7 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
void OnMouseEntered(SubmenuView* source, const ui::MouseEvent& event); |
bool OnMouseWheel(SubmenuView* source, const ui::MouseWheelEvent& event); |
void OnGestureEvent(SubmenuView* source, ui::GestureEvent* event); |
+ void OnTouchEvent(SubmenuView* source, ui::TouchEvent* event); |
View* GetTooltipHandlerForPoint(SubmenuView* source, const gfx::Point& point); |
void ViewHierarchyChanged(SubmenuView* source, |
const View::ViewHierarchyChangedDetails& details); |
@@ -307,7 +308,7 @@ class VIEWS_EXPORT MenuController : public WidgetObserver { |
void SetSelection(MenuItemView* menu_item, int types); |
void SetSelectionOnPointerDown(SubmenuView* source, |
- const ui::LocatedEvent& event); |
+ const ui::LocatedEvent* event); |
void StartDrag(SubmenuView* source, const gfx::Point& location); |
// Key processing. |
@@ -502,7 +503,7 @@ 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); |
// Sets the drop target to new_item. |
void SetDropMenuItem(MenuItemView* new_item, |