|
[Android] Always insert a TouchCancel if window or tab focus is lost
This fixes a recent regression where loss of tab focus would cancel a gesture
sequence, but not the generating touch sequence. Resolve this by inserting a
synthetic touch cancellation event into the pipeline, which will cause
cancellation of both touch and gesture sequences.
BUG= 348528
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255030
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+181 lines, -165 lines) |
Patch |
 |
M |
content/browser/android/content_view_core_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+24 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/content_gesture_provider.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/content_gesture_provider.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/motion_event_android.h
|
View
|
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/motion_event_android.cc
|
View
|
|
4 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/motion_event_web.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/motion_event_web.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/web_input_event_builders_android.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/web_input_event_builders_android.cc
|
View
|
|
2 chunks |
+2 lines, -113 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/web_input_event_util.h
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/web_input_event_util.cc
|
View
|
|
3 chunks |
+91 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider_unittest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/mock_motion_event.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/mock_motion_event.cc
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/motion_event.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|