summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 20:46:10 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 20:46:10 +0000
commitfb5ff42de60ba3414929634fe39452dae3e00038 (patch)
tree3697f8b4d5a8e0fc55bd620ac526a252318b5484 /chrome
parent266869fcc3ec4e68f7c6f2e7d2060f8f5bb6a9dd (diff)
downloadchromium_src-fb5ff42de60ba3414929634fe39452dae3e00038.zip
chromium_src-fb5ff42de60ba3414929634fe39452dae3e00038.tar.gz
chromium_src-fb5ff42de60ba3414929634fe39452dae3e00038.tar.bz2
Make reopen tabs work in Extension Windows.
BUG=http://crbug.com/43101 TEST=Close a tab within an Extension Window and reopen it. It should work just like restoring a tab works today. Review URL: http://codereview.chromium.org/1884001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 32a15ca..6027417 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2109,8 +2109,8 @@ void Browser::CreateHistoricalTab(TabContents* contents) {
return;
}
- // We only create historical tab entries for normal tabbed browser windows.
- if (type() == TYPE_NORMAL) {
+ // We only create historical tab entries for tabbed browser windows.
+ if (SupportsWindowFeature(FEATURE_TABSTRIP)) {
profile()->GetTabRestoreService()->CreateHistoricalTab(
&contents->controller());
}