summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents_delegate.h
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 23:43:08 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 23:43:08 +0000
commit8a2ce5a0289e90af76c526009c5dfcf6c5048a59 (patch)
tree38da729456e102e72c61402dcad3c14f13ef8799 /chrome/browser/tab_contents_delegate.h
parent8da5f94f076fa06dd4a9482e9cb5ae4d77df3af9 (diff)
downloadchromium_src-8a2ce5a0289e90af76c526009c5dfcf6c5048a59.zip
chromium_src-8a2ce5a0289e90af76c526009c5dfcf6c5048a59.tar.gz
chromium_src-8a2ce5a0289e90af76c526009c5dfcf6c5048a59.tar.bz2
Don't terminate the process when a tab becomes unresponsive during
unload/beforeunload. Instead, just call close on it. If two tabs are in the same process, then terminating the process is totally wrong. This also avoids the bugs where we show sad tab, or don't remove the tab from the tabstrip. Also, remove a couple of bogus DCHECKS. BUG=1314995,1301757 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents_delegate.h')
-rw-r--r--chrome/browser/tab_contents_delegate.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/tab_contents_delegate.h b/chrome/browser/tab_contents_delegate.h
index 2dd077c7d..30d6cbc 100644
--- a/chrome/browser/tab_contents_delegate.h
+++ b/chrome/browser/tab_contents_delegate.h
@@ -190,9 +190,6 @@ class TabContentsDelegate : public PageNavigator {
bool* proceed_to_fire_unload) {
*proceed_to_fire_unload = true;
}
-
- // Tells us that we've finished firing this tab's unload event.
- virtual void UnloadFired(TabContents* tab) {}
};
#endif // CHROME_BROWSER_TAB_CONTENTS_DELEGATE_H__