Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 1996143002: Deprecate use of user gestures during scroll-related touch events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/input_router_impl.h
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
index 1c2945c8337ef8ae05364243ddf8f8d316c3f861..39fe70870b7cea0dc46b15faa7c8a03a1ab8ed68 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -250,6 +250,10 @@ class CONTENT_EXPORT InputRouterImpl
// to avoid races in bookkeeping when starting a new fling.
int active_renderer_fling_count_;
+ // Whether the TouchScrollStarted event has been sent for the current
+ // gesture scroll yet.
+ bool touch_scroll_started_sent_;
+
MouseWheelEventQueue wheel_event_queue_;
TouchEventQueue touch_event_queue_;
GestureEventQueue gesture_event_queue_;

Powered by Google App Engine
This is Rietveld 408576698