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