Defer restoring the stacking order until overview is complete.
[chromium-blink-merge.git] / chromeos / chromeos_switches.cc
blob42ffe241eb1398cc4c6d1656c2e0428dfb5d375c
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"
7 namespace chromeos {
8 namespace switches {
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 Chrome Captive Portal detector, which initiates Captive
31 // Portal detection for new active networks.
32 const char kDisableChromeCaptivePortalDetector[] =
33 "disable-chrome-captive-portal-detector";
35 // Disables Google Drive integration.
36 const char kDisableDrive[] = "disable-drive";
38 // Disable Genius App and use the original Help App instead.
39 const char kDisableGeniusApp[] = "disable-genius-app";
41 // Disable policy-configured local accounts.
42 const char kDisableLocalAccounts[] = "disable-local-accounts";
44 // Avoid doing expensive animations upon login.
45 const char kDisableLoginAnimations[] = "disable-login-animations";
47 // Disable new channel switcher UI.
48 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui";
50 // Disable Quickoffice component app thus handlers won't be registered so
51 // it will be possible to install another version as normal app for testing.
52 const char kDisableQuickofficeComponentApp[] =
53 "disable-quickoffice-component-app";
55 // Disables fetching online CrOS EULA page, only static version is shown.
56 const char kDisableOnlineEULA[] = "disable-cros-online-eula";
58 // Avoid doing animations upon oobe.
59 const char kDisableOobeAnimation[] = "disable-oobe-animation";
61 // Disables portal detection and network error handling before auto
62 // update.
63 const char kDisableOOBEBlockingUpdate[] =
64 "disable-oobe-blocking-update";
66 // Disables fake ethernet network in the stub implementations.
67 const char kDisableStubEthernet[] = "disable-stub-ethernet";
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 // Enables Chrome Captive Portal detector, which initiates Captive
81 // Portal detection for new active networks.
82 const char kEnableChromeCaptivePortalDetector[] =
83 "enable-chrome-captive-portal-detector";
85 // Enable to show the indicator about the IME (input method editor) mode
86 // on Chrome OS.
87 const char kEnableIMEModeIndicator[] = "enable-ime-mode-indicator";
89 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
90 const char kEnableStubInteractive[] = "enable-stub-interactive";
92 // Enable stub portalled wifi network for testing.
93 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi";
95 // Enables touchpad three-finger-click as middle button.
96 const char kEnableTouchpadThreeFingerClick[]
97 = "enable-touchpad-three-finger-click";
99 // Enable Kiosk mode for ChromeOS. Note this switch refers to retail mode rather
100 // than the kiosk app mode.
101 const char kEnableKioskMode[] = "enable-kiosk-mode";
103 // Enables request of tablet site (via user agent override).
104 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
106 // Power of the power-of-2 initial modulus that will be used by the
107 // auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16.
108 const char kEnterpriseEnrollmentInitialModulus[] =
109 "enterprise-enrollment-initial-modulus";
111 // Power of the power-of-2 maximum modulus that will be used by the
112 // auto-enrollment client.
113 const char kEnterpriseEnrollmentModulusLimit[] =
114 "enterprise-enrollment-modulus-limit";
116 // Shows the selecting checkboxes in the Files.app.
117 const char kFileManagerShowCheckboxes[] = "file-manager-show-checkboxes";
119 // Enables the webstore integration feature in the Files.app.
120 const char kFileManagerEnableWebstoreIntegration[] =
121 "file-manager-enable-webstore-integration";
123 // Passed to Chrome the first time that it's run after the system boots.
124 // Not passed on restart after sign out.
125 const char kFirstExecAfterBoot[] = "first-exec-after-boot";
127 // Usually in browser tests the usual login manager bringup is skipped so that
128 // tests can change how it's brought up. This flag disables that.
129 const char kForceLoginManagerInTests[] = "force-login-manager-in-tests";
131 // Indicates that the browser is in "browse without sign-in" (Guest session)
132 // mode. Should completely disable extensions, sync and bookmarks.
133 const char kGuestSession[] = "bwsi";
135 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
136 // Chromeboxes.
137 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
139 // If true, the Chromebook has a keyboard with a diamond key.
140 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key";
142 // Path for the screensaver used in Kiosk mode
143 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
145 // Allows override of oobe for testing - goes directly to the login screen.
146 const char kLoginScreen[] = "login-screen";
148 // Enables Chrome-as-a-login-manager behavior.
149 const char kLoginManager[] = "login-manager";
151 // Specifies a password to be used to login (along with login-user).
152 const char kLoginPassword[] = "login-password";
154 // Specifies the profile to use once a chromeos user is logged in.
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 // Skips the machine hwid check. Useful for running in VMs because they have no
167 // hwid.
168 const char kSkipHWIDCheck[] = "skip-hwid-check";
170 // Sends test messages on first call to RequestUpdate (stub only).
171 const char kSmsTestMessages[] = "sms-test-messages";
173 // Indicates that a stub implementation of CrosSettings that stores settings in
174 // memory without signing should be used, treating current user as the owner.
175 // This option is for testing the chromeos build of chrome on the desktop only.
176 const char kStubCrosSettings[] = "stub-cros-settings";
178 // Disables user image sync.
179 const char kDisableUserImageSync[] = "disable-user-image-sync";
181 // Enables SAML sigin support.
182 const char kEnableSamlSignin[] = "enable-saml-signin";
184 // Enables new first-run overlay UI.
185 const char kEnableFirstRunUI[] = "enable-first-run-ui";
187 // Enables testing for auto update UI.
188 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
190 } // namespace switches
191 } // namespace chromeos