From fba16f51d79a27b275cd858d9e888c1ace518972 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 2 Apr 2009 22:30:35 +0000 Subject: Only create one downloads tab per window. If there is already a Downloads tab, then switch to it instead of creating new one. Introduce FOCUS_SINGLETON_TAB disposition. patch by Mohamed Mansour Review URL: http://codereview.chromium.org/60062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13045 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/external_tab_container.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/external_tab_container.cc') diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index 538ed445..9ac5706 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -191,6 +191,7 @@ void ExternalTabContainer::OpenURLFromTab(TabContents* source, PageTransition::Type transition) { switch (disposition) { case CURRENT_TAB: + case SINGLETON_TAB: case NEW_FOREGROUND_TAB: case NEW_BACKGROUND_TAB: case NEW_WINDOW: -- cgit v1.1