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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 // By default, cookies are not allowed on file://. They are needed for testing, | 537 // By default, cookies are not allowed on file://. They are needed for testing, |
538 // for example page cycler and layout tests. See bug 1157243. | 538 // for example page cycler and layout tests. See bug 1157243. |
539 const char kEnableFileCookies[] = "enable-file-cookies"; | 539 const char kEnableFileCookies[] = "enable-file-cookies"; |
540 | 540 |
541 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will | 541 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
542 // try to figure out if pipelining can be used for a given host and request. | 542 // try to figure out if pipelining can be used for a given host and request. |
543 // Without this flag, pipelining will never be used. | 543 // Without this flag, pipelining will never be used. |
544 const char kEnableHttpPipelining[] = "enable-http-pipelining"; | 544 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
545 | 545 |
546 // Enables new WebRTC implementation of user image picker. | |
547 const char kEnableHtml5Camera[] = "enable-html5-camera"; | |
548 | |
549 // Enable Instant extended API. | 546 // Enable Instant extended API. |
550 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 547 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
551 | 548 |
552 // Enables IPv6 support, even if probes suggest that it may not be fully | 549 // Enables IPv6 support, even if probes suggest that it may not be fully |
553 // supported. Some probes may require internet connections, and this flag will | 550 // supported. Some probes may require internet connections, and this flag will |
554 // allow support independent of application testing. This flag overrides | 551 // allow support independent of application testing. This flag overrides |
555 // "disable-ipv6" which appears elswhere in this file. | 552 // "disable-ipv6" which appears elswhere in this file. |
556 const char kEnableIPv6[] = "enable-ipv6"; | 553 const char kEnableIPv6[] = "enable-ipv6"; |
557 | 554 |
558 /// Enables the IPC fuzzer for reliability testing | 555 /// Enables the IPC fuzzer for reliability testing |
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 | 1334 |
1338 #if defined(OS_ANDROID) | 1335 #if defined(OS_ANDROID) |
1339 // Use the tablet specific UI components when available. | 1336 // Use the tablet specific UI components when available. |
1340 const char kTabletUI[] = "tablet-ui"; | 1337 const char kTabletUI[] = "tablet-ui"; |
1341 #endif | 1338 #endif |
1342 | 1339 |
1343 #if defined(OS_CHROMEOS) | 1340 #if defined(OS_CHROMEOS) |
1344 // Disables gdata content provider. | 1341 // Disables gdata content provider. |
1345 const char kDisableGData[] = "disable-gdata"; | 1342 const char kDisableGData[] = "disable-gdata"; |
1346 | 1343 |
| 1344 // Disables new WebRTC implementation of user image picker. |
| 1345 const char kDisableHtml5Camera[] = "disable-html5-camera"; |
| 1346 |
1347 // Disables new OOBE/sign in design. | 1347 // Disables new OOBE/sign in design. |
1348 extern const char kDisableNewOobe[] = "disable-new-oobe"; | 1348 const char kDisableNewOobe[] = "disable-new-oobe"; |
1349 | 1349 |
1350 // Enables touchpad three-finger-click as middle button. | 1350 // Enables touchpad three-finger-click as middle button. |
1351 const char kEnableTouchpadThreeFingerClick[] | 1351 const char kEnableTouchpadThreeFingerClick[] |
1352 = "touchpad-enable-three-finger-click"; | 1352 = "touchpad-enable-three-finger-click"; |
1353 | 1353 |
1354 // Skips OAuth part of ChromeOS login process. | 1354 // Skips OAuth part of ChromeOS login process. |
1355 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1355 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
1356 | 1356 |
1357 // Enables device policy support on ChromeOS. | 1357 // Enables device policy support on ChromeOS. |
1358 const char kEnableDevicePolicy[] = "enable-device-policy"; | 1358 const char kEnableDevicePolicy[] = "enable-device-policy"; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1518 | 1518 |
1519 // ----------------------------------------------------------------------------- | 1519 // ----------------------------------------------------------------------------- |
1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1520 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1521 // | 1521 // |
1522 // You were going to just dump your switches here, weren't you? Instead, please | 1522 // You were going to just dump your switches here, weren't you? Instead, please |
1523 // put them in alphabetical order above, or in order inside the appropriate | 1523 // put them in alphabetical order above, or in order inside the appropriate |
1524 // ifdef at the bottom. The order should match the header. | 1524 // ifdef at the bottom. The order should match the header. |
1525 // ----------------------------------------------------------------------------- | 1525 // ----------------------------------------------------------------------------- |
1526 | 1526 |
1527 } // namespace switches | 1527 } // namespace switches |
OLD | NEW |