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

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: Revised Created 6 years, 2 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 5e2a324c5b8abbb3858e0df6f0c6eb85645364ca..8e55759ab839e5124a097b48d762c5ae3a155a24 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1028,11 +1028,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.
battre 2014/10/06 14:33:51 Please add a bug number and explain why to remove
wjmaclean 2014/10/06 16:58:13 Done.
+const char kDefaultZoomLevelInProfile[] = "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 kPerHostZoomLevelsInProfile[] = "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