| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "ui/events/gesture_detection/gesture_configuration.h" | 6 #include "ui/events/gesture_detection/gesture_configuration.h" |
| 7 | 7 |
| 8 namespace ui { | 8 namespace ui { |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 GestureConfiguration::GestureConfiguration() | 28 GestureConfiguration::GestureConfiguration() |
| 29 : default_radius_(25), | 29 : default_radius_(25), |
| 30 double_tap_enabled_(false), | 30 double_tap_enabled_(false), |
| 31 double_tap_timeout_in_ms_(400), | 31 double_tap_timeout_in_ms_(400), |
| 32 fling_touchpad_tap_suppression_enabled_(false), | 32 fling_touchpad_tap_suppression_enabled_(false), |
| 33 fling_touchscreen_tap_suppression_enabled_(false), | 33 fling_touchscreen_tap_suppression_enabled_(false), |
| 34 fling_max_cancel_to_down_time_in_ms_(400), | 34 fling_max_cancel_to_down_time_in_ms_(400), |
| 35 fling_max_tap_gap_time_in_ms_(200), | 35 fling_max_tap_gap_time_in_ms_(200), |
| 36 stylus_scale_enabled_(false), | 36 stylus_scale_enabled_(false), |
| 37 gesture_begin_end_types_enabled_(false), | 37 gesture_begin_end_types_enabled_(false), |
| 38 long_press_time_in_ms_(1000), | 38 long_press_time_in_ms_(500), |
| 39 max_distance_between_taps_for_double_tap_(20), | 39 max_distance_between_taps_for_double_tap_(20), |
| 40 max_tap_count_(3), | 40 max_tap_count_(3), |
| 41 max_distance_for_two_finger_tap_in_pixels_(300), | 41 max_distance_for_two_finger_tap_in_pixels_(300), |
| 42 max_fling_velocity_(17000.0f), | 42 max_fling_velocity_(17000.0f), |
| 43 max_gesture_bounds_length_(0), | 43 max_gesture_bounds_length_(0), |
| 44 max_separation_for_gesture_touches_in_pixels_(150), | 44 max_separation_for_gesture_touches_in_pixels_(150), |
| 45 max_swipe_deviation_angle_(20), | 45 max_swipe_deviation_angle_(20), |
| 46 max_time_between_double_click_in_ms_(700), | 46 max_time_between_double_click_in_ms_(700), |
| 47 max_touch_down_duration_for_click_in_ms_(800), | 47 max_touch_down_duration_for_click_in_ms_(800), |
| 48 max_touch_move_in_pixels_for_click_(15), | 48 max_touch_move_in_pixels_for_click_(15), |
| (...skipping 20 matching lines...) Expand all Loading... |
| 69 swipe_enabled_(false), | 69 swipe_enabled_(false), |
| 70 tab_scrub_activation_delay_in_ms_(200), | 70 tab_scrub_activation_delay_in_ms_(200), |
| 71 two_finger_tap_enabled_(false), | 71 two_finger_tap_enabled_(false), |
| 72 velocity_tracker_strategy_(VelocityTracker::Strategy::STRATEGY_DEFAULT) { | 72 velocity_tracker_strategy_(VelocityTracker::Strategy::STRATEGY_DEFAULT) { |
| 73 } | 73 } |
| 74 | 74 |
| 75 GestureConfiguration::~GestureConfiguration() { | 75 GestureConfiguration::~GestureConfiguration() { |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace ui | 78 } // namespace ui |
| OLD | NEW |