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

Unified Diff: ui/base/gestures/gesture_point.h

Issue 10191006: gesture recognizer: Reset velocities of the fingers after a pinch-end/swipe-end. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months 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 | ui/base/gestures/gesture_point.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gestures/gesture_point.h
diff --git a/ui/base/gestures/gesture_point.h b/ui/base/gestures/gesture_point.h
index 9eee5b8721d8e51e641de3a112843b174f16d654..8ef28d69ae656c812ba9bbbd6295acc4b6444bb5 100644
--- a/ui/base/gestures/gesture_point.h
+++ b/ui/base/gestures/gesture_point.h
@@ -23,6 +23,8 @@ class GesturePoint {
// Resets various states.
void Reset();
+ void ResetVelocity();
+
// Updates some states when a Tap gesture has been recognized for this point.
void UpdateForTap();
« no previous file with comments | « no previous file | ui/base/gestures/gesture_point.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698