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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 12297009: cc: SolidColorQuad-based scrollbars for Android [M25] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DCHECK failure in test by creating render surface Created 7 years, 10 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
« no previous file with comments | « cc/scrollbar_layer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 5d58f5244cddae7b9ce7f2721489ff7a25ca412e..37b74204a28cc95469348f3f1ca21902774662ef 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -139,6 +139,9 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create(
settings.canUseLCDText = false;
settings.maxPartialTextureUpdates = 0;
settings.useLinearFadeScrollbarAnimator = true;
+ settings.solidColorScrollbars = true;
+ settings.solidColorScrollbarColor = SkColorSetARGB(128, 128, 128, 128);
+ settings.solidColorScrollbarThicknessDIP = 3;
#endif
if (!comp->initialize(settings))
« no previous file with comments | « cc/scrollbar_layer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698