Chromium Code Reviews| 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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1431 const char kEnableTouchpadThreeFingerClick[] | 1431 const char kEnableTouchpadThreeFingerClick[] |
| 1432 = "enable-touchpad-three-finger-click"; | 1432 = "enable-touchpad-three-finger-click"; |
| 1433 | 1433 |
| 1434 // Enables touchpad three-finger swipe. | 1434 // Enables touchpad three-finger swipe. |
| 1435 const char kEnableTouchpadThreeFingerSwipe[] | 1435 const char kEnableTouchpadThreeFingerSwipe[] |
| 1436 = "enable-touchpad-three-finger-swipe"; | 1436 = "enable-touchpad-three-finger-swipe"; |
| 1437 | 1437 |
| 1438 // Skips OAuth part of ChromeOS login process. | 1438 // Skips OAuth part of ChromeOS login process. |
| 1439 const char kSkipOAuthLogin[] = "skip-oauth-login"; | 1439 const char kSkipOAuthLogin[] = "skip-oauth-login"; |
| 1440 | 1440 |
| 1441 // If true, show advanced keyboard options to overload the search key as a way | 1441 // If true, extended keys such as Delete or Home will only be accessible |
|
Yusuke Sato
2012/12/17 00:26:17
If you agree with my comment in event_rewriter.cc,
danakj
2012/12/17 02:05:14
Done.
| |
| 1442 // to access keys such as Home and End, similar to the "Function key" found | 1442 // through hitting the actual key, or by using the Search-key modifier. |
| 1443 // commonly on laptop keyboards. | 1443 const char kDisableNonSearchExtendedKeyShortcuts[] = |
| 1444 const char kEnableChromebookFunctionKey[] = | 1444 "disable-non-search-extended-key-shortcuts"; |
| 1445 "enable-chromebook-function-key"; | |
| 1446 | 1445 |
| 1447 // Enable Kiosk mode for ChromeOS. | 1446 // Enable Kiosk mode for ChromeOS. |
| 1448 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1447 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 1449 | 1448 |
| 1450 // Disable policy-configured local accounts. | 1449 // Disable policy-configured local accounts. |
| 1451 const char kDisableLocalAccounts[] = "disable-local-accounts"; | 1450 const char kDisableLocalAccounts[] = "disable-local-accounts"; |
| 1452 | 1451 |
| 1453 // Enables request of tablet site (via user agent override). | 1452 // Enables request of tablet site (via user agent override). |
| 1454 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1453 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 1455 | 1454 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1626 #elif defined(OS_WIN) | 1625 #elif defined(OS_WIN) |
| 1627 return CommandLine::ForCurrentProcess()->HasSwitch( | 1626 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1628 switches::kEnableChromeStyleDialogs); | 1627 switches::kEnableChromeStyleDialogs); |
| 1629 #else | 1628 #else |
| 1630 return CommandLine::ForCurrentProcess()->HasSwitch( | 1629 return CommandLine::ForCurrentProcess()->HasSwitch( |
| 1631 switches::kEnableChromeStyleDialogs); | 1630 switches::kEnableChromeStyleDialogs); |
| 1632 #endif | 1631 #endif |
| 1633 } | 1632 } |
| 1634 | 1633 |
| 1635 } // namespace chrome | 1634 } // namespace chrome |
| OLD | NEW |