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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.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: 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/browser/ui/prefs/prefs_tab_helper.h
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.h b/chrome/browser/ui/prefs/prefs_tab_helper.h
index f97410d864ec9e412d8b734c55185e9fa913e2a4..5ee7b192824ee2e1e8e4ffbf3e0517313bb1a11a 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.h
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.h
@@ -52,12 +52,14 @@ class PrefsTabHelper : public content::NotificationObserver,
Profile* GetProfile();
+ void UpdateAfterZoomLevelPrefsInitialized(bool success);
void OnFontFamilyPrefChanged(const std::string& pref_name);
void OnWebPrefChanged(const std::string& pref_name);
content::WebContents* web_contents_;
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
+ PrefChangeRegistrar zoom_level_pref_change_registrar_;
scoped_ptr<base::CallbackList<void(void)>::Subscription>
style_sheet_subscription_;
base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698