Chromium Code Reviews| 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 8fb4b9301f3de3e1e55ceea3dafd8e5c44f2aa3e..a4c90de9b03361202ed96273b63a158cb491b14c 100644 |
| --- a/content/browser/renderer_host/input/touch_event_queue.h |
| +++ b/content/browser/renderer_host/input/touch_event_queue.h |
| @@ -60,6 +60,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; |
| @@ -86,6 +90,10 @@ 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. |
|
sadrul
2013/08/13 19:40:04
+ "This behaviour is currently enabled only on aur
Yufeng Shen (Slow to review)
2013/08/13 20:17:27
Done.
|
| + bool no_touch_move_to_renderer_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(TouchEventQueue); |
| }; |