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