diff options
author | kalman <kalman@chromium.org> | 2015-03-31 15:16:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-31 22:17:30 +0000 |
commit | 65c1563455f1c779a318ded3fa357c769b4dc027 (patch) | |
tree | e60f705fe70f01f3c4873a27c3ea0875cfeb41b3 /extensions/shell/renderer | |
parent | 4fecce00601126187231f7dd8a2f17c9b142b827 (diff) | |
download | chromium_src-65c1563455f1c779a318ded3fa357c769b4dc027.zip chromium_src-65c1563455f1c779a318ded3fa357c769b4dc027.tar.gz chromium_src-65c1563455f1c779a318ded3fa357c769b4dc027.tar.bz2 |
Forward Blink's didCreateScriptContext event to RenderFrameObserver rather than ContentRendererClient.
This is consistent with willReleaseScriptContext, an event that was moved to
RenderFrameObserver at some point in the past, and really all document
lifecycle, frame-specific state events are tied to RenderFrameObserver.
Motivation is because I'm about to add some more events which will go on
RenderFrameObserver.
R=nasko@chromium.org
Review URL: https://codereview.chromium.org/1040403003
Cr-Commit-Position: refs/heads/master@{#323126}
Diffstat (limited to 'extensions/shell/renderer')
-rw-r--r-- | extensions/shell/renderer/shell_content_renderer_client.cc | 9 | ||||
-rw-r--r-- | extensions/shell/renderer/shell_content_renderer_client.h | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc index cedcc1f..967972d 100644 --- a/extensions/shell/renderer/shell_content_renderer_client.cc +++ b/extensions/shell/renderer/shell_content_renderer_client.cc @@ -110,15 +110,6 @@ bool ShellContentRendererClient::WillSendRequest( return false; } -void ShellContentRendererClient::DidCreateScriptContext( - blink::WebLocalFrame* frame, - v8::Handle<v8::Context> context, - int extension_group, - int world_id) { - extension_dispatcher_->DidCreateScriptContext( - frame, context, extension_group, world_id); -} - const void* ShellContentRendererClient::CreatePPAPIInterface( const std::string& interface_name) { #if !defined(DISABLE_NACL) diff --git a/extensions/shell/renderer/shell_content_renderer_client.h b/extensions/shell/renderer/shell_content_renderer_client.h index 6b35a12..c95e1e1 100644 --- a/extensions/shell/renderer/shell_content_renderer_client.h +++ b/extensions/shell/renderer/shell_content_renderer_client.h @@ -41,10 +41,6 @@ class ShellContentRendererClient : public content::ContentRendererClient { const GURL& url, const GURL& first_party_for_cookies, GURL* new_url) override; - void DidCreateScriptContext(blink::WebLocalFrame* frame, - v8::Handle<v8::Context> context, - int extension_group, - int world_id) override; const void* CreatePPAPIInterface(const std::string& interface_name) override; bool IsExternalPepperPlugin(const std::string& module_name) override; bool ShouldEnableSiteIsolationPolicy() const override; |