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

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

Issue 1923973002: Add UMA metric for tracking listeners for blocking touch while fling is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add fling flag to WebTouchEvent Created 4 years, 8 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 31a69fcb18eba261e87676d91e84ef21bace8421..5db421b62c83eaec30874796331c021b36a4bd86 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -242,6 +242,9 @@ class CONTENT_EXPORT TouchEventQueue {
// Event is saved to compare pointer positions for new touchmove events.
std::unique_ptr<blink::WebTouchEvent> last_sent_touchevent_;
+ // True if a GestureFlingStart happens and false after a GestureFlingCancel.
tdresser 2016/04/28 19:02:41 Have you confirmed that a GFC gets sent at the cor
lanwei 2016/04/28 20:25:18 Yes, I tested for both the main and compositor thr
+ bool fling_in_progress_;
+
DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_event_queue.cc » ('j') | third_party/WebKit/public/web/WebInputEvent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698