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 { |