summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/input/touch_event_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/input/touch_event_queue.h')
-rw-r--r--chromium/content/browser/renderer_host/input/touch_event_queue.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/content/browser/renderer_host/input/touch_event_queue.h b/chromium/content/browser/renderer_host/input/touch_event_queue.h
index 23dda66c38b..358fae9c50d 100644
--- a/chromium/content/browser/renderer_host/input/touch_event_queue.h
+++ b/chromium/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);
};