| Index: ui/events/gesture_detection/gesture_config_helper_android.cc
|
| diff --git a/ui/events/gesture_detection/gesture_config_helper_android.cc b/ui/events/gesture_detection/gesture_config_helper_android.cc
|
| index e37650a509188a60ffb9ef1bc3f6c156c1d44257..546cb84e1193635965d49523fcc19fc4a1da1226 100644
|
| --- a/ui/events/gesture_detection/gesture_config_helper_android.cc
|
| +++ b/ui/events/gesture_detection/gesture_config_helper_android.cc
|
| @@ -13,6 +13,10 @@ namespace ui {
|
| namespace {
|
| // TODO(jdduke): Adopt GestureConfiguration on Android, crbug/339203.
|
|
|
| +// This was the minimum tap/press size used on Android before the new gesture
|
| +// detection pipeline.
|
| +const float kMinGestureBoundsLengthDips = 24.f;
|
| +
|
| GestureDetector::Config DefaultGestureDetectorConfig(
|
| const gfx::Display& display) {
|
| GestureDetector::Config config;
|
| @@ -62,6 +66,7 @@ GestureProvider::Config DefaultGestureProviderConfig() {
|
| config.scale_gesture_detector_config =
|
| DefaultScaleGestureDetectorConfig(config.display);
|
| config.gesture_begin_end_types_enabled = false;
|
| + config.min_gesture_bounds_length = kMinGestureBoundsLengthDips;
|
| return config;
|
| }
|
|
|
|
|