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

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: Refactor and rename 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: 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 63837299dabd7772bda81521075d9656d6c3f11a..e9ac846d6494329be5afa2367a23f3e4dec02548 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -633,6 +633,9 @@ public:
// touch-point has moved (by whatever amount).
bool movedBeyondSlopRegion;
+ // We will force the touch starts to be passive when during an ative fling animation.
+ bool shouldForceBePassive;
dtapuska 2016/05/05 20:22:21 Combining this change with https://codereview.chro
tdresser 2016/05/06 19:01:31 Let's just call this "dispatchedDuringFling", and
+
// A unique identifier for the touch event.
uint32_t uniqueTouchEventId;
@@ -641,6 +644,7 @@ public:
, touchesLength(0)
, dispatchType(Blocking)
, movedBeyondSlopRegion(false)
+ , shouldForceBePassive(false)
, uniqueTouchEventId(0)
{
}

Powered by Google App Engine
This is Rietveld 408576698