|
Remove indirection: setup scrollbar scroll layers in the scrollbar constructor
Scrollbar layers keep track of the layer id (soon: element id) that they
actually scroll. Before this patch, scrollbar layers were constructed
with no scroll layer id, then later updated to set the scroll layer id.
This patch removes this indirection and directly sets the scroll layer
in the constructor.
Removed functions:
VisualViewport::setScrollLayerOnScrollbars
WebScrollbarLayer::setScrollLayer
WebScrollbarLayerImpl::setScrollLayer
PaintedOverlayScrollbarLayer::SetScrollLayer
PaintedScrollbarLayer::SetScrollLayer
SolidColorScrollbarLayer::SetScrollLayer
BUG= 693740
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2728253002
Cr-Commit-Position: refs/heads/master@{#455105}
Committed: https://chromium.googlesource.com/chromium/src/+/a20ad732333dc9db2b545886acd16a11abdc5842
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+86 lines, -119 lines) |
Patch |
|
M |
cc/blink/web_compositor_support_impl.h
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/blink/web_compositor_support_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/blink/web_scrollbar_layer_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/blink/web_scrollbar_layer_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+23 lines, -30 lines |
0 comments
|
Download
|
|
M |
cc/layers/painted_overlay_scrollbar_layer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/layers/painted_overlay_scrollbar_layer.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/layers/painted_scrollbar_layer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
cc/layers/painted_scrollbar_layer.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
cc/layers/scrollbar_layer_interface.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/layers/scrollbar_layer_unittest.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
cc/layers/solid_color_scrollbar_layer.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/layers/solid_color_scrollbar_layer.cc
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/frame/VisualViewport.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
View
|
1
2
3
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
View
|
1
2
|
6 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/WebCompositorSupport.h
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/platform/WebScrollbarLayer.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 41 (27 generated)
|