Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: chrome/browser/tab_contents/tab_contents_factory.cc

Issue 28104: Enable history and downloads by default, port NewTabUI from DOMUIHost to DOMU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/tab_contents_factory.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents_factory.cc (revision 10343)
+++ chrome/browser/tab_contents/tab_contents_factory.cc (working copy)
@@ -52,9 +52,6 @@
// 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 @@
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;
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698