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

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

Issue 872633005: Stop sending an async touchmove for the app slop region (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment Created 5 years, 11 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/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 3c3436af30c98022e80a4299ede90c65bedb99e8..a1fe979093f3b5752ab52f65746f43e0486cdd9b 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -204,6 +204,10 @@ class CONTENT_EXPORT TouchEventQueue {
// ack after forwarding a touch event to the client.
bool dispatching_touch_;
+ // Whether we're in the scope of a |ProcessTouchAck| call. Used to defer
+ // sending async touchmove's, avoiding contention with touch ack side-effects.
+ bool processing_touch_ack_;
+
// Whether the renderer has at least one touch handler.
bool has_handlers_;

Powered by Google App Engine
This is Rietveld 408576698