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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1496 // Portal detection for new active networks. | 1496 // Portal detection for new active networks. |
1497 const char kDisableChromeCaptivePortalDetector[] = | 1497 const char kDisableChromeCaptivePortalDetector[] = |
1498 "disable-chrome-captive-portal-detector"; | 1498 "disable-chrome-captive-portal-detector"; |
1499 | 1499 |
1500 // Disables Google Drive integration. | 1500 // Disables Google Drive integration. |
1501 const char kDisableDrive[] = "disable-drive"; | 1501 const char kDisableDrive[] = "disable-drive"; |
1502 | 1502 |
1503 // Enables file prefetching in Google Drive Client for Chrome OS. | 1503 // Enables file prefetching in Google Drive Client for Chrome OS. |
1504 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; | 1504 const char kEnableDrivePrefetch[] = "enable-drive-prefetch"; |
1505 | 1505 |
| 1506 // Disable policy-configured local accounts. |
| 1507 const char kDisableLocalAccounts[] = "disable-local-accounts"; |
| 1508 |
1506 // Avoid doing expensive animations upon login. | 1509 // Avoid doing expensive animations upon login. |
1507 const char kDisableLoginAnimations[] = "disable-login-animations"; | 1510 const char kDisableLoginAnimations[] = "disable-login-animations"; |
1508 | 1511 |
1509 // Avoid doing animations upon oobe. | 1512 // Avoid doing animations upon oobe. |
1510 const char kDisableOobeAnimation[] = "disable-oobe-animation"; | 1513 const char kDisableOobeAnimation[] = "disable-oobe-animation"; |
1511 | 1514 |
1512 // Enables component extension that initializes background pages of | 1515 // Enables component extension that initializes background pages of |
1513 // certain hosted applications. | 1516 // certain hosted applications. |
1514 const char kEnableBackgroundLoader[] = "enable-background-loader"; | 1517 const char kEnableBackgroundLoader[] = "enable-background-loader"; |
1515 | 1518 |
1516 // Enables Chrome Captive Portal detector, which initiates Captive | 1519 // Enables Chrome Captive Portal detector, which initiates Captive |
1517 // Portal detection for new active networks. | 1520 // Portal detection for new active networks. |
1518 const char kEnableChromeCaptivePortalDetector[] = | 1521 const char kEnableChromeCaptivePortalDetector[] = |
1519 "enable-chrome-captive-portal-detector"; | 1522 "enable-chrome-captive-portal-detector"; |
1520 | 1523 |
1521 // Enables metadata prefetching in Google Drive Client for Chrome OS. | 1524 // Enables metadata prefetching in Google Drive Client for Chrome OS. |
1522 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; | 1525 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; |
1523 | 1526 |
1524 // Enables touchpad three-finger-click as middle button. | 1527 // Enables touchpad three-finger-click as middle button. |
1525 const char kEnableTouchpadThreeFingerClick[] | 1528 const char kEnableTouchpadThreeFingerClick[] |
1526 = "enable-touchpad-three-finger-click"; | 1529 = "enable-touchpad-three-finger-click"; |
1527 | 1530 |
1528 // Enables touchpad three-finger swipe. | 1531 // Enables touchpad three-finger swipe. |
1529 const char kEnableTouchpadThreeFingerSwipe[] | 1532 const char kEnableTouchpadThreeFingerSwipe[] |
1530 = "enable-touchpad-three-finger-swipe"; | 1533 = "enable-touchpad-three-finger-swipe"; |
1531 | 1534 |
1532 // Enable Kiosk mode for ChromeOS. | 1535 // Enable Kiosk mode for ChromeOS. |
1533 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1536 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
1534 | 1537 |
1535 // Disable policy-configured local accounts. | |
1536 const char kDisableLocalAccounts[] = "disable-local-accounts"; | |
1537 | |
1538 // Enables request of tablet site (via user agent override). | 1538 // Enables request of tablet site (via user agent override). |
1539 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1539 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
1540 | 1540 |
1541 // Enables static ip configuration. This flag should be removed when it's on by | 1541 // Enables static ip configuration. This flag should be removed when it's on by |
1542 // default. | 1542 // default. |
1543 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; | 1543 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; |
1544 | 1544 |
| 1545 // Enables setting TRUST_SSL for server and CA certificates imported from user |
| 1546 // ONC policy. This flag will be removed once the feature can be turned on by |
| 1547 // default, which needs additional UI work. |
| 1548 const char kEnableWebTrustCerts[] = "enable-web-trust-certs"; |
| 1549 |
1545 // Passed to Chrome on first boot. Not passed on restart after sign out. | 1550 // Passed to Chrome on first boot. Not passed on restart after sign out. |
1546 const char kFirstBoot[] = "first-boot"; | 1551 const char kFirstBoot[] = "first-boot"; |
1547 | 1552 |
1548 // Usually in browser tests the usual login manager bringup is skipped so that | 1553 // Usually in browser tests the usual login manager bringup is skipped so that |
1549 // tests can change how it's brought up. This flag disables that. | 1554 // tests can change how it's brought up. This flag disables that. |
1550 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; | 1555 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests"; |
1551 | 1556 |
1552 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for | 1557 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for |
1553 // Chromeboxes. | 1558 // Chromeboxes. |
1554 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; | 1559 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1706 | 1711 |
1707 // ----------------------------------------------------------------------------- | 1712 // ----------------------------------------------------------------------------- |
1708 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1713 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1709 // | 1714 // |
1710 // You were going to just dump your switches here, weren't you? Instead, please | 1715 // You were going to just dump your switches here, weren't you? Instead, please |
1711 // put them in alphabetical order above, or in order inside the appropriate | 1716 // put them in alphabetical order above, or in order inside the appropriate |
1712 // ifdef at the bottom. The order should match the header. | 1717 // ifdef at the bottom. The order should match the header. |
1713 // ----------------------------------------------------------------------------- | 1718 // ----------------------------------------------------------------------------- |
1714 | 1719 |
1715 } // namespace switches | 1720 } // namespace switches |
OLD | NEW |