summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 18:02:38 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-21 18:02:38 +0000
commit5ae7e2decc28663478502be3817dc2979d10bf02 (patch)
tree7a9c085ea971157258e922ffce18d58fa991c4c6 /content
parentd4166424a498ede682244be90a63d1b5938ee000 (diff)
downloadchromium_src-5ae7e2decc28663478502be3817dc2979d10bf02.zip
chromium_src-5ae7e2decc28663478502be3817dc2979d10bf02.tar.gz
chromium_src-5ae7e2decc28663478502be3817dc2979d10bf02.tar.bz2
Delete TabContents::OnCrossSiteResponse
This code was never called, because TabContents doesn't implement the interface that calls this method. I assume it was moved to the class this was forwarding to. I tried to track down when this happened in the history but we've moved code so many times I couldn't find it. Review URL: http://codereview.chromium.org/7467009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/tab_contents/tab_contents.cc9
-rw-r--r--content/browser/tab_contents/tab_contents.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index bbc1e7e..0981985 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1723,15 +1723,6 @@ void TabContents::OnIgnoredUIEvent() {
}
}
-void TabContents::OnCrossSiteResponse(int new_render_process_host_id,
- int new_request_id) {
- // Allows the TabContents to react when a cross-site response is ready to be
- // delivered to a pending RenderViewHost. We must first run the onunload
- // handler of the old RenderViewHost before we can allow it to proceed.
- render_manager_.OnCrossSiteResponse(new_render_process_host_id,
- new_request_id);
-}
-
void TabContents::RendererUnresponsive(RenderViewHost* rvh,
bool is_during_unload) {
// Don't show hung renderer dialog for a swapped out RVH.
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 5d60b26..51b54ae 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -667,8 +667,6 @@ class TabContents : public PageNavigator,
virtual WebPreferences GetWebkitPrefs();
virtual void OnUserGesture();
virtual void OnIgnoredUIEvent();
- virtual void OnCrossSiteResponse(int new_render_process_host_id,
- int new_request_id);
virtual void RendererUnresponsive(RenderViewHost* render_view_host,
bool is_during_unload);
virtual void RendererResponsive(RenderViewHost* render_view_host);