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

Unified Diff: android_webview/lib/main/aw_main_delegate.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
« no previous file with comments | « no previous file | cc/base/switches.h » ('j') | cc/trees/layer_tree_settings.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 6344b1fe758c977279945eed77ac6acc88500e84..af043412e5f5ce7c59dc284a199d9356b689d42d 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -56,7 +56,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
cl->AppendSwitch(cc::switches::kUseMapImage);
// WebView uses the Android system's scrollbars and overscroll glow.
- cl->AppendSwitch(switches::kHideScrollbars);
+ string hide_scrollbar_switch(cc::switches::kSolidColorScrollbarColor);
+ hide_scrollbar_switch.append("=0x00000000");
+ cl->AppendSwitch(hide_scrollbar_switch.c_str());
joth 2013/08/15 21:40:07 nit: c_str() not needed
wjmaclean 2013/08/16 13:34:16 Did not know that, thanks! Done.
cl->AppendSwitch(switches::kDisableOverscrollEdgeEffect);
// Not yet secure in single-process mode.
« no previous file with comments | « no previous file | cc/base/switches.h » ('j') | cc/trees/layer_tree_settings.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698