|
|
Replace layer id with Element id for tracking scrollbar animation controllers
This patch tracks scrollbar animation controllers with ElementIds instead
of layer ids. This requires tracking the scrolling element id in
scrollbar layers in addition to the scrolling layer id. A future patch
will remove scrolling_layer_id from ScrollbarLayerInterface.
This patch get us closer to removing scroll_node's owning_layer_id by
removing 3 callers of owning_layer_id (in LayerTreeHostImpl) and 2 callers
of LayerIdByElementId (in LayerTreeImpl).
BUG= 693740
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2816063003
Cr-Commit-Position: refs/heads/master@{#465480}
Committed: https://chromium.googlesource.com/chromium/src/+/faf2ee225610f256279fe77bf1413bb512dec3c2
Total comments: 8
Total comments: 5
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+296 lines, -199 lines) |
Patch |
 |
M |
cc/blink/web_scrollbar_layer_impl.cc
|
View
|
1
2
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/input/scrollbar_animation_controller_unittest.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/input/single_scrollbar_animation_controller_thinning_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/painted_overlay_scrollbar_layer.h
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/painted_overlay_scrollbar_layer.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/layers/painted_scrollbar_layer.h
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/painted_scrollbar_layer.cc
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_impl_base.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_impl_base.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -3 lines |
1 comment
|
Download
|
 |
M |
cc/layers/scrollbar_layer_interface.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_unittest.cc
|
View
|
1
2
3
|
17 chunks |
+35 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/layers/solid_color_scrollbar_layer.h
|
View
|
1
2
3
4
|
4 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/solid_color_scrollbar_layer.cc
|
View
|
1
2
3
4
|
5 chunks |
+20 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_painted_scrollbar_layer.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_painted_scrollbar_layer.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+39 lines, -35 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
|
17 chunks |
+50 lines, -38 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_context.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_damage.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
Total messages: 47 (31 generated)
|