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

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: 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: 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..ae10c376a4094c68d7b73748d9b161d7b5e66156 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -636,12 +636,15 @@ public:
// A unique identifier for the touch event.
uint32_t uniqueTouchEventId;
+ bool isFlingInProgress;
dtapuska 2016/04/28 18:59:09 move this beside the other boolean and the struct
lanwei 2016/04/28 20:25:18 Nice, thanks!
+
WebTouchEvent()
: WebInputEvent(sizeof(WebTouchEvent))
, touchesLength(0)
, dispatchType(Blocking)
, movedBeyondSlopRegion(false)
, uniqueTouchEventId(0)
+ , isFlingInProgress(false)
{
}
};

Powered by Google App Engine
This is Rietveld 408576698