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

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

Issue 1707613002: MD Settings: Start device page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixup Created 4 years, 10 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 8baca8b225eddca0375308ce575b142ab13588a1..3e03c8f58c7d191e2db18a86f9f8e0af155ed7a9 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -220,6 +220,12 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() {
settings_private::PrefType::PREF_TYPE_BOOLEAN;
(*s_whitelist)["settings.internet.wake_on_wifi_darkconnect"] =
settings_private::PrefType::PREF_TYPE_BOOLEAN;
+
+ // Input settings.
+ (*s_whitelist)["settings.touchpad.enable_tap_to_click"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
+ (*s_whitelist)["settings.touchpad.natural_scroll"] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
#else
(*s_whitelist)["intl.accept_languages"] =
settings_private::PrefType::PREF_TYPE_STRING;

Powered by Google App Engine
This is Rietveld 408576698