| 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 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // Enables quick view in Files app. | 234 // Enables quick view in Files app. |
| 235 const char kEnableFilesQuickView[] = "enable-files-quick-view"; | 235 const char kEnableFilesQuickView[] = "enable-files-quick-view"; |
| 236 | 236 |
| 237 // Enables animated transitions during first-run tutorial. | 237 // Enables animated transitions during first-run tutorial. |
| 238 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 238 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
| 239 | 239 |
| 240 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode | 240 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode |
| 241 // rather than the kiosk app mode. | 241 // rather than the kiosk app mode. |
| 242 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 242 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 243 | 243 |
| 244 // Enables material design OOBE UI. | 244 // Disables material design OOBE UI. |
| 245 const char kEnableMdOobe[] = "enable-md-oobe"; | 245 const char kDisableMdOobe[] = "disable-md-oobe"; |
| 246 | 246 |
| 247 // Enables notifications about captive portals in session. | 247 // Enables notifications about captive portals in session. |
| 248 const char kEnableNetworkPortalNotification[] = | 248 const char kEnableNetworkPortalNotification[] = |
| 249 "enable-network-portal-notification"; | 249 "enable-network-portal-notification"; |
| 250 | 250 |
| 251 // Enables suggestions while typing on a physical keyboard. | 251 // Enables suggestions while typing on a physical keyboard. |
| 252 const char kEnablePhysicalKeyboardAutocorrect[] = | 252 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 253 "enable-physical-keyboard-autocorrect"; | 253 "enable-physical-keyboard-autocorrect"; |
| 254 | 254 |
| 255 // Enables request of tablet site (via user agent override). | 255 // Enables request of tablet site (via user agent override). |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 470 return false; | 470 return false; |
| 471 | 471 |
| 472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 473 kTestCrosGaiaIdMigrationStarted; | 473 kTestCrosGaiaIdMigrationStarted; |
| 474 } | 474 } |
| 475 | 475 |
| 476 } // namespace switches | 476 } // namespace switches |
| 477 } // namespace chromeos | 477 } // namespace chromeos |
| OLD | NEW |