diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-05 17:01:18 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-05 17:01:18 +0000 |
commit | 553602e16e938000f103cc7d58e4aac3247508d7 (patch) | |
tree | e35c5fcb46d36b4baf3b4a18a86171001df6c55a /chrome/browser/prerender | |
parent | a6721299849fff3b25e7b2a0e6f16aa0df7a9b11 (diff) | |
download | chromium_src-553602e16e938000f103cc7d58e4aac3247508d7.zip chromium_src-553602e16e938000f103cc7d58e4aac3247508d7.tar.gz chromium_src-553602e16e938000f103cc7d58e4aac3247508d7.tar.bz2 |
Move dispatching and sending of the last extension specific messages out of TabContents and RenderView.I added a TabContents::Registrar helper class for allowing classing to temporarily observe a TabContents. This allows them to easily and safetly filter IPC messages. I used this for ExecuteCodeInTabFunction.
Review URL: http://codereview.chromium.org/6794035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender')
-rw-r--r-- | chrome/browser/prerender/prerender_contents.cc | 5 | ||||
-rw-r--r-- | chrome/browser/prerender/prerender_contents.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc index 166f4f9..51fa15d 100644 --- a/chrome/browser/prerender/prerender_contents.cc +++ b/chrome/browser/prerender/prerender_contents.cc @@ -372,11 +372,6 @@ WebPreferences PrerenderContents::GetWebkitPrefs() { false); // is_web_ui } -void PrerenderContents::ProcessWebUIMessage( - const ExtensionHostMsg_DomMessage_Params& params) { - render_view_host_->BlockExtensionRequest(params.request_id); -} - void PrerenderContents::CreateNewWindow( int route_id, const ViewHostMsg_CreateWindow_Params& params) { diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h index 9db6e4c..13569d2 100644 --- a/chrome/browser/prerender/prerender_contents.h +++ b/chrome/browser/prerender/prerender_contents.h @@ -116,8 +116,6 @@ class PrerenderContents : public RenderViewHostDelegate, int32 page_id, const std::wstring& title); virtual WebPreferences GetWebkitPrefs(); - virtual void ProcessWebUIMessage( - const ExtensionHostMsg_DomMessage_Params& params); virtual void RunJavaScriptMessage(const std::wstring& message, const std::wstring& default_prompt, const GURL& frame_url, |