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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 // TODO(rsorokin): alphabetize all of these switches so they | 10 // TODO(rsorokin): alphabetize all of these switches so they |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // If this switch is set, the options for suggestions as typing on physical | 138 // If this switch is set, the options for suggestions as typing on physical |
139 // keyboard will be enabled. | 139 // keyboard will be enabled. |
140 const char kEnablePhysicalKeyboardAutocorrect[] = | 140 const char kEnablePhysicalKeyboardAutocorrect[] = |
141 "enable-physical-keyboard-autocorrect"; | 141 "enable-physical-keyboard-autocorrect"; |
142 | 142 |
143 // If this switch is set, the options for suggestions as typing on physical | 143 // If this switch is set, the options for suggestions as typing on physical |
144 // keyboard will be disabled. | 144 // keyboard will be disabled. |
145 const char kDisablePhysicalKeyboardAutocorrect[] = | 145 const char kDisablePhysicalKeyboardAutocorrect[] = |
146 "disable-physical-keyboard-autocorrect"; | 146 "disable-physical-keyboard-autocorrect"; |
147 | 147 |
| 148 // Shows additional checkboxes in Settings to enable Chrome OS accessibility |
| 149 // features that haven't launched yet. |
| 150 const char kEnableExperimentalAccessibilityFeatures[] = |
| 151 "enable-experimental-accessibility-features"; |
| 152 |
148 // Enabled sharing assets for installed default apps. | 153 // Enabled sharing assets for installed default apps. |
149 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 154 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
150 | 155 |
151 // Enables notifications about captive portals in session. | 156 // Enables notifications about captive portals in session. |
152 const char kEnableNetworkPortalNotification[] = | 157 const char kEnableNetworkPortalNotification[] = |
153 "enable-network-portal-notification"; | 158 "enable-network-portal-notification"; |
154 | 159 |
155 // Enables touchpad three-finger-click as middle button. | 160 // Enables touchpad three-finger-click as middle button. |
156 const char kEnableTouchpadThreeFingerClick[] | 161 const char kEnableTouchpadThreeFingerClick[] |
157 = "enable-touchpad-three-finger-click"; | 162 = "enable-touchpad-three-finger-click"; |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 410 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
406 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 411 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
407 return false; | 412 return false; |
408 | 413 |
409 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 414 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
410 kTestCrosGaiaIdMigrationStarted; | 415 kTestCrosGaiaIdMigrationStarted; |
411 } | 416 } |
412 | 417 |
413 } // namespace switches | 418 } // namespace switches |
414 } // namespace chromeos | 419 } // namespace chromeos |
OLD | NEW |