| Index: views/widget/root_view.h
|
| diff --git a/views/widget/root_view.h b/views/widget/root_view.h
|
| index 3a2afb990e909c08c6b63d31472c19536441f88d..a127ca542a80811981c5384d521fb328ec62f676 100644
|
| --- a/views/widget/root_view.h
|
| +++ b/views/widget/root_view.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "views/focus/focus_manager.h"
|
| #include "views/focus/focus_search.h"
|
| +#include "views/touchui/gesture_recognizer.h"
|
| #include "views/view.h"
|
|
|
| namespace ui {
|
| @@ -113,6 +114,11 @@ class VIEWS_EXPORT RootView : public View, public FocusTraversable {
|
| virtual void SetMouseHandler(View* new_mouse_handler) OVERRIDE;
|
| virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
|
|
|
| + // GestureManager invokes for recognized GestureEvents.
|
| + // Identify gesture handler view and passes the gesture events, returns true
|
| + // if gesture handler consumes else false.
|
| + bool ForwardGestureEvents(GestureRecognizer::Gestures* gestures);
|
| +
|
| protected:
|
| // Overridden from View:
|
| virtual void ViewHierarchyChanged(bool is_add, View* parent,
|
| @@ -178,6 +184,9 @@ class VIEWS_EXPORT RootView : public View, public FocusTraversable {
|
| // The view currently handling touch events.
|
| View* touch_pressed_handler_;
|
|
|
| + // The view currently handling gesture events.
|
| + View* gesture_handling_view_;
|
| +
|
| // Focus ---------------------------------------------------------------------
|
|
|
| // The focus search algorithm.
|
|
|