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 // Specifies the URL of the consumer device management backend.
19 const char kConsumerDeviceManagementUrl
[] = "consumer-device-management-url";
21 // Forces the stub implementation of dbus clients.
22 const char kDbusStub
[] = "dbus-stub";
24 // Time before a machine at OOBE is considered derelict.
25 const char kDerelictDetectionTimeout
[] = "derelict-detection-timeout";
27 // Time before a derelict machines starts demo mode.
28 const char kDerelictIdleTimeout
[] = "derelict-idle-timeout";
30 // Disables wallpaper boot animation (except of OOBE case).
31 const char kDisableBootAnimation
[] = "disable-boot-animation";
33 // Disables the ChromeOS demo.
34 const char kDisableDemoMode
[] = "disable-demo-mode";
36 // Disable Genius App and use the original Help App instead.
37 const char kDisableGeniusApp
[] = "disable-genius-app";
39 // Avoid doing expensive animations upon login.
40 const char kDisableLoginAnimations
[] = "disable-login-animations";
42 // Disable new channel switcher UI.
43 const char kDisableNewChannelSwitcherUI
[] = "disable-new-channel-switcher-ui";
45 // Disables new Kiosk UI when kiosk apps are represented as user pods.
46 const char kDisableNewKioskUI
[] = "disable-new-kiosk-ui";
48 // Disable Quickoffice component app thus handlers won't be registered so
49 // it will be possible to install another version as normal app for testing.
50 const char kDisableQuickofficeComponentApp
[] =
51 "disable-quickoffice-component-app";
53 // Disables volume adjust sound.
54 const char kDisableVolumeAdjustSound
[] = "disable-volume-adjust-sound";
56 // Disables notifications about captive portals in session.
57 const char kDisableNetworkPortalNotification
[] =
58 "disable-network-portal-notification";
60 // Enables switching between different cellular carriers from the UI.
61 const char kEnableCarrierSwitching
[] = "enable-carrier-switching";
63 // Enables the next generation version of ChromeVox. Only valid with
64 // use_chromevox_next=1 within your GYP_DEFINES.
65 const char kEnableChromeVoxNext
[] = "enable-chromevox-next";
67 // Enables consumer management, which allows user to enroll, remotely lock and
69 const char kEnableConsumerManagement
[] = "enable-consumer-management";
71 // Enables MTP support in Files.app.
72 const char kEnableFileManagerMTP
[] = "enable-filemanager-mtp";
74 // Enable explicit HID detection on OOBE.
75 const char kEnableHIDDetectionOnOOBE
[] = "enable-hid-detection-on-oobe";
77 // Enables notifications about captive portals in session.
78 const char kEnableNetworkPortalNotification
[] =
79 "enable-network-portal-notification";
81 // Enables touchpad three-finger-click as middle button.
82 const char kEnableTouchpadThreeFingerClick
[]
83 = "enable-touchpad-three-finger-click";
85 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather
86 // than the kiosk app mode.
87 const char kEnableKioskMode
[] = "enable-kiosk-mode";
89 // Enables rollback option for resetting ChromeOS.
90 const char kEnableRollbackOption
[] = "enable-rollback-option";
92 // Enables request of tablet site (via user agent override).
93 const char kEnableRequestTabletSite
[] = "enable-request-tablet-site";
95 // Whether to enable forced enterprise re-enrollment.
96 const char kEnterpriseEnableForcedReEnrollment
[] =
97 "enterprise-enable-forced-re-enrollment";
99 // Power of the power-of-2 initial modulus that will be used by the
100 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
101 const char kEnterpriseEnrollmentInitialModulus
[] =
102 "enterprise-enrollment-initial-modulus";
104 // Power of the power-of-2 maximum modulus that will be used by the
105 // auto-enrollment client.
106 const char kEnterpriseEnrollmentModulusLimit
[] =
107 "enterprise-enrollment-modulus-limit";
109 // Don't create robot account on enrollment. Used when testing device
110 // enrollment against YAPS or the Python test server.
111 const char kEnterpriseEnrollmentSkipRobotAuth
[] =
112 "enterprise-enrollment-skip-robot-auth";
114 // Enables the new audio player in the Files.app.
115 const char kFileManagerEnableNewAudioPlayer
[] =
116 "file-manager-enable-new-audio-player";
118 // Passed to Chrome the first time that it's run after the system boots.
119 // Not passed on restart after sign out.
120 const char kFirstExecAfterBoot
[] = "first-exec-after-boot";
122 // Usually in browser tests the usual login manager bringup is skipped so that
123 // tests can change how it's brought up. This flag disables that.
124 const char kForceLoginManagerInTests
[] = "force-login-manager-in-tests";
126 // Indicates that the browser is in "browse without sign-in" (Guest session)
127 // mode. Should completely disable extensions, sync and bookmarks.
128 const char kGuestSession
[] = "bwsi";
130 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
132 const char kHasChromeOSKeyboard
[] = "has-chromeos-keyboard";
134 // If true, the Chromebook has a keyboard with a diamond key.
135 const char kHasChromeOSDiamondKey
[] = "has-chromeos-diamond-key";
137 // If true, profile selection in UserManager will always return active user's
139 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we
140 // turn on multi-profile feature on ChromeOS.
141 const char kIgnoreUserProfileMappingForTests
[] =
142 "ignore-user-profile-mapping-for-tests";
144 // Path for the screensaver used in Kiosk mode
145 const char kKioskModeScreensaverPath
[] = "kiosk-mode-screensaver-path";
147 // Enables Chrome-as-a-login-manager behavior.
148 const char kLoginManager
[] = "login-manager";
150 // Specifies a password to be used to login (along with login-user).
151 const char kLoginPassword
[] = "login-password";
153 // Specifies the profile to use once a chromeos user is logged in. This is
154 // required unless --multi-profile is set.
155 const char kLoginProfile
[] = "login-profile";
157 // Specifies the user which is already logged in.
158 const char kLoginUser
[] = "login-user";
160 // Enables natural scroll by default.
161 const char kNaturalScrollDefault
[] = "enable-natural-scroll-default";
163 // Skips all other OOBE pages after user login.
164 const char kOobeSkipPostLogin
[] = "oobe-skip-postlogin";
166 // Interval at which we check for total time on OOBE.
167 const char kOobeTimerInterval
[] = "oobe-timer-interval";
169 // Indicates that a guest session has been started before OOBE completion.
170 const char kOobeGuestSession
[] = "oobe-guest-session";
172 // Specifies power stub behavior:
173 // 'cycle=2' - Cycles power states every 2 seconds.
174 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
175 const char kPowerStub
[] = "power-stub";
177 // Specifies network stub behavior. If this switch is not specified,
178 // ethernet, wifi and vpn are enabled by default, and transitions occur
179 // instantaneously. Multiple options can be comma separated (no spaces).
180 // See FakeShillManagerClient::SetInitialNetworkState for implementation.
182 // 'wifi=on' - A wifi network is initially connected ('1' also works)
183 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works)
184 // 'wifi=disabled' - Wifi is initially disabled
185 // 'wifi=none' - Wifi is unavailable
186 // 'wifi=portal' - Wifi connection will be in Portal state
187 // 'cellular=1' - Cellular is initially connected
188 // 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs
189 const char kShillStub
[] = "shill-stub";
191 // Sends test messages on first call to RequestUpdate (stub only).
192 const char kSmsTestMessages
[] = "sms-test-messages";
194 // Indicates that a stub implementation of CrosSettings that stores settings in
195 // memory without signing should be used, treating current user as the owner.
196 // This option is for testing the chromeos build of chrome on the desktop only.
197 const char kStubCrosSettings
[] = "stub-cros-settings";
199 // Disables SAML sigin support.
200 const char kDisableSamlSignin
[] = "disable-saml-signin";
202 // Disables new first-run overlay UI.
203 const char kDisableFirstRunUI
[] = "disable-first-run-ui";
205 // Enables animated transitions during first-run tutorial.
206 const char kEnableFirstRunUITransitions
[] = "enable-first-run-ui-transitions";
208 // Forces first-run UI to be shown for every login.
209 const char kForceFirstRunUI
[] = "force-first-run-ui";
211 // Enables testing for auto update UI.
212 const char kTestAutoUpdateUI
[] = "test-auto-update-ui";
214 } // namespace switches
215 } // namespace chromeos