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

Side by Side Diff: cc/base/switches.cc

Issue 189433003: Remove --background-color-instead-of-checkerboard flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: backgroundcolorinsteadofcheckerboard: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/base/switches.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
11 11
12 // On platforms where checkerboards are used, prefer background colors instead
13 // of checkerboards.
14 const char kBackgroundColorInsteadOfCheckerboard[] =
15 "background-color-instead-of-checkerboard";
16
17 // Disables LCD text. 12 // Disables LCD text.
18 const char kDisableLCDText[] = "disable-lcd-text"; 13 const char kDisableLCDText[] = "disable-lcd-text";
19 14
20 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 15 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
21 16
22 // Disables layer-edge anti-aliasing in the compositor. 17 // Disables layer-edge anti-aliasing in the compositor.
23 const char kDisableCompositedAntialiasing[] = 18 const char kDisableCompositedAntialiasing[] =
24 "disable-composited-antialiasing"; 19 "disable-composited-antialiasing";
25 20
26 // Paint content on the main thread instead of the compositor thread. 21 // Paint content on the main thread instead of the compositor thread.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 if (command_line.HasSwitch(switches::kDisableMapImage)) 192 if (command_line.HasSwitch(switches::kDisableMapImage))
198 return false; 193 return false;
199 else if (command_line.HasSwitch(switches::kEnableMapImage)) 194 else if (command_line.HasSwitch(switches::kEnableMapImage))
200 return true; 195 return true;
201 196
202 return false; 197 return false;
203 } 198 }
204 199
205 } // namespace switches 200 } // namespace switches
206 } // namespace cc 201 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698