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

Unified Diff: ui/aura/gestures/gesture_sequence.cc

Issue 9310031: Event smoothing in CrOS gesture recognizer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes for clang chromium-style-check. Created 8 years, 10 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 | « ui/aura/gestures/gesture_sequence.h ('k') | ui/aura/gestures/velocity_calculator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/gestures/gesture_sequence.cc
diff --git a/ui/aura/gestures/gesture_sequence.cc b/ui/aura/gestures/gesture_sequence.cc
index 630a9fbf9d232940a10577d98d8711563e0b1318..5c4e327a09ca2f3a03f8ef8fd806386180cf876d 100644
--- a/ui/aura/gestures/gesture_sequence.cc
+++ b/ui/aura/gestures/gesture_sequence.cc
@@ -239,10 +239,10 @@ bool GestureSequence::TouchDown(const TouchEvent& event,
}
bool GestureSequence::ScrollEnd(const TouchEvent& event,
- const GesturePoint& point, Gestures* gestures) {
+ GesturePoint& point, Gestures* gestures) {
if (point.IsInFlickWindow(event))
- AppendScrollGestureEnd(point, gestures, point.x_velocity(),
- point.y_velocity());
+ AppendScrollGestureEnd(point, gestures, point.XVelocity(),
+ point.YVelocity());
else
AppendScrollGestureEnd(point, gestures, 0.f, 0.f);
Reset();
« no previous file with comments | « ui/aura/gestures/gesture_sequence.h ('k') | ui/aura/gestures/velocity_calculator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698