|
|
Redefined the bit WebTouchEvent.causesScrollingIfUncanceled.
The "causesScrollingIfUncanceled" name is confusing because this bit
essentially means that a touchmove has exceeded the touch slop region.
A touchmove with this bit set doesn't necessarily cause scrolling,
even when uncanceled, e.g. when the touch sequence started on a node
with "touch-action:none".
This CL redefines the bit: this bit remains unset as long as the
touch-point is within the slop region, and is set after the first
touchmove beyond the slop region.
The bit is set by gesture-provider, and currently used in two places:
for touchmove slop suppression and for suppressing PointerEvent firing
for events that cause panning/zooming. This new definition was chosen
to be useful for both the current slop suppression and to enable us to
detect tap-like touchend events from blink (eg. for crbug.com/582140).
We are fixing the PointerEvent use case through crbug.com/567740.
BUG= 582140, 567740
Committed: https://crrev.com/620be1f0cde37e56b8f8eb9e238e3d28b6471fc7
Cr-Commit-Position: refs/heads/master@{#374204}
Total comments: 10
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -64 lines) |
Patch |
 |
M |
blimp/client/feature/compositor/blimp_input_manager.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/html_viewer/touch_handler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/test_runner/event_sender.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_emulator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue_unittest.cc
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/input/synthetic_web_input_event_builders.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/input/web_input_event_traits.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebInputEventConversion.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebInputEvent.h
|
View
|
1
2
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_event_dispatcher_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/blink/blink_event_util.cc
|
View
|
1
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/filtered_gesture_provider.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/filtered_gesture_provider.cc
|
View
|
1
2
3
|
5 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/filtered_gesture_provider_unittest.cc
|
View
|
1
2
|
1 chunk |
+85 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_provider_aura.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 41 (19 generated)
|