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

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

Issue 868823002: Expose double-tap platform support via ui::GestureConfiguration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix propagation Created 5 years, 11 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/events/gesture_detection/gesture_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8297aaed6dd78df5c03afe362af5ffe463b9548d..6b1dad0932b2ba91144d13da529a165cba86941e 100644
--- a/ui/events/gesture_detection/gesture_provider_config_helper.cc
+++ b/ui/events/gesture_detection/gesture_provider_config_helper.cc
@@ -62,6 +62,8 @@ GestureProvider::Config BuildGestureProviderConfig(
config.gesture_detector_config = BuildGestureDetectorConfig(gesture_config);
config.scale_gesture_detector_config =
BuildScaleGestureDetectorConfig(gesture_config);
+ config.double_tap_support_for_platform_enabled =
+ gesture_config.double_tap_enabled();
config.gesture_begin_end_types_enabled =
gesture_config.gesture_begin_end_types_enabled();
config.min_gesture_bounds_length = gesture_config.min_gesture_bounds_length();
« no previous file with comments | « ui/events/gesture_detection/gesture_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698