Index: ui/base/gestures/gesture_configuration.h |
diff --git a/ui/base/gestures/gesture_configuration.h b/ui/base/gestures/gesture_configuration.h |
index 397dbc6c5c477eafb70282a58355a5d5b5f9521a..c6c632d042f746273b084c63b98cb75ab5103eef 100644 |
--- a/ui/base/gestures/gesture_configuration.h |
+++ b/ui/base/gestures/gesture_configuration.h |
@@ -25,6 +25,9 @@ class UI_EXPORT GestureConfiguration { |
static double long_press_time_in_seconds() { |
return long_press_time_in_seconds_; |
} |
+ static double short_long_press_time_in_seconds() { |
+ return short_long_press_time_in_seconds_; |
+ } |
static double max_distance_for_two_finger_tap_in_pixels() { |
return max_distance_for_two_finger_tap_in_pixels_; |
} |
@@ -37,6 +40,9 @@ class UI_EXPORT GestureConfiguration { |
static void set_long_press_time_in_seconds(double val) { |
long_press_time_in_seconds_ = val; |
} |
+ static void set_short_long_press_time_in_seconds(double val) { |
+ short_long_press_time_in_seconds_ = val; |
+ } |
static double max_seconds_between_double_click() { |
return max_seconds_between_double_click_; |
} |
@@ -147,6 +153,7 @@ class UI_EXPORT GestureConfiguration { |
static int max_radius_; |
static double long_press_time_in_seconds_; |
+ static double short_long_press_time_in_seconds_; |
static double max_seconds_between_double_click_; |
static double max_separation_for_gesture_touches_in_pixels_; |
static double max_swipe_deviation_ratio_; |