| 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 kEnableTouchpadThreeFingerClick[] | 1434 const char kEnableTouchpadThreeFingerClick[] |
| 1435 = "enable-touchpad-three-finger-click"; | 1435 = "enable-touchpad-three-finger-click"; |
| 1436 | 1436 |
| 1437 // Enables touchpad three-finger swipe. | 1437 // Enables touchpad three-finger swipe. |
| 1438 const char kEnableTouchpadThreeFingerSwipe[] | 1438 const char kEnableTouchpadThreeFingerSwipe[] |
| 1439 = "enable-touchpad-three-finger-swipe"; | 1439 = "enable-touchpad-three-finger-swipe"; |
| 1440 | 1440 |
| 1441 // Skips OAuth part of ChromeOS login process. | 1441 // Skips OAuth part of ChromeOS login process. |
| 1442 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1442 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1443 | 1443 |
| 1444 // If true, show advanced keyboard options to overload the search key as a way | |
| 1445 // to access keys such as Home and End, similar to the "Function key" found | |
| 1446 // commonly on laptop keyboards. | |
| 1447 const char kEnableChromebookFunctionKey[] = | |
| 1448 "enable-chromebook-function-key"; | |
| 1449 | |
| 1450 // Enable Kiosk mode for ChromeOS. | 1444 // Enable Kiosk mode for ChromeOS. |
| 1451 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1445 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 1452 | 1446 |
| 1453 // Disable policy-configured local accounts. | 1447 // Disable policy-configured local accounts. |
| 1454 const char kDisableLocalAccounts[] = "disable-local-accounts"; | 1448 const char kDisableLocalAccounts[] = "disable-local-accounts"; |
| 1455 | 1449 |
| 1456 // Enables request of tablet site (via user agent override). | 1450 // Enables request of tablet site (via user agent override). |
| 1457 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1451 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 1458 | 1452 |
| 1459 // 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 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 #elif defined(OS_WIN) | 1623 #elif defined(OS_WIN) |
| 1630 return CommandLine::ForCurrentProcess()->HasSwitch( | 1624 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1631 switches::kEnableChromeStyleDialogs); | 1625 switches::kEnableChromeStyleDialogs); |
| 1632 #else | 1626 #else |
| 1633 return CommandLine::ForCurrentProcess()->HasSwitch( | 1627 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1634 switches::kEnableChromeStyleDialogs); | 1628 switches::kEnableChromeStyleDialogs); |
| 1635 #endif | 1629 #endif |
| 1636 } | 1630 } |
| 1637 | 1631 |
| 1638 } // namespace chrome | 1632 } // namespace chrome |
| OLD | NEW |