| Index: ui/events/gestures/gesture_configuration.h
|
| diff --git a/ui/events/gestures/gesture_configuration.h b/ui/events/gestures/gesture_configuration.h
|
| index a4bdcd3f4c22005412f33d1c451d0be916973d4b..61caadc9c4e2cba9790f8894a238cf168f4de63b 100644
|
| --- a/ui/events/gestures/gesture_configuration.h
|
| +++ b/ui/events/gestures/gesture_configuration.h
|
| @@ -199,6 +199,49 @@ class EVENTS_EXPORT GestureConfiguration {
|
| tab_scrub_activation_delay_in_ms_ = val;
|
| }
|
|
|
| + static double touchpad_fling_curve_alpha() {
|
| + return touchpad_fling_curve_alpha_;
|
| + }
|
| + static void set_touchpad_fling_curve_alpha(
|
| + double touchpad_fling_curve_alpha) {
|
| + touchpad_fling_curve_alpha_ = touchpad_fling_curve_alpha;
|
| + }
|
| + static double touchpad_fling_curve_beta() {
|
| + return touchpad_fling_curve_beta_;
|
| + }
|
| + static void set_touchpad_fling_curve_beta(
|
| + double touchpad_fling_curve_beta) {
|
| + touchpad_fling_curve_beta_ = touchpad_fling_curve_beta;
|
| + }
|
| + static double touchpad_fling_curve_gamma() {
|
| + return touchpad_fling_curve_gamma_;
|
| + }
|
| + static void set_touchpad_fling_curve_gamma(
|
| + double touchpad_fling_curve_gamma) {
|
| + touchpad_fling_curve_gamma_ = touchpad_fling_curve_gamma;
|
| + }
|
| + static double touchscreen_fling_curve_alpha() {
|
| + return touchscreen_fling_curve_alpha_;
|
| + }
|
| + static void set_touchscreen_fling_curve_alpha(
|
| + double touchscreen_fling_curve_alpha) {
|
| + touchscreen_fling_curve_alpha_ = touchscreen_fling_curve_alpha;
|
| + }
|
| + static double touchscreen_fling_curve_beta() {
|
| + return touchscreen_fling_curve_beta_;
|
| + }
|
| + static void set_touchscreen_fling_curve_beta(
|
| + double touchscreen_fling_curve_beta) {
|
| + touchscreen_fling_curve_beta_ = touchscreen_fling_curve_beta;
|
| + }
|
| + static double touchscreen_fling_curve_gamma() {
|
| + return touchscreen_fling_curve_gamma_;
|
| + }
|
| + static void set_touchscreen_fling_curve_gamma(
|
| + double touchscreen_fling_curve_gamma) {
|
| + touchscreen_fling_curve_gamma_ = touchscreen_fling_curve_gamma;
|
| + }
|
| +
|
| private:
|
| // These are listed in alphabetical order ignoring underscores, to
|
| // align with the associated list of preferences in
|
| @@ -252,6 +295,14 @@ class EVENTS_EXPORT GestureConfiguration {
|
| // TODO(davemoore): Move into chrome/browser/ui.
|
| static int tab_scrub_activation_delay_in_ms_;
|
|
|
| + // Fling curve params
|
| + static double touchpad_fling_curve_alpha_;
|
| + static double touchpad_fling_curve_beta_;
|
| + static double touchpad_fling_curve_gamma_;
|
| + static double touchscreen_fling_curve_alpha_;
|
| + static double touchscreen_fling_curve_beta_;
|
| + static double touchscreen_fling_curve_gamma_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GestureConfiguration);
|
| };
|
|
|
|
|