Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1432)

Unified Diff: cc/trees/layer_tree_settings.cc

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments; plumb scrollbar color via flag. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_settings.cc
diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc
index 62fd261ef8251a054c282a84d25ce12460a571ff..0ac856f7a1278467a0f4fabcc1298522102e137a 100644
--- a/cc/trees/layer_tree_settings.cc
+++ b/cc/trees/layer_tree_settings.cc
@@ -30,8 +30,7 @@ LayerTreeSettings::LayerTreeSettings()
scrollbar_linear_fade_delay_ms(300),
scrollbar_linear_fade_length_ms(300),
solid_color_scrollbars(false),
- solid_color_scrollbar_color(SK_ColorWHITE),
- solid_color_scrollbar_thickness_dip(-1),
+ solid_color_scrollbar_color(SkColorSetARGB(128, 128, 128, 128)),
aelias_OOO_until_Jul13 2013/08/15 21:22:32 Please set this back to SK_ColorWHITE so that plat
wjmaclean 2013/08/16 13:34:16 Done.
calculate_top_controls_position(false),
use_memory_management(true),
timeout_and_draw_when_animation_checkerboards(true),

Powered by Google App Engine
This is Rietveld 408576698