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 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1437 // Enables request of tablet site (via user agent override). | 1437 // Enables request of tablet site (via user agent override). |
1438 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 1438 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
1439 | 1439 |
1440 // Enables static ip configuration. This flag should be removed when it's on by | 1440 // Enables static ip configuration. This flag should be removed when it's on by |
1441 // default. | 1441 // default. |
1442 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; | 1442 const char kEnableStaticIPConfig[] = "enable-static-ip-config"; |
1443 | 1443 |
1444 // Passed to Chrome on first boot. Not passed on restart after sign out. | 1444 // Passed to Chrome on first boot. Not passed on restart after sign out. |
1445 const char kFirstBoot[] = "first-boot"; | 1445 const char kFirstBoot[] = "first-boot"; |
1446 | 1446 |
| 1447 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for |
| 1448 // Chromeboxes. |
| 1449 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; |
| 1450 |
1447 // Path for the screensaver used in Kiosk mode | 1451 // Path for the screensaver used in Kiosk mode |
1448 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; | 1452 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; |
1449 | 1453 |
1450 // Enables Chrome-as-a-login-manager behavior. | 1454 // Enables Chrome-as-a-login-manager behavior. |
1451 const char kLoginManager[] = "login-manager"; | 1455 const char kLoginManager[] = "login-manager"; |
1452 | 1456 |
1453 // Allows to override the first login screen. The value should be the name of | 1457 // Allows to override the first login screen. The value should be the name of |
1454 // the first login screen to show (see | 1458 // the first login screen to show (see |
1455 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). | 1459 // chrome/browser/chromeos/login/login_wizard_view.cc for actual names). |
1456 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the | 1460 // Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1606 return true; | 1610 return true; |
1607 #elif defined(OS_WIN) | 1611 #elif defined(OS_WIN) |
1608 return true; | 1612 return true; |
1609 #else | 1613 #else |
1610 return CommandLine::ForCurrentProcess()->HasSwitch( | 1614 return CommandLine::ForCurrentProcess()->HasSwitch( |
1611 switches::kEnableFramelessConstrainedDialogs); | 1615 switches::kEnableFramelessConstrainedDialogs); |
1612 #endif | 1616 #endif |
1613 } | 1617 } |
1614 | 1618 |
1615 } // namespace chrome | 1619 } // namespace chrome |
OLD | NEW |