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

Unified Diff: ui/events/gesture_detection/gesture_provider.h

Issue 468043003: Ignore min/max gesture bounds for mouse or stylus-derived gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GestureTextSelectorTest Created 6 years, 4 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.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index ed563a8a43f0ac7d3f0053ef72ef1897977ec303..4a54e59d64cd158da269b071bddc03a6224f343f 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -49,6 +49,8 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
// 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 or large touch sizes.
+ // Note that these bounds are only applied for touch or unknown tool types;
+ // mouse and stylus-derived gestures will not be affected.
// Both values default to 0 (disabled).
float min_gesture_bounds_length;
float max_gesture_bounds_length;
« no previous file with comments | « ui/events/gesture_detection/gesture_event_data_packet_unittest.cc ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698