| Index: ui/base/gestures/gesture_configuration.h
|
| diff --git a/ui/base/gestures/gesture_configuration.h b/ui/base/gestures/gesture_configuration.h
|
| index db46d95571656cd5d11c4b533b98f535a3309d88..525ee3b12dc7ea08834daafd3944ef021174a56a 100644
|
| --- a/ui/base/gestures/gesture_configuration.h
|
| +++ b/ui/base/gestures/gesture_configuration.h
|
| @@ -26,6 +26,18 @@ class UI_EXPORT GestureConfiguration {
|
| return default_radius_;
|
| }
|
| static void set_default_radius(int radius) { default_radius_ = radius; }
|
| + static int fling_max_cancel_to_down_time_in_ms() {
|
| + return fling_max_cancel_to_down_time_in_ms_;
|
| + }
|
| + static void set_fling_max_cancel_to_down_time_in_ms(int val) {
|
| + fling_max_cancel_to_down_time_in_ms_ = val;
|
| + }
|
| + static int fling_max_tap_gap_time_in_ms() {
|
| + return fling_max_tap_gap_time_in_ms_;
|
| + }
|
| + static void set_fling_max_tap_gap_time_in_ms(int val) {
|
| + fling_max_tap_gap_time_in_ms_ = val;
|
| + }
|
| static double long_press_time_in_seconds() {
|
| return long_press_time_in_seconds_;
|
| }
|
| @@ -186,6 +198,14 @@ class UI_EXPORT GestureConfiguration {
|
| // forming an ET_GESTURE_TAP event.
|
| static int max_radius_;
|
|
|
| + // Maximum time between a GestureFlingCancel and a mousedown such that the
|
| + // mousedown is considered associated with the cancel event.
|
| + static int fling_max_cancel_to_down_time_in_ms_;
|
| +
|
| + // Maxium time between a mousedown/mouseup pair that is considered to be a
|
| + // suppressable tap.
|
| + static int fling_max_tap_gap_time_in_ms_;
|
| +
|
| static double long_press_time_in_seconds_;
|
| static double semi_long_press_time_in_seconds_;
|
| static double max_seconds_between_double_click_;
|
|
|