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

Unified Diff: ui/events/gesture_detection/gesture_configuration_android.cc

Issue 1358263002: [Android] Support double-tap selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix contextual search Created 5 years, 3 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
Index: ui/events/gesture_detection/gesture_configuration_android.cc
diff --git a/ui/events/gesture_detection/gesture_configuration_android.cc b/ui/events/gesture_detection/gesture_configuration_android.cc
index 54cb8c6798e3a514c871374690eff8f1704ce880..d679102a8bdb751fc1dbbe7feb102cbf39ca6211 100644
--- a/ui/events/gesture_detection/gesture_configuration_android.cc
+++ b/ui/events/gesture_detection/gesture_configuration_android.cc
@@ -37,6 +37,7 @@ class GestureConfigurationAndroid : public GestureConfiguration {
set_long_press_time_in_ms(ViewConfiguration::GetLongPressTimeoutInMs());
set_max_distance_between_taps_for_double_tap(
ViewConfiguration::GetDoubleTapSlopInDips());
+ set_max_tap_count(2);
set_max_fling_velocity(
ViewConfiguration::GetMaximumFlingVelocityInDipsPerSecond());
set_max_gesture_bounds_length(kMaxGestureBoundsLengthDips);
« no previous file with comments | « ui/events/gesture_detection/gesture_configuration.cc ('k') | ui/events/gesture_detection/gesture_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698