diff options
author | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 19:22:57 +0000 |
---|---|---|
committer | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-15 19:22:57 +0000 |
commit | cd9ed79d37636c40bde1f2f7fdb93aadd9542ec1 (patch) | |
tree | 4c8ce6c0017caaaa014f5edef463f1a60d8d6532 /testing | |
parent | 033e0ac1862d984563f313992fb9b9de08b030df (diff) | |
download | chromium_src-cd9ed79d37636c40bde1f2f7fdb93aadd9542ec1.zip chromium_src-cd9ed79d37636c40bde1f2f7fdb93aadd9542ec1.tar.gz chromium_src-cd9ed79d37636c40bde1f2f7fdb93aadd9542ec1.tar.bz2 |
Add SwappedOut to TabContentsDelegate to allow us to correctly delete TabContents.
When a page has an unload handler and we swap it out to make way for a Prerendered tab, we expect a call to the TabContentsDelegate when it closes. For cross-site navigations, we don't get that message as the RenderViewHost is swapped instead of closing.
BUG=103966
TEST=Enable prerender from omnibox (and ensure it's not disabled by field trial) and repeatedly navigate between cnn.com and telegraph.co.uk in the Omnibox. Note in the TaskManager that you do not see zombie Tab processes.
Review URL: http://codereview.chromium.org/8539027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions