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

Unified Diff: public/web/WebInputEvent.h

Issue 1052433003: Allow postponed rail application for touch scrolling - blink side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix broken test. Created 5 years, 9 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: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index d212f6fe2a2a0e21cde6fe3a232b960849b1cad0..096b41476a5112a18b9d76fd2a78852a852c9dc0 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -173,7 +173,7 @@ public:
IsRight = 1 << 12,
};
- // The rail mode for a wheel event specifies the axis on which scrolling is
+ // The rail mode for an event specifies the axis on which scrolling is
// expected to stick. If this axis is set to Free, then scrolling is not
// stuck to any axis.
enum RailsMode {
@@ -480,11 +480,13 @@ public:
bool previousUpdateInSequencePrevented;
bool preventPropagation;
bool inertial;
+ RailsMode railsMode;
jdduke (slow) 2015/04/02 16:55:53 I can't say I'm thrilled with this change. Now, ev
} scrollUpdate;
struct {
float velocityX;
float velocityY;
+ RailsMode railsMode;
} flingStart;
struct {
« Source/web/WebViewImpl.h ('K') | « Source/web/tests/WebInputEventConversionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698