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

Unified Diff: third_party/WebKit/public/web/WebInputEvent.h

Issue 1710033002: Add scrollDelta units to GestureScrollEnd. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners_3
Patch Set: Created 4 years, 10 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 b67617a10bfeae560b2d88079ded95f9477cd84f..3be5b18ebb24d3d90a822ec613be11e02767e113 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -533,6 +533,12 @@ public:
} scrollUpdate;
struct {
+ // The original delta units the scrollBegin and scrollUpdates
+ // were sent as.
+ ScrollUnits deltaUnits;
+ } scrollEnd;
+
+ struct {
float velocityX;
float velocityY;
// If true, this event will skip hit testing to find a scroll

Powered by Google App Engine
This is Rietveld 408576698