Chromium Code Reviews| Index: views/view.h |
| diff --git a/views/view.h b/views/view.h |
| index fa8c801bb58c970dfa7043488fd1a0ed17bf6906..83f411f66dedad071588d73a04f31b9f53e831f2 100644 |
| --- a/views/view.h |
| +++ b/views/view.h |
| @@ -588,6 +588,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 ui::GestureStatus OnGestureEvent(const GestureEvent& event); |
| + |
|
sadrul
2011/11/18 19:01:50
Remove extra new line.
Gajen
2011/11/21 15:56:50
Done.
|
| + |
| // Set the MouseHandler for a drag session. |
| // |
| // A drag session is a stream of mouse events starting |
| @@ -1272,6 +1277,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 |