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

Unified Diff: content/browser/host_zoom_map_impl.h

Issue 9416070: Move creation and ownership of HostZoomMap to content instead of having every embedder do this. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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: content/browser/host_zoom_map_impl.h
===================================================================
--- content/browser/host_zoom_map_impl.h (revision 122827)
+++ content/browser/host_zoom_map_impl.h (working copy)
@@ -12,6 +12,7 @@
#include "base/compiler_specific.h"
#include "base/message_loop_helpers.h"
+#include "base/supports_user_data.h"
#include "base/synchronization/lock.h"
#include "content/public/browser/host_zoom_map.h"
#include "content/public/browser/notification_observer.h"
@@ -21,7 +22,8 @@
// to notifications on there (and holds a NotificationRegistrar).
class CONTENT_EXPORT HostZoomMapImpl
: public NON_EXPORTED_BASE(content::HostZoomMap),
- public content::NotificationObserver {
+ public content::NotificationObserver,
+ public base::SupportsUserData::Data {
public:
HostZoomMapImpl();

Powered by Google App Engine
This is Rietveld 408576698