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

Unified Diff: ui/base/gestures/gesture_configuration.h

Issue 10878085: Change default values of some gesture related constants (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 4 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/aura/test/aura_test_base.cc ('k') | ui/base/gestures/gesture_configuration.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gestures/gesture_configuration.h
diff --git a/ui/base/gestures/gesture_configuration.h b/ui/base/gestures/gesture_configuration.h
index 7deac423053fefd51a602ffc2b2ac692a6c3240a..d0b5cbc6ed0094f3bfff990372fb3da9ee2db4b9 100644
--- a/ui/base/gestures/gesture_configuration.h
+++ b/ui/base/gestures/gesture_configuration.h
@@ -73,6 +73,12 @@ class UI_EXPORT GestureConfiguration {
static void set_max_touch_move_in_pixels_for_click(double val) {
max_touch_move_in_pixels_for_click_ = val;
}
+ static double max_distance_between_taps_for_double_tap() {
+ return max_distance_between_taps_for_double_tap_;
+ }
+ static void set_max_distance_between_taps_for_double_tap(double val) {
+ max_distance_between_taps_for_double_tap_ = val;
+ }
static double min_distance_for_pinch_scroll_in_pixels() {
return min_distance_for_pinch_scroll_in_pixels_;
}
@@ -165,6 +171,7 @@ class UI_EXPORT GestureConfiguration {
static double max_swipe_deviation_ratio_;
static double max_touch_down_duration_in_seconds_for_click_;
static double max_touch_move_in_pixels_for_click_;
+ static double max_distance_between_taps_for_double_tap_;
static double min_distance_for_pinch_scroll_in_pixels_;
static double min_flick_speed_squared_;
static double min_pinch_update_distance_in_pixels_;
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/base/gestures/gesture_configuration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698