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

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: Fix HostZOomMapBrowserTest. 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 51a65b1ff69864e5ca6814309149f0510efc50f2..bb64f22ac22b4e9afb684fce68d7e049ef2b79ca 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1024,11 +1024,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";
gab 2014/10/02 20:58:42 s/kProfileDefaultZoomLevel/kDefaultZoomLevelInProf
wjmaclean 2014/10/03 18:53:22 Done.
// 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