summaryrefslogtreecommitdiffstats
path: root/content/browser/content_browser_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/content_browser_client.h')
-rw-r--r--content/browser/content_browser_client.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 7772188..2de7751 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -34,7 +34,14 @@ class ContentBrowserClient {
// Notifies that a new RenderHostView has been created.
virtual void RenderViewHostCreated(RenderViewHost* render_view_host);
- // Notifies that a BrowserRenderProcessHost has been created.
+ // Initialize a RenderViewHost before its CreateRenderView method is called.
+ virtual void PreCreateRenderView(RenderViewHost* render_view_host,
+ Profile* profile,
+ const GURL& url);
+
+ // Notifies that a BrowserRenderProcessHost has been created. This is called
+ // before the content layer adds its own BrowserMessageFilters, so that the
+ // embedder's IPC filters have priority.
virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host);
// Notifies that a WorkerProcessHost has been created.