| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index 5f0d55c50d45d4bf4ca433e02bd9c70548fe9a68..dfe1cc4191e6d58da2d4ce7c124d5d2d63035a9b 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -582,6 +582,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // does nothing. Override as needed.
|
| virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event);
|
|
|
| + // This method is invoked for each GestureEvent recognized from GestureManager
|
| + // Default implementation does nothing. Override as needed.
|
| + virtual ui::GestureStatus OnGestureEvent(const GestureEvent& event);
|
| +
|
| // Set the MouseHandler for a drag session.
|
| //
|
| // A drag session is a stream of mouse events starting
|
| @@ -1257,6 +1261,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // the result of OnTouchEvent.
|
| ui::TouchStatus ProcessTouchEvent(const TouchEvent& event);
|
|
|
| + // GestureManager will invoke this with incoming GestureEvents. Returns the
|
| + // the result of OnGestureEvent.
|
| + ui::GestureStatus ProcessGestureEvent(const GestureEvent& event);
|
| +
|
| // Accelerators --------------------------------------------------------------
|
|
|
| // Registers this view's keyboard accelerators that are not registered to
|
|
|