summaryrefslogtreecommitdiffstats
path: root/content/browser/content_browser_client.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 04:32:28 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 04:32:28 +0000
commit52836b694190e9deae90e4bfce2cced4545849f4 (patch)
tree48bbaa88a7533bd0d1c4699c92dec918a545a70b /content/browser/content_browser_client.h
parent8164ae1c8061f04a3da53ee01e7134ab540db66a (diff)
downloadchromium_src-52836b694190e9deae90e4bfce2cced4545849f4.zip
chromium_src-52836b694190e9deae90e4bfce2cced4545849f4.tar.gz
chromium_src-52836b694190e9deae90e4bfce2cced4545849f4.tar.bz2
Move ExtensionFunctionDispatcher to ExtensionTabHelper. This
sets the stage for us to expose certain extension functions to content scripts and normal web pages. This required two major structural changes: 1. Made EFD stateless, except for the pointer to its delegate. This is important to gracefully handle the case of a RVH navigating between different extensions or even to normal web content. Especially in the case of TabContents, where the entire RVH can be torn down and replaced during navigation. 2. Centralize all per-(extension, RVH) setup in ChromeContentBrowserClient::RenderViewCreated(). In particular, responsibility for enabling extension bindings was very spread out before, making it hard to follow when exactly they were enabled. BUG=80308 Review URL: http://codereview.chromium.org/6927076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/content_browser_client.h')
-rw-r--r--content/browser/content_browser_client.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 2de7751..7772188 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -34,14 +34,7 @@ class ContentBrowserClient {
// Notifies that a new RenderHostView has been created.
virtual void RenderViewHostCreated(RenderViewHost* render_view_host);
- // 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.
+ // Notifies that a BrowserRenderProcessHost has been created.
virtual void BrowserRenderProcessHostCreated(BrowserRenderProcessHost* host);
// Notifies that a WorkerProcessHost has been created.