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

Unified Diff: public/web/WebInputEvent.h

Issue 789223002: New flingCancel flag to prevent fling boosting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More precise description of prevent boosting flag Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputEvent.h
diff --git a/public/web/WebInputEvent.h b/public/web/WebInputEvent.h
index 20d4785044c950bebc586ddb37100ed00def649b..172d15c9b92bb6779f13afe832bd42d3ee20781e 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -468,6 +468,12 @@ public:
} flingStart;
struct {
+ // If set to true, don't treat flingCancel
+ // as a part of fling boost events sequence.
+ bool preventBoosting;
+ } flingCancel;
+
+ struct {
float scale;
} pinchUpdate;
} data;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698