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

Unified Diff: content/renderer/input/main_thread_event_queue.h

Issue 2233543002: Make first TouchStart and first TouchMove events on a flinging layer non-blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new fling Created 4 years, 4 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/renderer/input/main_thread_event_queue.h
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h
index 6b0bd9bd2818e0dfc88daf2dd53c39834312ac8c..0a6655a10d1e703c47d7c86e0b400acc728811de 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -134,6 +134,8 @@ class CONTENT_EXPORT MainThreadEventQueue
base::Lock event_queue_lock_;
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
+ // True if waiting on first touch move after a touch start.
+ bool waiting_for_first_touch_move_;
DISALLOW_COPY_AND_ASSIGN(MainThreadEventQueue);
};

Powered by Google App Engine
This is Rietveld 408576698