OLD | NEW |
---|---|
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 #include "base/logging.h" | |
reveman
2014/01/06 07:13:12
no need to add this include
sohanjg
2014/01/06 09:57:29
Done.
| |
8 | 9 |
9 namespace cc { | 10 namespace cc { |
10 namespace switches { | 11 namespace switches { |
11 | 12 |
12 // On platforms where checkerboards are used, prefer background colors instead | 13 // On platforms where checkerboards are used, prefer background colors instead |
13 // of checkerboards. | 14 // of checkerboards. |
14 const char kBackgroundColorInsteadOfCheckerboard[] = | 15 const char kBackgroundColorInsteadOfCheckerboard[] = |
15 "background-color-instead-of-checkerboard"; | 16 "background-color-instead-of-checkerboard"; |
16 | 17 |
17 // Disables LCD text. | 18 // Disables LCD text. |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
204 if (command_line.HasSwitch(switches::kDisableMapImage)) | 205 if (command_line.HasSwitch(switches::kDisableMapImage)) |
205 return false; | 206 return false; |
206 else if (command_line.HasSwitch(switches::kEnableMapImage)) | 207 else if (command_line.HasSwitch(switches::kEnableMapImage)) |
207 return true; | 208 return true; |
208 | 209 |
209 return false; | 210 return false; |
210 } | 211 } |
211 | 212 |
212 } // namespace switches | 213 } // namespace switches |
213 } // namespace cc | 214 } // namespace cc |
OLD | NEW |