| Index: content/browser/renderer_host/input/touch_event_queue.h
|
| diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h
|
| index 23dda66c38bd70a0fb17eda0a2636b5fb6b3f0c1..358fae9c50d8d50f4cf227992c4c0c07341ca09d 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.h
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.h
|
| @@ -61,6 +61,10 @@ class TouchEventQueue {
|
| return touch_queue_.empty();
|
| }
|
|
|
| + void set_no_touch_move_to_renderer(bool value) {
|
| + no_touch_move_to_renderer_ = value;
|
| + }
|
| +
|
| private:
|
| friend class MockRenderWidgetHost;
|
| friend class ImmediateInputRouterTest;
|
| @@ -88,6 +92,11 @@ class TouchEventQueue {
|
| // Used to defer touch forwarding when ack dispatch triggers |QueueEvent()|.
|
| bool dispatching_touch_ack_;
|
|
|
| + // Don't send touch move events to renderer. This is enabled when the page
|
| + // is scrolling. This behaviour is currently enabled only on aura behind a
|
| + // flag.
|
| + bool no_touch_move_to_renderer_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
|
| };
|
|
|
|
|