Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2989)

Unified Diff: chrome/browser/extensions/api/settings_private/prefs_util.cc

Issue 1798733003: Add experimental accessibility features to Material Design settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_5_a11y_features
Patch Set: Add includes, fix whitespace Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/a11y_page/a11y_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/settings_private/prefs_util.cc
diff --git a/chrome/browser/extensions/api/settings_private/prefs_util.cc b/chrome/browser/extensions/api/settings_private/prefs_util.cc
index 5ec384c8d0d2d94d7ecfa7640ec5faf682e5a459..a509bbf20996a5ce4b2b3454aa47bc685e39c8b5 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -199,16 +199,26 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() {
settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.autoclick_delay_ms"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.a11y.caret_highlight"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.a11y.cursor_highlight"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.enable_menu"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.a11y.focus_highlight"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.high_contrast_enabled"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.large_cursor_enabled"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.screen_magnifier"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.a11y.select_to_speak"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.sticky_keys_enabled"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.a11y.switch_access"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.a11y.virtual_keyboard"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.clock.use_24hour_clock"] =
« no previous file with comments | « no previous file | chrome/browser/resources/settings/a11y_page/a11y_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698