| Index: ui/events/gesture_detection/gesture_provider.h
|
| diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
|
| index e9407c7e699d5803dc1238461b8c0dd91570d55f..84a926902946422c671839e371bc0905b271cab4 100644
|
| --- a/ui/events/gesture_detection/gesture_provider.h
|
| +++ b/ui/events/gesture_detection/gesture_provider.h
|
| @@ -45,11 +45,12 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
|
| // removed touch point. Defaults to false.
|
| bool gesture_begin_end_types_enabled;
|
|
|
| - // The minimum size (both length and width, in dips) of the generated
|
| + // The min and max size (both length and width, in dips) of the generated
|
| // bounding box for all gesture types. This is useful for touch streams
|
| - // that may report zero or unreasonably small touch sizes.
|
| - // Defaults to 0.
|
| + // that may report zero or unreasonably small or large touch sizes.
|
| + // Both values default to 0 (disabled).
|
| float min_gesture_bounds_length;
|
| + float max_gesture_bounds_length;
|
| };
|
|
|
| GestureProvider(const Config& config, GestureProviderClient* client);
|
| @@ -129,6 +130,7 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
|
| const bool gesture_begin_end_types_enabled_;
|
|
|
| const float min_gesture_bounds_length_;
|
| + const float max_gesture_bounds_length_;
|
| };
|
|
|
| } // namespace ui
|
|
|