|
Change the non-blocking event queue to the main thread event queue.
A problem with the design in that blocking touch events could get
ahead of the non-blocking events was revealed in discussions. Change
the queue so that it processes all events going to the main thread.
It may elect to put blocking events in queues that it maintains so that
events are not re-ordered when dispatched to the main thread.
Force the ack behavior in the renderer to match the disposition
of the event. The benefit of this is uncancelable touch events
now can be coalesced if the main thread is behind.
BUG= 489802
Committed: https://crrev.com/46616920c2a0d3e15381fff7111143574c60c7d1
Cr-Commit-Position: refs/heads/master@{#381821}
Total comments: 14
Total comments: 14
Total comments: 5
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+498 lines, -423 lines) |
Patch |
|
M |
content/browser/android/in_process/synchronous_input_event_filter.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/android/in_process/synchronous_input_event_filter.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/input_router_impl.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/input_router_impl.cc
|
View
|
1
2
|
3 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/input_router_impl_perftest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/input_router_impl_unittest.cc
|
View
|
1
2
|
7 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/touch_event_queue.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/common/input/input_event_dispatch_type.h
|
View
|
1
|
1 chunk |
+11 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/common/input/web_input_event_traits.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/input/web_input_event_traits.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/public/test/render_view_test.cc
|
View
|
1
|
4 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
content/renderer/android/synchronous_compositor_filter.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/android/synchronous_compositor_filter.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_event_filter.h
|
View
|
1
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_event_filter.cc
|
View
|
1
|
5 chunks |
+19 lines, -24 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_event_filter_unittest.cc
|
View
|
1
2
|
11 chunks |
+100 lines, -27 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager_client.h
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
A |
content/renderer/input/main_thread_event_queue.h
|
View
|
1
2
3
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/input/main_thread_event_queue.cc
|
View
|
1
2
3
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
|
A + |
content/renderer/input/main_thread_event_queue_unittest.cc
|
View
|
1
|
6 chunks |
+33 lines, -22 lines |
0 comments
|
Download
|
|
D |
content/renderer/input/non_blocking_event_queue.h
|
View
|
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
|
D |
content/renderer/input/non_blocking_event_queue.cc
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
|
D |
content/renderer/input/non_blocking_event_queue_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/render_widget_input_handler.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/render_widget_input_handler_delegate.h
|
View
|
1
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/mus/compositor_mus_connection.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/mus/compositor_mus_connection_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/mus/render_widget_mus_connection.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/mus/render_widget_mus_connection.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_widget.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 36 (16 generated)
|