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
3 // found in the LICENSE file.
5 #include "chromeos/chromeos_switches.h"
10 // Path for app's OEM manifest file.
11 const char kAppOemManifestFile
[] = "app-mode-oem-manifest";
13 // When wallpaper boot animation is not disabled this switch
14 // is used to override OOBE/sign in WebUI init type.
15 // Possible values: parallel|postpone. Default: parallel.
16 const char kAshWebUIInit
[] = "ash-webui-init";
18 // Enables overriding the path for the default authentication extension.
19 const char kAuthExtensionPath
[] = "auth-ext-path";
21 // Forces the stub implementation of dbus clients.
22 const char kDbusStub
[] = "dbus-stub";
24 // All stub networks are idle by default.
25 const char kDefaultStubNetworkStateIdle
[] = "default-stub-network-state-idle";
27 // Disables wallpaper boot animation (except of OOBE case).
28 const char kDisableBootAnimation
[] = "disable-boot-animation";
30 // Disables Google Drive integration.
31 const char kDisableDrive
[] = "disable-drive";
33 // Disables reporting recently logged in users for enterprise-managed devices.
34 const char kDisableEnterpriseUserReporting
[] =
35 "disable-enterprise-user-reporting";
37 // Disable Genius App and use the original Help App instead.
38 const char kDisableGeniusApp
[] = "disable-genius-app";
40 // Disable to show the indicator about the IME (input method editor) mode
42 const char kDisableIMEModeIndicator
[] = "disable-ime-mode-indicator";
44 // Disable policy-configured local accounts.
45 const char kDisableLocalAccounts
[] = "disable-local-accounts";
47 // Avoid doing expensive animations upon login.
48 const char kDisableLoginAnimations
[] = "disable-login-animations";
50 // Disable new channel switcher UI.
51 const char kDisableNewChannelSwitcherUI
[] = "disable-new-channel-switcher-ui";
53 // Disable Quickoffice component app thus handlers won't be registered so
54 // it will be possible to install another version as normal app for testing.
55 const char kDisableQuickofficeComponentApp
[] =
56 "disable-quickoffice-component-app";
58 // Disables fetching online CrOS EULA page, only static version is shown.
59 const char kDisableOnlineEULA
[] = "disable-cros-online-eula";
61 // Avoid doing animations upon oobe.
62 const char kDisableOobeAnimation
[] = "disable-oobe-animation";
64 // Disables portal detection and network error handling before auto
66 const char kDisableOOBEBlockingUpdate
[] =
67 "disable-oobe-blocking-update";
69 // Enables overriding the path for the default echo component extension.
70 // Useful for testing.
71 const char kEchoExtensionPath
[] = "echo-ext-path";
73 // Enables component extension that initializes background pages of
74 // certain hosted applications.
75 const char kEnableBackgroundLoader
[] = "enable-background-loader";
77 // Enables switching between different cellular carriers from the UI.
78 const char kEnableCarrierSwitching
[] = "enable-carrier-switching";
80 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
81 const char kEnableStubInteractive
[] = "enable-stub-interactive";
83 // Enable stub portalled wifi network for testing.
84 const char kEnableStubPortalledWifi
[] = "enable-stub-portalled-wifi";
86 // Enables touchpad three-finger-click as middle button.
87 const char kEnableTouchpadThreeFingerClick
[]
88 = "enable-touchpad-three-finger-click";
90 // Enables volume adjust sound.
91 const char kEnableVolumeAdjustSound
[] = "enable-volume-adjust-sound";
93 // Specifies stub network types to be enabled. If this switch is not specified,
94 // ethernet, wifi and vpn are enabled by default.
97 // Disable all network types: --enabled-stub-network-types=''
98 // Enable wifi only: --enabled-stub-network-types=wifi
99 // Enable ethernet and wifi: --enabled-stub-network-types=ethernet,wifi
100 const char kEnabledStubNetworkTypes
[] = "enabled-stub-network-types";
102 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather
103 // than the kiosk app mode.
104 const char kEnableKioskMode
[] = "enable-kiosk-mode";
106 // Enables request of tablet site (via user agent override).
107 const char kEnableRequestTabletSite
[] = "enable-request-tablet-site";
109 // Power of the power-of-2 initial modulus that will be used by the
110 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
111 const char kEnterpriseEnrollmentInitialModulus
[] =
112 "enterprise-enrollment-initial-modulus";
114 // Power of the power-of-2 maximum modulus that will be used by the
115 // auto-enrollment client.
116 const char kEnterpriseEnrollmentModulusLimit
[] =
117 "enterprise-enrollment-modulus-limit";
119 // Don't create robot account on enrollment. Used when testing device
120 // enrollment against YAPS or the Python test server.
121 const char kEnterpriseEnrollmentSkipRobotAuth
[] =
122 "enterprise-enrollment-skip-robot-auth";
124 // Shows the selecting checkboxes in the Files.app.
125 const char kFileManagerShowCheckboxes
[] = "file-manager-show-checkboxes";
127 // Enables the new audio player in the Files.app.
128 const char kFileManagerEnableNewAudioPlayer
[] =
129 "file-manager-enable-new-audio-player";
131 // Enables the multi-profile support in the Files.app.
132 const char kFileManagerEnableMultiProfile
[] =
133 "file-manager-enable-multi-profile";
135 // Passed to Chrome the first time that it's run after the system boots.
136 // Not passed on restart after sign out.
137 const char kFirstExecAfterBoot
[] = "first-exec-after-boot";
139 // Usually in browser tests the usual login manager bringup is skipped so that
140 // tests can change how it's brought up. This flag disables that.
141 const char kForceLoginManagerInTests
[] = "force-login-manager-in-tests";
143 // Sets primary user's default multiprofile behavior to 'unrestricted' for
144 // tests so that multiprofile is enabled for any user.
145 // TODO(xiyuan): Remove when multiprofile is released to everyone.
146 const char kForceMultiProfileInTests
[] = "force-multi-profiles-in-tests";
148 // Makes GPU sandbox failures nonfatal.
149 const char kGpuSandboxFailuresNonfatal
[] = "gpu-sandbox-failures-nonfatal";
151 // Indicates that the browser is in "browse without sign-in" (Guest session)
152 // mode. Should completely disable extensions, sync and bookmarks.
153 const char kGuestSession
[] = "bwsi";
155 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
157 const char kHasChromeOSKeyboard
[] = "has-chromeos-keyboard";
159 // If true, the Chromebook has a keyboard with a diamond key.
160 const char kHasChromeOSDiamondKey
[] = "has-chromeos-diamond-key";
162 // Path for the screensaver used in Kiosk mode
163 const char kKioskModeScreensaverPath
[] = "kiosk-mode-screensaver-path";
165 // Allows override of oobe for testing - goes directly to the login screen.
166 const char kLoginScreen
[] = "login-screen";
168 // Enables Chrome-as-a-login-manager behavior.
169 const char kLoginManager
[] = "login-manager";
171 // Specifies a password to be used to login (along with login-user).
172 const char kLoginPassword
[] = "login-password";
174 // Specifies the profile to use once a chromeos user is logged in.
175 const char kLoginProfile
[] = "login-profile";
177 // Specifies the user which is already logged in.
178 const char kLoginUser
[] = "login-user";
180 // Enables natural scroll by default.
181 const char kNaturalScrollDefault
[] = "enable-natural-scroll-default";
183 // Skips all other OOBE pages after user login.
184 const char kOobeSkipPostLogin
[] = "oobe-skip-postlogin";
186 // Integer flag that sets the DeviceRegistered local state pref.
187 const char kDeviceRegistered
[] = "device-registered";
189 // Skips the machine hwid check. Useful for running in VMs because they have no
191 const char kSkipHWIDCheck
[] = "skip-hwid-check";
193 // Sends test messages on first call to RequestUpdate (stub only).
194 const char kSmsTestMessages
[] = "sms-test-messages";
196 // Indicates that a stub implementation of CrosSettings that stores settings in
197 // memory without signing should be used, treating current user as the owner.
198 // This option is for testing the chromeos build of chrome on the desktop only.
199 const char kStubCrosSettings
[] = "stub-cros-settings";
201 // Disables user image sync.
202 const char kDisableUserImageSync
[] = "disable-user-image-sync";
204 // Disables SAML sigin support.
205 const char kDisableSamlSignin
[] = "disable-saml-signin";
207 // Disables new first-run overlay UI.
208 const char kDisableFirstRunUI
[] = "disable-first-run-ui";
210 // Enables animated transitions during first-run tutorial.
211 const char kEnableFirstRunUITransitions
[] = "enable-first-run-ui-transitions";
213 // Forces first-run UI to be shown for every login.
214 const char kForceFirstRunUI
[] = "force-first-run-ui";
216 // Enables testing for auto update UI.
217 const char kTestAutoUpdateUI
[] = "test-auto-update-ui";
219 // Enables features required for supervised user sync,
220 const char kEnableSupervisedPasswordSync
[] = "enable-supervised-password-sync";
222 } // namespace switches
223 } // namespace chromeos