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

Unified Diff: public/web/WebInputEvent.h

Issue 703983002: Add preventPropagation bit to GestureScrollUpdate event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert some unnecessary whitespace change Created 6 years, 1 month 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 9f4722a2053b6261cdfb42e59823436c0ac1dd5e..0172a116c222c2f8a720d3342bb3f3bd82836f68 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -456,6 +456,9 @@ public:
float deltaY;
float velocityX;
float velocityY;
+ // See comment at the top of the file for why an int is used here
+ // instead of a bool.
+ int preventPropagation;
} scrollUpdate;
struct {

Powered by Google App Engine
This is Rietveld 408576698