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

Unified Diff: ui/events/gestures/gesture_configuration.cc

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 | « ui/events/gestures/gesture_configuration.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_configuration.cc
diff --git a/ui/events/gestures/gesture_configuration.cc b/ui/events/gestures/gesture_configuration.cc
index dd6188d4f17b0b654bd391cffcb03ad9f05bf9e6..1ce13d7f12ed67392b282f3c20baa56899ebfd56 100644
--- a/ui/events/gestures/gesture_configuration.cc
+++ b/ui/events/gestures/gesture_configuration.cc
@@ -40,15 +40,4 @@ int GestureConfiguration::scroll_debounce_interval_in_ms_ = 30;
int GestureConfiguration::scroll_debounce_interval_in_ms_ = 0;
#endif
-// Coefficients for a function that computes fling acceleration.
-// These are empirically determined defaults. Do not adjust without
-// additional empirical validation.
-float GestureConfiguration::fling_acceleration_curve_coefficients_[
- NumAccelParams] = {
- 0.0166667f,
- -0.0238095f,
- 0.0452381f,
- 0.8f
-};
-
} // namespace ui
« no previous file with comments | « ui/events/gestures/gesture_configuration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698