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

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

Issue 2895943003: MD Settings: add missing Mac-only "tab to links" pref (Closed)
Patch Set: Created 3 years, 7 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/appearance_page/appearance_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 6e18b9caa2d0dc615fc6d6bf9cefd7599c543f92..7016dfcbdce3251d0553016f781e76333df46871 100644
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -120,6 +120,10 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetWhitelistedKeys() {
settings_private::PrefType::PREF_TYPE_STRING;
(*s_whitelist)[::prefs::kDefaultCharset] =
settings_private::PrefType::PREF_TYPE_STRING;
+#if defined(OS_MACOSX)
+ (*s_whitelist)[::prefs::kWebkitTabsToLinks] =
+ settings_private::PrefType::PREF_TYPE_BOOLEAN;
+#endif
// On startup.
(*s_whitelist)[::prefs::kRestoreOnStartup] =
« no previous file with comments | « no previous file | chrome/browser/resources/settings/appearance_page/appearance_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698