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

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: Rebased to account for re-naming to PaintedScrollbarLayer. 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/layers/painted_scrollbar_layer.h » ('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 6843a748ea81445c345df649141ed2627071fc32..dec7c25161a7be83afc9376c0a923377ae5c592f 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);
enne (OOO) 2013/08/28 18:22:08 I don't understand what changing kHideScrollbars t
wjmaclean 2013/08/28 20:51:46 Done. Removed. If there's any desire to control t
+ string hide_scrollbar_switch(cc::switches::kSolidColorScrollbarColor);
+ hide_scrollbar_switch.append("=0x00000000");
+ cl->AppendSwitch(hide_scrollbar_switch);
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/layers/painted_scrollbar_layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698