Add 5 experimental accessibility features on Chrome OS.
This just adds the boilerplate for five new accessibility features and hides
them behind a flag. All five have been prototyped and are ready for
implementation.
The first three are related, they just provide visual highlighting to
help low-vision users keep track of things on the screen:
* Caret highlight
* Cursor highlight
* Focus highlight
Hold down a key and click or drag to speak any visible text on screen
* Select to speak
Control the whole computer with a single switch (for motor impaired users)
* Switch access
For now, there's no need to put these in the tray. They can graduate to the
tray when they launch.
BUG=314889,593887,593885
Review URL: https://codereview.chromium.org/1785833002
Cr-Commit-Position: refs/heads/master@{#381353}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index bfabb90..9b496f8 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1800,6 +1800,13 @@
IDS_FLAGS_PROTECT_SYNC_CREDENTIAL_ON_REAUTH_DESCRIPTION, kOsAll,
FEATURE_VALUE_TYPE(
password_manager::features::kProtectSyncCredentialOnReauth)},
+#if defined(OS_CHROMEOS)
+ {"enable-experimental-accessibility-features",
+ IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_NAME,
+ IDS_FLAGS_EXPERIMENTAL_ACCESSIBILITY_FEATURES_DESCRIPTION, kOsCrOS,
+ SINGLE_VALUE_TYPE(
+ chromeos::switches::kEnableExperimentalAccessibilityFeatures)},
+#endif
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.