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

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

Issue 12039058: content: convert zoom notifications to observer usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 87d2c1d4f7bf1b5ffc7f943a9abd369cb169e4dc..2c81c8c6c641c7e6d06c74bca601995ff5e41487 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -19,6 +19,7 @@
#include "chrome/browser/profiles/profile_impl_io_data.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/host_zoom_map.h"
class NetPrefObserver;
class PrefServiceSyncable;
@@ -159,6 +160,7 @@ class ProfileImpl : public Profile,
void InitHostZoomMap();
void OnDefaultZoomLevelChanged();
+ void OnZoomLevelChanged(const std::string& host);
void OnInitializationCompleted(PrefServiceBase* pref_service,
bool succeeded);
@@ -190,6 +192,7 @@ class ProfileImpl : public Profile,
int* max_size);
content::NotificationRegistrar registrar_;
+ content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_;
PrefChangeRegistrar pref_change_registrar_;
FilePath path_;
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl_unittest.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698