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

Unified Diff: chrome/common/pref_names.cc

Issue 541103002: Introduce ChromeZoomLevelPref, make zoom level prefs independent of profile prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to fix scoped_refptr conversion. Created 6 years, 3 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 431de5a7a64924afcccae1eb96b9c03748b19f37..c55f254138d4a87741cfdcc7c3a590b4e8e7f2fb 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1023,11 +1023,15 @@ const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies";
const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit";
// Double that indicates the default zoom level.
-const char kDefaultZoomLevel[] = "profile.default_zoom_level";
+const char kDefaultZoomLevel[] = "partition.default_zoom_level";
+// TODO(wjmaclean): Remove this.
+const char kProfileDefaultZoomLevel[] = "profile.default_zoom_level";
// Dictionary that maps hostnames to zoom levels. Hosts not in this pref will
// be displayed at the default zoom level.
-const char kPerHostZoomLevels[] = "profile.per_host_zoom_levels";
+const char kPerHostZoomLevels[] = "partition.per_host_zoom_levels";
+// TODO(wjmaclean): Remove this.
+const char kProfilePerHostZoomLevels[] = "profile.per_host_zoom_levels";
// A dictionary that tracks the default data model to use for each section of
// the dialog.

Powered by Google App Engine
This is Rietveld 408576698