summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 11:46:51 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 11:46:51 +0000
commit5b928b61b71e42778c5dc5d62a913e6784f4df99 (patch)
treed71856ed72f8205e8c2b85c584dc9952630b8d44 /chrome/browser/browser.h
parent450429a92e89e71de860f2158efd626795c9b830 (diff)
downloadchromium_src-5b928b61b71e42778c5dc5d62a913e6784f4df99.zip
chromium_src-5b928b61b71e42778c5dc5d62a913e6784f4df99.tar.gz
chromium_src-5b928b61b71e42778c5dc5d62a913e6784f4df99.tar.bz2
Only close a newly opened download tab if there's more than one tab.
BUG=45464,10764 TEST=See first bug for manual test. Review URL: http://codereview.chromium.org/3029040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 593fa8d..c8f746c 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -719,7 +719,7 @@ class Browser : public TabStripModelDelegate,
virtual void SetFocusToLocationBar(bool select_all);
virtual void RenderWidgetShowing();
virtual int GetExtraRenderViewHeight() const;
- virtual void OnStartDownload(DownloadItem* download);
+ virtual void OnStartDownload(DownloadItem* download, TabContents* tab);
virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
Profile* profile);
virtual void ShowPageInfo(Profile* profile,