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 "chromeos/chromeos_switches.h" | 5 #include "chromeos/chromeos_switches.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Path for app's OEM manifest file. | 10 // Path for app's OEM manifest file. |
11 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; | 11 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; |
12 | 12 |
13 // When wallpaper boot animation is not disabled this switch | 13 // When wallpaper boot animation is not disabled this switch |
14 // is used to override OOBE/sign in WebUI init type. | 14 // is used to override OOBE/sign in WebUI init type. |
15 // Possible values: parallel|postpone. Default: parallel. | 15 // Possible values: parallel|postpone. Default: parallel. |
16 const char kAshWebUIInit[] = "ash-webui-init"; | 16 const char kAshWebUIInit[] = "ash-webui-init"; |
17 | 17 |
18 // Enables overriding the path for the default authentication extension. | 18 // Enables overriding the path for the default authentication extension. |
19 const char kAuthExtensionPath[] = "auth-ext-path"; | 19 const char kAuthExtensionPath[] = "auth-ext-path"; |
20 | 20 |
21 // Enables overriding the Chrome OS board type when running on Linux. | 21 // Enables overriding the Chrome OS board type when running on Linux. |
22 const char kChromeOSReleaseBoard[] = "chromeos-release-board"; | 22 const char kChromeOSReleaseBoard[] = "chromeos-release-board"; |
23 | 23 |
24 // Forces the stub implementation of dbus clients. | 24 // Forces the stub implementation of dbus clients. |
25 const char kDbusStub[] = "dbus-stub"; | 25 const char kDbusStub[] = "dbus-stub"; |
26 | 26 |
| 27 // All stub networks are idle by default. |
| 28 const char kDefaultStubNetworkStateIdle[] = "default-stub-network-state-idle"; |
| 29 |
27 // Disables wallpaper boot animation (except of OOBE case). | 30 // Disables wallpaper boot animation (except of OOBE case). |
28 const char kDisableBootAnimation[] = "disable-boot-animation"; | 31 const char kDisableBootAnimation[] = "disable-boot-animation"; |
29 | 32 |
30 // Disables Chrome Captive Portal detector, which initiates Captive | 33 // Disables Chrome Captive Portal detector, which initiates Captive |
31 // Portal detection for new active networks. | 34 // Portal detection for new active networks. |
32 const char kDisableChromeCaptivePortalDetector[] = | 35 const char kDisableChromeCaptivePortalDetector[] = |
33 "disable-chrome-captive-portal-detector"; | 36 "disable-chrome-captive-portal-detector"; |
34 | 37 |
35 // Disables Google Drive integration. | 38 // Disables Google Drive integration. |
36 const char kDisableDrive[] = "disable-drive"; | 39 const char kDisableDrive[] = "disable-drive"; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // Portal detection for new active networks. | 84 // Portal detection for new active networks. |
82 const char kEnableChromeCaptivePortalDetector[] = | 85 const char kEnableChromeCaptivePortalDetector[] = |
83 "enable-chrome-captive-portal-detector"; | 86 "enable-chrome-captive-portal-detector"; |
84 | 87 |
85 // Enables screensaver extensions. | 88 // Enables screensaver extensions. |
86 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; | 89 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; |
87 | 90 |
88 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) | 91 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) |
89 const char kEnableStubInteractive[] = "enable-stub-interactive"; | 92 const char kEnableStubInteractive[] = "enable-stub-interactive"; |
90 | 93 |
| 94 // Enable stub portalled wifi network for testing. |
| 95 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi"; |
| 96 |
91 // Enables touchpad three-finger-click as middle button. | 97 // Enables touchpad three-finger-click as middle button. |
92 const char kEnableTouchpadThreeFingerClick[] | 98 const char kEnableTouchpadThreeFingerClick[] |
93 = "enable-touchpad-three-finger-click"; | 99 = "enable-touchpad-three-finger-click"; |
94 | 100 |
95 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather | 101 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather |
96 // than the kiosk app mode. | 102 // than the kiosk app mode. |
97 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 103 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
98 | 104 |
99 // Enables request of tablet site (via user agent override). | 105 // Enables request of tablet site (via user agent override). |
100 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 106 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // This option is for testing the chromeos build of chrome on the desktop only. | 190 // This option is for testing the chromeos build of chrome on the desktop only. |
185 const char kStubCrosSettings[] = "stub-cros-settings"; | 191 const char kStubCrosSettings[] = "stub-cros-settings"; |
186 | 192 |
187 // Enables usage of the new ManagedNetworkConfigurationHandler and | 193 // Enables usage of the new ManagedNetworkConfigurationHandler and |
188 // NetworkConfigurationHandler singletons. | 194 // NetworkConfigurationHandler singletons. |
189 const char kUseNewNetworkConfigurationHandlers[] = | 195 const char kUseNewNetworkConfigurationHandlers[] = |
190 "use-new-network-configuration-handlers"; | 196 "use-new-network-configuration-handlers"; |
191 | 197 |
192 } // namespace switches | 198 } // namespace switches |
193 } // namespace chromeos | 199 } // namespace chromeos |
OLD | NEW |