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

Unified Diff: cc/base/switches.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
Index: cc/base/switches.cc
diff --git a/cc/base/switches.cc b/cc/base/switches.cc
index 2dac58b691147a9b073b87274984fad8c5f9099d..e80bddebc4874ad944ac6c13fd35229b532cfdeb 100644
--- a/cc/base/switches.cc
+++ b/cc/base/switches.cc
@@ -131,6 +131,10 @@ const char kUseMapImage[] = "use-map-image";
// Prevents the layer tree unit tests from timing out.
const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
+// Solid-color scrollbar color in hex ARGB format, e.g. 0x80808080.
+// The 0x/0X prefix is optional.
+const char kSolidColorScrollbarColor[] = "solid-color-scrollbar-color";
+
bool IsImplSidePaintingEnabled() {
const CommandLine& command_line = *CommandLine::ForCurrentProcess();

Powered by Google App Engine
This is Rietveld 408576698