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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; | 157 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; |
158 | 158 |
159 // Enable the multiple display layout UI. | 159 // Enable the multiple display layout UI. |
160 const char kDisableMultiDisplayLayout[] = "disable-multi-display-layout"; | 160 const char kDisableMultiDisplayLayout[] = "disable-multi-display-layout"; |
161 | 161 |
162 // If this switch is set, the options for suggestions as typing on physical | 162 // If this switch is set, the options for suggestions as typing on physical |
163 // keyboard will be enabled. | 163 // keyboard will be enabled. |
164 const char kEnablePhysicalKeyboardAutocorrect[] = | 164 const char kEnablePhysicalKeyboardAutocorrect[] = |
165 "enable-physical-keyboard-autocorrect"; | 165 "enable-physical-keyboard-autocorrect"; |
166 | 166 |
| 167 // Enable quick unlock with PIN. |
| 168 const char kEnableQuickUnlockPin[] = "enable-quick-unlock-pin"; |
| 169 |
167 // If this switch is set, the options for suggestions as typing on physical | 170 // If this switch is set, the options for suggestions as typing on physical |
168 // keyboard will be disabled. | 171 // keyboard will be disabled. |
169 const char kDisablePhysicalKeyboardAutocorrect[] = | 172 const char kDisablePhysicalKeyboardAutocorrect[] = |
170 "disable-physical-keyboard-autocorrect"; | 173 "disable-physical-keyboard-autocorrect"; |
171 | 174 |
172 // Shows additional checkboxes in Settings to enable Chrome OS accessibility | 175 // Shows additional checkboxes in Settings to enable Chrome OS accessibility |
173 // features that haven't launched yet. | 176 // features that haven't launched yet. |
174 const char kEnableExperimentalAccessibilityFeatures[] = | 177 const char kEnableExperimentalAccessibilityFeatures[] = |
175 "enable-experimental-accessibility-features"; | 178 "enable-experimental-accessibility-features"; |
176 | 179 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 446 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
444 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 447 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
445 return false; | 448 return false; |
446 | 449 |
447 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 450 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
448 kTestCrosGaiaIdMigrationStarted; | 451 kTestCrosGaiaIdMigrationStarted; |
449 } | 452 } |
450 | 453 |
451 } // namespace switches | 454 } // namespace switches |
452 } // namespace chromeos | 455 } // namespace chromeos |
OLD | NEW |