| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // Disables the new NetworkChangeNotifier which uses NetworkStateHandler. | 88 // Disables the new NetworkChangeNotifier which uses NetworkStateHandler. |
| 86 const char kDisableNewNetworkChangeNotifier[] = | 89 const char kDisableNewNetworkChangeNotifier[] = |
| 87 "disable-new-network-change-notifier"; | 90 "disable-new-network-change-notifier"; |
| 88 | 91 |
| 89 // Enables screensaver extensions. | 92 // Enables screensaver extensions. |
| 90 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; | 93 const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions"; |
| 91 | 94 |
| 92 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) | 95 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) |
| 93 const char kEnableStubInteractive[] = "enable-stub-interactive"; | 96 const char kEnableStubInteractive[] = "enable-stub-interactive"; |
| 94 | 97 |
| 98 // Enable stub portalled wifi network for testing. |
| 99 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi"; |
| 100 |
| 95 // Enables touchpad three-finger-click as middle button. | 101 // Enables touchpad three-finger-click as middle button. |
| 96 const char kEnableTouchpadThreeFingerClick[] | 102 const char kEnableTouchpadThreeFingerClick[] |
| 97 = "enable-touchpad-three-finger-click"; | 103 = "enable-touchpad-three-finger-click"; |
| 98 | 104 |
| 99 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather | 105 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather |
| 100 // than the kiosk app mode. | 106 // than the kiosk app mode. |
| 101 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 107 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 102 | 108 |
| 103 // Enables request of tablet site (via user agent override). | 109 // Enables request of tablet site (via user agent override). |
| 104 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 110 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 // Enables usage of the new ManagedNetworkConfigurationHandler and | 198 // Enables usage of the new ManagedNetworkConfigurationHandler and |
| 193 // NetworkConfigurationHandler singletons. | 199 // NetworkConfigurationHandler singletons. |
| 194 const char kUseNewNetworkConfigurationHandlers[] = | 200 const char kUseNewNetworkConfigurationHandlers[] = |
| 195 "use-new-network-configuration-handlers"; | 201 "use-new-network-configuration-handlers"; |
| 196 | 202 |
| 197 const char kUseNewNetworkConnectionHandler[] = | 203 const char kUseNewNetworkConnectionHandler[] = |
| 198 "use-new-network-connection-handler"; | 204 "use-new-network-connection-handler"; |
| 199 | 205 |
| 200 } // namespace switches | 206 } // namespace switches |
| 201 } // namespace chromeos | 207 } // namespace chromeos |
| OLD | NEW |