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

Unified Diff: content/browser/loader/resource_message_filter.h

Issue 2007203002: Revert of Add FrameHost mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU failure on revert Created 4 years, 7 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/loader/resource_message_filter.h
diff --git a/content/browser/loader/resource_message_filter.h b/content/browser/loader/resource_message_filter.h
index d4c059a08cd4bd1e81a11d5a18a59a4307ca4905..bb2dadd66fa96e099f92fc82de47948fc07ec11b 100644
--- a/content/browser/loader/resource_message_filter.h
+++ b/content/browser/loader/resource_message_filter.h
@@ -10,6 +10,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "content/browser/host_zoom_level_context.h"
#include "content/common/content_export.h"
#include "content/public/browser/browser_message_filter.h"
#include "content/public/common/resource_type.h"
@@ -54,6 +55,7 @@ class CONTENT_EXPORT ResourceMessageFilter : public BrowserMessageFilter {
ChromeBlobStorageContext* blob_storage_context,
storage::FileSystemContext* file_system_context,
ServiceWorkerContextWrapper* service_worker_context,
+ HostZoomLevelContext* host_zoom_level_context,
const GetContextsCallback& get_contexts_callback);
// BrowserMessageFilter implementation.
@@ -86,6 +88,10 @@ class CONTENT_EXPORT ResourceMessageFilter : public BrowserMessageFilter {
return service_worker_context_.get();
}
+ // Returns a raw pointer to the HostZoomLevelContext's associated HostZoomMap,
+ // or NULL if no context is present.
+ const HostZoomMap* GetHostZoomMap() const;
+
int child_id() const { return child_id_; }
int process_type() const { return process_type_; }
@@ -105,6 +111,7 @@ class CONTENT_EXPORT ResourceMessageFilter : public BrowserMessageFilter {
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
scoped_refptr<storage::FileSystemContext> file_system_context_;
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
+ scoped_refptr<HostZoomLevelContext> host_zoom_level_context_;
GetContextsCallback get_contexts_callback_;
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/loader/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698