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

Unified Diff: content/child/touch_fling_gesture_curve.h

Issue 586933003: fling: Remove a bunch of code for configuring fling curves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 6 years, 3 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 | « content/child/fling_curve_configuration.cc ('k') | content/child/touch_fling_gesture_curve.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/touch_fling_gesture_curve.h
diff --git a/content/child/touch_fling_gesture_curve.h b/content/child/touch_fling_gesture_curve.h
index 555fc740dadaa7dfac9301e9e6d94ce4e374bc3b..d8c449550b20b9c3f13b46f76a526d333d75290e 100644
--- a/content/child/touch_fling_gesture_curve.h
+++ b/content/child/touch_fling_gesture_curve.h
@@ -26,7 +26,6 @@ class TouchFlingGestureCurve : public blink::WebGestureCurve {
static CONTENT_EXPORT WebGestureCurve* Create(
const blink::WebFloatPoint& initial_velocity,
- float p0, float p1, float p2,
const blink::WebSize& cumulativeScroll);
virtual bool apply(double monotonicTime,
@@ -34,15 +33,11 @@ class TouchFlingGestureCurve : public blink::WebGestureCurve {
private:
TouchFlingGestureCurve(const blink::WebFloatPoint& initial_velocity,
- float p0,
- float p1,
- float p2,
const blink::WebSize& cumulativeScroll);
virtual ~TouchFlingGestureCurve();
blink::WebFloatPoint displacement_ratio_;
blink::WebFloatSize cumulative_scroll_;
- float coefficients_[3];
float time_offset_;
float curve_duration_;
float position_offset_;
« no previous file with comments | « content/child/fling_curve_configuration.cc ('k') | content/child/touch_fling_gesture_curve.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698