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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 1302 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
1303 // Enables support to debug printing subsystem. | 1303 // Enables support to debug printing subsystem. |
1304 const char kDebugPrint[] = "debug-print"; | 1304 const char kDebugPrint[] = "debug-print"; |
1305 #endif | 1305 #endif |
1306 | 1306 |
1307 #if defined(ENABLE_TASK_MANAGER) | 1307 #if defined(ENABLE_TASK_MANAGER) |
1308 // Disables the new implementation of the task manager. | 1308 // Disables the new implementation of the task manager. |
1309 const char kDisableNewTaskManager[] = "disable-new-task-manager"; | 1309 const char kDisableNewTaskManager[] = "disable-new-task-manager"; |
1310 #endif // defined(ENABLE_TASK_MANAGER) | 1310 #endif // defined(ENABLE_TASK_MANAGER) |
1311 | 1311 |
| 1312 #if defined(ENABLE_WAYLAND_SERVER) |
| 1313 // Enables Wayland display server support. |
| 1314 const char kEnableWaylandServer[] = "enable-wayland-server"; |
| 1315 #endif |
| 1316 |
1312 #if defined(OS_ANDROID) | 1317 #if defined(OS_ANDROID) |
1313 // Sets the threshold for when to disable auto-hiding the toolbar. If the | 1318 // Sets the threshold for when to disable auto-hiding the toolbar. If the |
1314 // device's width and height are above the threshold, the toolbar will never | 1319 // device's width and height are above the threshold, the toolbar will never |
1315 // be hidden due to scrolling. It will still be hidden if page contents go | 1320 // be hidden due to scrolling. It will still be hidden if page contents go |
1316 // fullscreen. | 1321 // fullscreen. |
1317 const char kDisableAutoHidingToolbarThreshold[] = | 1322 const char kDisableAutoHidingToolbarThreshold[] = |
1318 "disable-auto-hiding-toolbar-threshold"; | 1323 "disable-auto-hiding-toolbar-threshold"; |
1319 #endif // defined(OS_ANDROID) | 1324 #endif // defined(OS_ANDROID) |
1320 | 1325 |
1321 bool AboutInSettingsEnabled() { | 1326 bool AboutInSettingsEnabled() { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 | 1376 |
1372 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1378 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1374 // | 1379 // |
1375 // You were going to just dump your switches here, weren't you? Instead, please | 1380 // You were going to just dump your switches here, weren't you? Instead, please |
1376 // put them in alphabetical order above, or in order inside the appropriate | 1381 // put them in alphabetical order above, or in order inside the appropriate |
1377 // ifdef at the bottom. The order should match the header. | 1382 // ifdef at the bottom. The order should match the header. |
1378 // ----------------------------------------------------------------------------- | 1383 // ----------------------------------------------------------------------------- |
1379 | 1384 |
1380 } // namespace switches | 1385 } // namespace switches |
OLD | NEW |