summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 16:42:05 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 16:42:05 +0000
commit06f666707b420f11a454929e4de0fbb843d71d55 (patch)
treeb0e242e2edda142f36619046ce4936b19dd4b137 /chrome/browser/browser.cc
parent1cfe52b37f422bc5305e3f0a9c0172990312549e (diff)
downloadchromium_src-06f666707b420f11a454929e4de0fbb843d71d55.zip
chromium_src-06f666707b420f11a454929e4de0fbb843d71d55.tar.gz
chromium_src-06f666707b420f11a454929e4de0fbb843d71d55.tar.bz2
Reverting 14948.
Broke the Mac build. TBR=ben Review URL: http://codereview.chromium.org/99224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index dc86bcb..f931187 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1525,15 +1525,6 @@ bool Browser::RunUnloadListenerBeforeClosing(TabContents* contents) {
return false;
}
-bool Browser::CanCloseContentsAt(int index) {
- if (tabstrip_model_.count() > 1)
- return true;
- // We are closing the last tab for this browser. Make sure to check for
- // in-progress downloads.
- // Note that the next call when it returns false will ask the user for
- // confirmation before closing the browser if the user decides so.
- return CanCloseWithInProgressDownloads();
-}
///////////////////////////////////////////////////////////////////////////////
// Browser, TabStripModelObserver implementation: