diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-01 19:56:03 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-01 19:56:03 +0000 |
commit | e48869a1cbcc07f09bd9d8c6f9e17bf506d86fa6 (patch) | |
tree | dc56d70f1f52cc3cb67696a1145217ba0db0f305 /chrome/renderer/chrome_content_renderer_client.h | |
parent | 9910416172ac0fafb0e8544fcc0f246d896b9fe7 (diff) | |
download | chromium_src-e48869a1cbcc07f09bd9d8c6f9e17bf506d86fa6.zip chromium_src-e48869a1cbcc07f09bd9d8c6f9e17bf506d86fa6.tar.gz chromium_src-e48869a1cbcc07f09bd9d8c6f9e17bf506d86fa6.tar.bz2 |
Remove the rest of the extension dependencies from content\renderer.
Review URL: http://codereview.chromium.org/6706004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/chrome_content_renderer_client.h')
-rw-r--r-- | chrome/renderer/chrome_content_renderer_client.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h index 4d90a92..d69d638 100644 --- a/chrome/renderer/chrome_content_renderer_client.h +++ b/chrome/renderer/chrome_content_renderer_client.h @@ -18,6 +18,7 @@ namespace chrome { class ChromeContentRendererClient : public content::ContentRendererClient { public: + virtual void RenderViewCreated(RenderView* render_view); virtual SkBitmap* GetSadPluginBitmap(); virtual std::string GetDefaultEncoding(); virtual WebKit::WebPlugin* CreatePlugin( @@ -30,6 +31,16 @@ class ChromeContentRendererClient : public content::ContentRendererClient { virtual std::string DetermineTextLanguage(const string16& text); virtual bool RunIdleHandlerWhenWidgetsHidden(); virtual bool AllowPopup(const GURL& creator); + virtual bool ShouldFork(WebKit::WebFrame* frame, + const GURL& url, + bool is_content_initiated, + bool* send_referrer); + virtual bool WillSendRequest(WebKit::WebFrame* frame, + const GURL& url, + GURL* new_url); + virtual void DidCreateScriptContext(WebKit::WebFrame* frame); + virtual void DidDestroyScriptContext(WebKit::WebFrame* frame); + virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame); private: WebKit::WebPlugin* CreatePluginPlaceholder( |