Chromium Code Reviews| Index: views/touchui/gesture_manager.h |
| diff --git a/views/touchui/gesture_manager.h b/views/touchui/gesture_manager.h |
| index 12fee961b7a75d23104c9b784dc49ad6398627d2..51ad8643570354533c385ab5eaca8a83ef68d081 100644 |
| --- a/views/touchui/gesture_manager.h |
| +++ b/views/touchui/gesture_manager.h |
| @@ -7,6 +7,7 @@ |
| #pragma once |
| #include "base/memory/singleton.h" |
| +#include "views/touchui/gesture_recognizer.h" |
| #include "views/view.h" |
| namespace ui { |
| @@ -48,6 +49,16 @@ class VIEWS_EXPORT GestureManager { |
| private: |
| friend struct DefaultSingletonTraits<GestureManager>; |
| + // Source view's RootView, This instance is not owned by GestureManager. |
| + // See ProcessTouchEventForGesture() for source definition. |
| + // Note: Simultaneous Gestures happening across two different RootViews are |
|
rjkroege
2011/10/27 23:10:07
in touchui, there is only one root view.
This wou
Gajen
2011/10/31 13:34:30
Discarded completely as GR is now derived from GM
|
| + // Not Recognized. Exception to this is TYPE_CHILD widget which still could |
| + // be NativeWidgetGtk. |
| + RootView* root_view_; |
| + |
| + // GestureRecognizer instance. |
| + GestureRecognizer gesture_recognizer_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(GestureManager); |
| }; |