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

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

Issue 10837329: gesture: Include velocity in scroll-update gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: ui/base/gestures/gesture_sequence.h
diff --git a/ui/base/gestures/gesture_sequence.h b/ui/base/gestures/gesture_sequence.h
index 3933ef7abec5b1715a3bead8dfdfd6dad494df7e..9827eb3152e32983d9508c45020be3d238ba7740 100644
--- a/ui/base/gestures/gesture_sequence.h
+++ b/ui/base/gestures/gesture_sequence.h
@@ -104,7 +104,7 @@ class UI_EXPORT GestureSequence {
Gestures* gestures,
float x_velocity,
float y_velocity);
- void AppendScrollGestureUpdate(const GesturePoint& point,
+ void AppendScrollGestureUpdate(GesturePoint& point,
const gfx::Point& location,
Gestures* gestures);
@@ -140,7 +140,7 @@ class UI_EXPORT GestureSequence {
GesturePoint& point,
Gestures* gestures);
bool ScrollUpdate(const TouchEvent& event,
- const GesturePoint& point,
+ GesturePoint& point,
Gestures* gestures);
bool TouchDown(const TouchEvent& event,
const GesturePoint& point,
@@ -161,7 +161,7 @@ class UI_EXPORT GestureSequence {
const GesturePoint& point,
Gestures* gestures);
bool PinchUpdate(const TouchEvent& event,
- const GesturePoint& point,
+ GesturePoint& point,
Gestures* gestures);
bool PinchEnd(const TouchEvent& event,
const GesturePoint& point,

Powered by Google App Engine
This is Rietveld 408576698