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 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 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 | 1443 // to access keys such as Home and End, similar to the "Function key" found |
1444 // commonly on laptop keyboards. | 1444 // commonly on laptop keyboards. |
1445 const char kEnableChromebookFunctionKey[] = | 1445 const char kEnableChromebookFunctionKey[] = |
1446 "enable-chromebook-function-key"; | 1446 "enable-chromebook-function-key"; |
1447 | 1447 |
1448 // Enables the redirection of viewable document requests to the Google Document | |
1449 // Viewer. | |
1450 const char kEnableGView[] = "enable-gview"; | |
1451 | |
1452 // Enable Kiosk mode for ChromeOS | 1448 // Enable Kiosk mode for ChromeOS |
1453 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 1449 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
1454 | 1450 |
1455 // Enables request of tablet site (via user agent override). | 1451 // Enables request of tablet site (via user agent override). |
1456 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1452 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
1457 | 1453 |
1458 // Enables static ip configuration. This flag should be removed when it's on by | 1454 // Enables static ip configuration. This flag should be removed when it's on by |
1459 // default. | 1455 // default. |
1460 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; | 1456 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; |
1461 | 1457 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 #elif defined(OS_WIN) | 1624 #elif defined(OS_WIN) |
1629 return CommandLine::ForCurrentProcess()->HasSwitch( | 1625 return CommandLine::ForCurrentProcess()->HasSwitch( |
1630 switches::kEnableChromeStyleDialogs); | 1626 switches::kEnableChromeStyleDialogs); |
1631 #else | 1627 #else |
1632 return CommandLine::ForCurrentProcess()->HasSwitch( | 1628 return CommandLine::ForCurrentProcess()->HasSwitch( |
1633 switches::kEnableChromeStyleDialogs); | 1629 switches::kEnableChromeStyleDialogs); |
1634 #endif | 1630 #endif |
1635 } | 1631 } |
1636 | 1632 |
1637 } // namespace chrome | 1633 } // namespace chrome |
OLD | NEW |