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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1351 bool NewTaskManagerEnabled() { | 1351 bool NewTaskManagerEnabled() { |
1352 #if defined(OS_MACOSX) | 1352 #if defined(OS_MACOSX) |
1353 return false; // The new task manager hasn't been adopted on Mac yet. | 1353 return false; // The new task manager hasn't been adopted on Mac yet. |
1354 #else | 1354 #else |
1355 return !base::CommandLine::ForCurrentProcess()->HasSwitch( | 1355 return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
1356 kDisableNewTaskManager); | 1356 kDisableNewTaskManager); |
1357 #endif // defined(OS_MACOSX) | 1357 #endif // defined(OS_MACOSX) |
1358 } | 1358 } |
1359 #endif // defined(ENABLE_TASK_MANAGER) | 1359 #endif // defined(ENABLE_TASK_MANAGER) |
1360 | 1360 |
| 1361 // Do not set a UA dependent background. |
| 1362 const char kNoUADependentBackground[] = "no-ua-dependent-background"; |
| 1363 |
1361 // ----------------------------------------------------------------------------- | 1364 // ----------------------------------------------------------------------------- |
1362 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1363 // | 1366 // |
1364 // You were going to just dump your switches here, weren't you? Instead, please | 1367 // You were going to just dump your switches here, weren't you? Instead, please |
1365 // put them in alphabetical order above, or in order inside the appropriate | 1368 // put them in alphabetical order above, or in order inside the appropriate |
1366 // ifdef at the bottom. The order should match the header. | 1369 // ifdef at the bottom. The order should match the header. |
1367 // ----------------------------------------------------------------------------- | 1370 // ----------------------------------------------------------------------------- |
1368 | 1371 |
1369 } // namespace switches | 1372 } // namespace switches |
OLD | NEW |