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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 266 |
267 // Enables the touch calibration option in MD settings UI for valid touch | 267 // Enables the touch calibration option in MD settings UI for valid touch |
268 // displays. | 268 // displays. |
269 const char kEnableTouchCalibrationSetting[] = | 269 const char kEnableTouchCalibrationSetting[] = |
270 "enable-touch-calibration-setting"; | 270 "enable-touch-calibration-setting"; |
271 | 271 |
272 // Enables touchpad three-finger-click as middle button. | 272 // Enables touchpad three-finger-click as middle button. |
273 const char kEnableTouchpadThreeFingerClick[] = | 273 const char kEnableTouchpadThreeFingerClick[] = |
274 "enable-touchpad-three-finger-click"; | 274 "enable-touchpad-three-finger-click"; |
275 | 275 |
| 276 // Enables touch support for screen magnifier. |
| 277 const char kEnableTouchSupportForScreenMagnifier[] = |
| 278 "enable-touch-support-for-screen-magnifier"; |
| 279 |
276 // Enables the chromecast support for video player app. | 280 // Enables the chromecast support for video player app. |
277 const char kEnableVideoPlayerChromecastSupport[] = | 281 const char kEnableVideoPlayerChromecastSupport[] = |
278 "enable-video-player-chromecast-support"; | 282 "enable-video-player-chromecast-support"; |
279 | 283 |
280 // Disables ARC for managed accounts. | 284 // Disables ARC for managed accounts. |
281 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; | 285 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; |
282 | 286 |
283 // Whether to enable forced enterprise re-enrollment. | 287 // Whether to enable forced enterprise re-enrollment. |
284 const char kEnterpriseEnableForcedReEnrollment[] = | 288 const char kEnterpriseEnableForcedReEnrollment[] = |
285 "enterprise-enable-forced-re-enrollment"; | 289 "enterprise-enable-forced-re-enrollment"; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 485 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
482 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 486 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
483 return false; | 487 return false; |
484 | 488 |
485 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 489 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
486 kTestCrosGaiaIdMigrationStarted; | 490 kTestCrosGaiaIdMigrationStarted; |
487 } | 491 } |
488 | 492 |
489 } // namespace switches | 493 } // namespace switches |
490 } // namespace chromeos | 494 } // namespace chromeos |
OLD | NEW |