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

Unified Diff: chrome/browser/profiles/profile.h

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: Remove obsolete access of ZoomController from WebUILoginView. 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
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl_unittest.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index b78b8bb9c242be3337233c923543893c06b18ff1..c3b2983c6e4e979a387010f81249de39819bef9d 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -36,6 +36,10 @@ class SequencedTaskRunner;
class Time;
}
+namespace chrome {
+class ChromeZoomLevelPrefs;
+}
+
namespace chrome_browser_net {
class Predictor;
}
@@ -220,6 +224,11 @@ class Profile : public content::BrowserContext {
// preferences for this user profile.
virtual PrefService* GetPrefs() = 0;
+ // Retrieves a pointer to the PrefService that manages the default zoom
+ // level and the per-host zoom levels for this user profile.
+ // TODO(wjmaclean): Remove this when HostZoomMap migrates to StoragePartition.
+ virtual chrome::ChromeZoomLevelPrefs* GetZoomLevelPrefs();
+
// Retrieves a pointer to the PrefService that manages the preferences
// for OffTheRecord Profiles. This PrefService is lazily created the first
// time that this method is called.
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl_unittest.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698