diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 17:47:58 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-25 17:47:58 +0000 |
commit | 9e4c033c4f88780c47ebf13ab4b9f180bf63df29 (patch) | |
tree | dcea8183f667edf646f7584064a2ca86af573471 /chrome/browser/tab_contents | |
parent | d7e85c5dd9c2c8dfb38d1e7c6aacb1c3bd0bf590 (diff) | |
download | chromium_src-9e4c033c4f88780c47ebf13ab4b9f180bf63df29.zip chromium_src-9e4c033c4f88780c47ebf13ab4b9f180bf63df29.tar.gz chromium_src-9e4c033c4f88780c47ebf13ab4b9f180bf63df29.tar.bz2 |
Enable history and downloads by default, port NewTabUI from DOMUIHost to DOMUI.
NewTabUI is only included on OS(WIN) because DOMUI doesn't appear to have been ported.
Review URL: http://codereview.chromium.org/28104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_factory.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_factory.cc b/chrome/browser/tab_contents/tab_contents_factory.cc index e6aa1a2..9a5063f 100644 --- a/chrome/browser/tab_contents/tab_contents_factory.cc +++ b/chrome/browser/tab_contents/tab_contents_factory.cc @@ -52,9 +52,6 @@ TabContents* TabContents::CreateWithType(TabContentsType type, // TODO(port): remove this platform define, either by porting the tab contents // types or removing them completely. #if defined(OS_WIN) - case TAB_CONTENTS_NEW_TAB_UI: - contents = new NewTabUIContents(profile, instance, NULL); - break; case TAB_CONTENTS_HTML_DIALOG: contents = new HtmlDialogContents(profile, instance, NULL); break; @@ -68,8 +65,7 @@ TabContents* TabContents::CreateWithType(TabContentsType type, contents = new BrowserAboutHandler(profile, instance, NULL); break; case TAB_CONTENTS_DEBUGGER: - contents = new DebuggerContents(profile, instance); - break; + case TAB_CONTENTS_NEW_TAB_UI: case TAB_CONTENTS_DOM_UI: contents = new DOMUIContents(profile, instance, NULL); break; |