From 5ae7e2decc28663478502be3817dc2979d10bf02 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Thu, 21 Jul 2011 18:02:38 +0000 Subject: 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 --- content/browser/tab_contents/tab_contents.cc | 9 --------- content/browser/tab_contents/tab_contents.h | 2 -- 2 files changed, 11 deletions(-) (limited to 'content') 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); -- cgit v1.1