|
sync compositor: Merge input path with chrome
Use chrome's async input delivery path in Android WebView. See bug
for potential incompatibility risk. Existing code path is not removed
in case compatibility is an issue.
Refactor out ui::SynchronousInputHandlerProxy parts from
InputHandlerManagerClient into a separate interface so that sync
compositor can use SynchronousInputHandlerProxy even without
routing input synchronously. Then just stop filtering input events in
sync compositor, hook up overscroll, and everything just works.
Tests:
testNoSpuriousOverScrolls requires synchronous input to maintain
the property that a single scroll call happens. Asynchronously the
test is not valid
AwContents.zoomIn is no longer synchronous which breaks
testPinchZoomUpdatesScrollRangeSynchronously. Can fix this
independently if this becomes a problem later.
BUG= 545628
Committed: https://crrev.com/de5b75b1ccd0ef7f478318d805b3ba1c8ebf7130
Cr-Commit-Position: refs/heads/master@{#380563}
Total comments: 8
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+188 lines, -131 lines) |
Patch |
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
|
View
|
1
2
3
|
7 chunks |
+10 lines, -41 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/util/AwTestTouchUtils.java
|
View
|
1
2
3
|
2 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_factory_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_input_event_filter.h
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_input_event_filter.cc
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_base.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_base.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_host.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/synchronous_compositor_host.cc
|
View
|
1
2
3
|
5 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_factory.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_filter.h
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/android/synchronous_compositor_filter.cc
|
View
|
1
|
2 chunks |
+26 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_event_filter.h
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_event_filter.cc
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_event_filter_unittest.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_handler_manager.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_handler_manager.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/input/input_handler_manager_client.h
|
View
|
1
2
3
4
|
2 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
Total messages: 40 (17 generated)
|