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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 // Enabled sharing assets for installed default apps. | 148 // Enabled sharing assets for installed default apps. |
149 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 149 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
150 | 150 |
Dan Beam
2016/03/11 05:35:40
though i feel your name is pretty self-documenting
dmazzoni
2016/03/11 20:29:35
Done.
| |
151 const char kEnableExperimentalAccessibilityFeatures[] = | |
152 "enable-experimental-accessibility-features"; | |
153 | |
151 // Enables notifications about captive portals in session. | 154 // Enables notifications about captive portals in session. |
152 const char kEnableNetworkPortalNotification[] = | 155 const char kEnableNetworkPortalNotification[] = |
153 "enable-network-portal-notification"; | 156 "enable-network-portal-notification"; |
154 | 157 |
155 // Enables touchpad three-finger-click as middle button. | 158 // Enables touchpad three-finger-click as middle button. |
156 const char kEnableTouchpadThreeFingerClick[] | 159 const char kEnableTouchpadThreeFingerClick[] |
157 = "enable-touchpad-three-finger-click"; | 160 = "enable-touchpad-three-finger-click"; |
158 | 161 |
159 // Enables using screenshots in tests and seets mode. | 162 // Enables using screenshots in tests and seets mode. |
160 const char kEnableScreenshotTestingWithMode[] = | 163 const char kEnableScreenshotTestingWithMode[] = |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
405 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 408 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
406 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 409 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
407 return false; | 410 return false; |
408 | 411 |
409 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 412 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
410 kTestCrosGaiaIdMigrationStarted; | 413 kTestCrosGaiaIdMigrationStarted; |
411 } | 414 } |
412 | 415 |
413 } // namespace switches | 416 } // namespace switches |
414 } // namespace chromeos | 417 } // namespace chromeos |
OLD | NEW |