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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 281 |
282 // Enables the touch calibration option in MD settings UI for valid touch | 282 // Enables the touch calibration option in MD settings UI for valid touch |
283 // displays. | 283 // displays. |
284 const char kEnableTouchCalibrationSetting[] = | 284 const char kEnableTouchCalibrationSetting[] = |
285 "enable-touch-calibration-setting"; | 285 "enable-touch-calibration-setting"; |
286 | 286 |
287 // Enables touchpad three-finger-click as middle button. | 287 // Enables touchpad three-finger-click as middle button. |
288 const char kEnableTouchpadThreeFingerClick[] = | 288 const char kEnableTouchpadThreeFingerClick[] = |
289 "enable-touchpad-three-finger-click"; | 289 "enable-touchpad-three-finger-click"; |
290 | 290 |
| 291 // Enables touch support for screen magnifier. |
| 292 const char kEnableTouchSupportForScreenMagnifier[] = |
| 293 "enable-touch-support-for-screen-magnifier"; |
| 294 |
291 // Enables the chromecast support for video player app. | 295 // Enables the chromecast support for video player app. |
292 const char kEnableVideoPlayerChromecastSupport[] = | 296 const char kEnableVideoPlayerChromecastSupport[] = |
293 "enable-video-player-chromecast-support"; | 297 "enable-video-player-chromecast-support"; |
294 | 298 |
295 // Disables ARC for managed accounts. | 299 // Disables ARC for managed accounts. |
296 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; | 300 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; |
297 | 301 |
298 // Whether to enable forced enterprise re-enrollment. | 302 // Whether to enable forced enterprise re-enrollment. |
299 const char kEnterpriseEnableForcedReEnrollment[] = | 303 const char kEnterpriseEnableForcedReEnrollment[] = |
300 "enterprise-enable-forced-re-enrollment"; | 304 "enterprise-enable-forced-re-enrollment"; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 500 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
497 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 501 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
498 return false; | 502 return false; |
499 | 503 |
500 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 504 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
501 kTestCrosGaiaIdMigrationStarted; | 505 kTestCrosGaiaIdMigrationStarted; |
502 } | 506 } |
503 | 507 |
504 } // namespace switches | 508 } // namespace switches |
505 } // namespace chromeos | 509 } // namespace chromeos |
OLD | NEW |