Index: public/web/WebInputEvent.h |
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h |
index 9f4722a2053b6261cdfb42e59823436c0ac1dd5e..6db55bb14b9957c39528adb9e57ed50cd6cb6dec 100644 |
--- a/public/web/WebInputEvent.h |
+++ b/public/web/WebInputEvent.h |
@@ -456,6 +456,14 @@ public: |
float deltaY; |
float velocityX; |
float velocityY; |
+ |
+ // Whether any previous GestureScrollUpdate in the current scroll |
+ // sequence was suppressed (e.g., the causal touchmove was |
+ // preventDefault'ed). This bit is particularly useful for |
+ // determining whether the observed scroll update sequence captures |
+ // the entirety of the generative motion. |
+ // See comment at the top for why an int is used here instead of a bool. |
+ int previousUpdateInSequencePrevented; |
} scrollUpdate; |
struct { |