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

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: 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..85cb273208a65348ec467b25e7933af7c89bc231 100644
--- a/public/web/WebInputEvent.h
+++ b/public/web/WebInputEvent.h
@@ -468,6 +468,12 @@ public:
} flingStart;
struct {
+ // Don't treat flingCancel as a part of fling boost
Rick Byers 2014/12/10 19:01:01 Nit: Add "if true" since we don't want to imply th
+ // 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