|
Make IsSolidColor() a property on CC scrollbar layers.
We need a mechanism to allow scrollbar layers to be "solid color" on a
per-scrollbar-layer basis, rather than the current all-on-none situation
controlled by a global parameter. This CL allows (1) forcing all scrollbar
layers to be solid-color via a global parameter, or (2) marking individual
scrollbar layers as solid-color via a constructor paremeter.
Existing unit tests for solid-color scrollbar layers have been parameterized to
test against both mechanisms.
BUG=none
Total comments: 7
Total comments: 5
Total comments: 3
Total comments: 1
Total comments: 4
Total comments: 6
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+216 lines, -84 lines) |
Patch |
 |
M |
cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/base/switches.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/base/switches.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+15 lines, -0 lines |
2 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+6 lines, -2 lines |
1 comment
|
Download
|
 |
M |
cc/layers/scrollbar_layer.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_impl.h
|
View
|
1
|
4 chunks |
+7 lines, -2 lines |
1 comment
|
Download
|
 |
M |
cc/layers/scrollbar_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+24 lines, -10 lines |
3 comments
|
Download
|
 |
M |
cc/layers/scrollbar_layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
14 chunks |
+43 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_scrollbar_layer.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_scrollbar_layer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_context.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_settings.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_settings.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/content_startup_flags.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/render_widget_compositor.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+36 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|