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 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; | 1434 const char kEnableDriveMetadataPrefetch[] = "enable-drive-metadata-prefetch"; |
1435 | 1435 |
1436 // Enables touchpad three-finger-click as middle button. | 1436 // Enables touchpad three-finger-click as middle button. |
1437 const char kEnableTouchpadThreeFingerClick[] | 1437 const char kEnableTouchpadThreeFingerClick[] |
1438 = "enable-touchpad-three-finger-click"; | 1438 = "enable-touchpad-three-finger-click"; |
1439 | 1439 |
1440 // Enables touchpad three-finger swipe. | 1440 // Enables touchpad three-finger swipe. |
1441 const char kEnableTouchpadThreeFingerSwipe[] | 1441 const char kEnableTouchpadThreeFingerSwipe[] |
1442 = "enable-touchpad-three-finger-swipe"; | 1442 = "enable-touchpad-three-finger-swipe"; |
1443 | 1443 |
1444 // Skips OAuth part of ChromeOS login process. | |
1445 const char kSkipOAuthLogin[] = "skip-oauth-login"; | |
1446 | |
1447 // Enable Kiosk mode for ChromeOS. | 1444 // Enable Kiosk mode for ChromeOS. |
1448 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1445 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
1449 | 1446 |
1450 // Disable policy-configured local accounts. | 1447 // Disable policy-configured local accounts. |
1451 const char kDisableLocalAccounts[] = "disable-local-accounts"; | 1448 const char kDisableLocalAccounts[] = "disable-local-accounts"; |
1452 | 1449 |
1453 // Enables request of tablet site (via user agent override). | 1450 // Enables request of tablet site (via user agent override). |
1454 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1451 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
1455 | 1452 |
1456 // Enables static ip configuration. This flag should be removed when it's on by | 1453 // Enables static ip configuration. This flag should be removed when it's on by |
1457 // default. | 1454 // default. |
1458 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; | 1455 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; |
1459 | 1456 |
1460 // Passed to Chrome on first boot. Not passed on restart after sign out. | 1457 // Passed to Chrome on first boot. Not passed on restart after sign out. |
1461 const char kFirstBoot[] = "first-boot"; | 1458 const char kFirstBoot[] = "first-boot"; |
1462 | 1459 |
| 1460 // Forces driving authentication through the legacy OAuth1 flow instead of |
| 1461 // new flow based on OAuth2. |
| 1462 const char kForceOAuth1[] = "force-oauth1"; |
| 1463 |
1463 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for | 1464 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for |
1464 // Chromeboxes. | 1465 // Chromeboxes. |
1465 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; | 1466 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; |
1466 | 1467 |
1467 // If true, the Chromebook has a keyboard with a diamond key. | 1468 // If true, the Chromebook has a keyboard with a diamond key. |
1468 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key"; | 1469 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key"; |
1469 | 1470 |
1470 // Path for the screensaver used in Kiosk mode | 1471 // Path for the screensaver used in Kiosk mode |
1471 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; | 1472 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; |
1472 | 1473 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 | 1614 |
1614 // ----------------------------------------------------------------------------- | 1615 // ----------------------------------------------------------------------------- |
1615 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1616 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1616 // | 1617 // |
1617 // You were going to just dump your switches here, weren't you? Instead, please | 1618 // You were going to just dump your switches here, weren't you? Instead, please |
1618 // put them in alphabetical order above, or in order inside the appropriate | 1619 // put them in alphabetical order above, or in order inside the appropriate |
1619 // ifdef at the bottom. The order should match the header. | 1620 // ifdef at the bottom. The order should match the header. |
1620 // ----------------------------------------------------------------------------- | 1621 // ----------------------------------------------------------------------------- |
1621 | 1622 |
1622 } // namespace switches | 1623 } // namespace switches |
OLD | NEW |