|
Add initial CC support for scroll-blocks-on
When 'scroll-blocks-on: scroll-event' is applied anywhere in the scroll ancestor tree where is a scroll event handler, force the scroll to be executed on the main thread. Note that this is still experimental. We'll be at least adding a timeout mechanism to this to mitigate the risk of improper usage.
When 'scroll-blocks-on: wheel-event' is NOT applied (it's on by default), ignore the existence of wheel event handlers (allowing scrolling to run freely on impl).
When 'scroll-blocks-on: start-touch' is NOT applied (it's on by default), suppress sending touch events to blink. Eventually we'll make this smarter - sending async touch events that don't block scroll.
Depends on blink change https://src.chromium.org/viewvc/blink?view=rev&revision=188230
BUG= 347272
Committed: https://crrev.com/18779d82a7f4a3ca040f247c8454c16b7cfc235b
Cr-Commit-Position: refs/heads/master@{#314765}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+341 lines, -39 lines) |
Patch |
|
M |
cc/blink/web_layer_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/blink/web_layer_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/input/input_handler.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/layers/layer.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer_impl.h
|
View
|
1
2
3
4
5
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/layers/layer_impl.cc
|
View
|
1
2
3
4
|
6 chunks |
+26 lines, -2 lines |
0 comments
|
Download
|
|
A |
cc/layers/scroll_blocks_on.h
|
View
|
1
2
3
4
5
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/layers/scrollbar_layer_unittest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/test/layer_tree_json_parser.cc
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+33 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+161 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_scroll.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 11 (3 generated)
|