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