Index: ui/aura/window_event_dispatcher.h |
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h |
index 79ba3c7b2cbc17cf5c45f2994d6c21658cb90cc4..1a877f887349e889275e79c8b67a094e923e4e60 100644 |
--- a/ui/aura/window_event_dispatcher.h |
+++ b/ui/aura/window_event_dispatcher.h |
@@ -72,6 +72,11 @@ |
void DispatchCancelModeEvent(); |
+ // Handles a gesture event. Returns true if handled. Unlike the other |
+ // event-dispatching function (e.g. for touch/mouse/keyboard events), gesture |
+ // events are dispatched from GestureRecognizer instead of WindowTreeHost. |
+ void DispatchGestureEvent(ui::GestureEvent* event); |
+ |
// Dispatches a ui::ET_MOUSE_EXITED event at |point|. |
// TODO(beng): needed only for WTH::OnCursorVisibilityChanged(). |
void DispatchMouseExitAtPoint(const gfx::Point& point); |
@@ -179,7 +184,7 @@ |
// Overridden from ui::GestureEventHelper. |
virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; |
- virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE; |
+ virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; |
virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; |
// Overridden from WindowObserver: |