|
Support minimum gesture bounds in GestureProvider
Some touch devices report either zero or unreasonably small touch sizes. While
this doesn't present a problem for gesture detection, it does affect the
behavior of the touch-derived gestures. For example, tap disambiguation is
prevented if the tap gesture's size is sufficiently small. As a workaround,
provide a platform-specific minimum gesture bounds length in GestureProvider.
On Android, this value is the same as was used before the unified gesture
detector, and on Aura we simply use half the default touch size.
BUG= 379876
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276550
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+157 lines, -115 lines) |
Patch |
 |
M |
content/browser/renderer_host/input/web_input_event_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_config_helper_android.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_config_helper_aura.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_event_data.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_event_data.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_event_data_packet.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider.h
|
View
|
1
2
3
4
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider.cc
|
View
|
1
2
3
4
|
16 chunks |
+45 lines, -51 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider_unittest.cc
|
View
|
1
2
3
4
5
6
|
19 chunks |
+55 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/touch_disposition_gesture_filter.cc
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_event_details.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_event_details.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_provider_aura.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 31 (0 generated)
|