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

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: 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/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..c5760241aa0633993c674aeddd72ea3e6c42f46e 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.h
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.h
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/prefs/pref_change_registrar.h"
+#include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents_user_data.h"
@@ -60,6 +61,8 @@ class PrefsTabHelper : public content::NotificationObserver,
PrefChangeRegistrar pref_change_registrar_;
scoped_ptr<base::CallbackList<void(void)>::Subscription>
style_sheet_subscription_;
+ scoped_ptr<chrome::ChromeZoomLevelPrefs::DefaultZoomLevelSubscription>
+ default_zoom_level_subscription_;
base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper);

Powered by Google App Engine
This is Rietveld 408576698