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

Unified Diff: third_party/WebKit/public/web/WebInputEvent.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: Change comments in histogram 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
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebInputEvent.h
diff --git a/third_party/WebKit/public/web/WebInputEvent.h b/third_party/WebKit/public/web/WebInputEvent.h
index 9a6f9cf21449f09ecf6aa557fe529e1456dcf83c..cf84b29b5caa42c2fd9c7028149b1bfa14526315 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -633,6 +633,10 @@ public:
// touch-point has moved (by whatever amount).
bool movedBeyondSlopRegion;
+ // Whether there was an active fling animation when the event was
+ // dispatched.
+ bool dispatchedDuringFling;
+
// A unique identifier for the touch event.
uint32_t uniqueTouchEventId;
@@ -641,6 +645,7 @@ public:
, touchesLength(0)
, dispatchType(Blocking)
, movedBeyondSlopRegion(false)
+ , dispatchedDuringFling(false)
, uniqueTouchEventId(0)
{
}
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698