diff options
Diffstat (limited to 'chromium/content/common/input/synthetic_tap_gesture_params.cc')
-rw-r--r-- | chromium/content/common/input/synthetic_tap_gesture_params.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/content/common/input/synthetic_tap_gesture_params.cc b/chromium/content/common/input/synthetic_tap_gesture_params.cc index a9f91dae70f..c3bb8ffee18 100644 --- a/chromium/content/common/input/synthetic_tap_gesture_params.cc +++ b/chromium/content/common/input/synthetic_tap_gesture_params.cc @@ -8,7 +8,9 @@ namespace content { -SyntheticTapGestureParams::SyntheticTapGestureParams() : duration_ms(0) {} +// Set the default tap duration to 50ms to lie within the bounds of the Aura +// gesture recognizer for identifying clicks (currently 0.01s-0.80s). +SyntheticTapGestureParams::SyntheticTapGestureParams() : duration_ms(50) {} SyntheticTapGestureParams::SyntheticTapGestureParams( const SyntheticTapGestureParams& other) |