| Index: ui/aura/root_window.h
|
| diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
|
| index d38a535e3296bbb95dbed52b0da4e2f97bc0bb5f..030774ec9cbd92e53ecc77d1c6ab460201c450f9 100644
|
| --- a/ui/aura/root_window.h
|
| +++ b/ui/aura/root_window.h
|
| @@ -39,6 +39,7 @@ class ScreenAura;
|
| class StackingClient;
|
| class ScrollEvent;
|
| class TouchEvent;
|
| +class GestureEvent;
|
|
|
| // RootWindow is responsible for hosting a set of windows.
|
| class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
|
| @@ -94,6 +95,11 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
|
| // Handles a touch event. Returns true if handled.
|
| bool DispatchTouchEvent(TouchEvent* event);
|
|
|
| + // Handles a gesture event. Returns true if handled. Unlike the other
|
| + // event-dispatching function (e.g. for touch/mouse/keyboard events), gesture
|
| + // events are dispatched from GestureRecognizer instead of RootWindowHost.
|
| + bool DispatchGestureEvent(GestureEvent* event);
|
| +
|
| // Called when the host changes size.
|
| void OnHostResized(const gfx::Size& size);
|
|
|
| @@ -156,6 +162,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
|
| bool ProcessMouseEvent(Window* target, MouseEvent* event);
|
| bool ProcessKeyEvent(Window* target, KeyEvent* event);
|
| ui::TouchStatus ProcessTouchEvent(Window* target, TouchEvent* event);
|
| + ui::GestureStatus ProcessGestureEvent(Window* target, GestureEvent* event);
|
|
|
| // Overridden from Window:
|
| virtual bool CanFocus() const OVERRIDE;
|
|
|