| Index: views/view.h
|
| diff --git a/views/view.h b/views/view.h
|
| index 9d3bfbe9aa09ad57269d3a9e5a23d7cd96762e88..95c721d852fdaecb9a25cd064178b70b6e3514ca 100644
|
| --- a/views/view.h
|
| +++ b/views/view.h
|
| @@ -587,6 +587,11 @@ 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 bool OnGestureEvent(const GestureEvent& event);
|
| +
|
| +
|
| // Set the MouseHandler for a drag session.
|
| //
|
| // A drag session is a stream of mouse events starting
|
| @@ -1273,6 +1278,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // the result of OnTouchEvent.
|
| ui::TouchStatus ProcessTouchEvent(const TouchEvent& event);
|
|
|
| + // RootView will invoke this with incoming GestureEvents. Returns the
|
| + // the result of OnGestureEvent.
|
| + bool ProcessGestureEvent(const GestureEvent& event);
|
| +
|
| // Accelerators --------------------------------------------------------------
|
|
|
| // Registers this view's keyboard accelerators that are not registered to
|
|
|