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

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

Issue 1358263002: [Android] Support double-tap selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix aura 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_provider_config_helper.cc
diff --git a/ui/events/gesture_detection/gesture_provider_config_helper.cc b/ui/events/gesture_detection/gesture_provider_config_helper.cc
index 6b1dad0932b2ba91144d13da529a165cba86941e..8368067c57f06b5dbeeaa63c1065ab64cbfcfdaa 100644
--- a/ui/events/gesture_detection/gesture_provider_config_helper.cc
+++ b/ui/events/gesture_detection/gesture_provider_config_helper.cc
@@ -41,6 +41,7 @@ GestureDetector::Config BuildGestureDetectorConfig(
gesture_config.max_distance_for_two_finger_tap_in_pixels();
config.two_finger_tap_timeout = base::TimeDelta::FromMilliseconds(
gesture_config.max_touch_down_duration_for_click_in_ms());
+ config.single_tap_repeat_length = gesture_config.max_tap_count();
config.velocity_tracker_strategy = gesture_config.velocity_tracker_strategy();
return config;
}

Powered by Google App Engine
This is Rietveld 408576698