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

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

Issue 1785833002: Add 5 experimental accessibility features on Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ported to md-settings too 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
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 ddc13071d5d2d62d41b1629514817344a67de7cd..6783ea115bcb99846777a6df75bad1c7a25ffccb 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -197,16 +197,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"] =

Powered by Google App Engine
This is Rietveld 408576698