diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 20:17:00 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 20:17:00 +0000 |
commit | 0ed164e1bbe8bde1b5be616c10ef46388ea78079 (patch) | |
tree | f3245ca128c4240c37c47a7501faa985951e634e /chrome/browser/tab_contents | |
parent | 0654b7ba355aab9435a54cf9b5a7397ffc308b45 (diff) | |
download | chromium_src-0ed164e1bbe8bde1b5be616c10ef46388ea78079.zip chromium_src-0ed164e1bbe8bde1b5be616c10ef46388ea78079.tar.gz chromium_src-0ed164e1bbe8bde1b5be616c10ef46388ea78079.tar.bz2 |
Remove the TAB_CONTENTS_NEW_TAB_UI tab contents type. This was not actually used
now, so everytime this appears was dead code.
Review URL: http://codereview.chromium.org/39200
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/navigation_controller.cc | 1 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_factory.cc | 1 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_type.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/tab_contents/navigation_controller.cc b/chrome/browser/tab_contents/navigation_controller.cc index 850a865..a35f454 100644 --- a/chrome/browser/tab_contents/navigation_controller.cc +++ b/chrome/browser/tab_contents/navigation_controller.cc @@ -54,7 +54,6 @@ void NotifyPrunedEntries(NavigationController* nav_controller, void SetContentStateIfEmpty(NavigationEntry* entry) { if (entry->content_state().empty() && (entry->tab_type() == TAB_CONTENTS_WEB || - entry->tab_type() == TAB_CONTENTS_NEW_TAB_UI || entry->tab_type() == TAB_CONTENTS_DOM_UI || entry->tab_type() == TAB_CONTENTS_HTML_DIALOG || entry->IsViewSourceMode())) { diff --git a/chrome/browser/tab_contents/tab_contents_factory.cc b/chrome/browser/tab_contents/tab_contents_factory.cc index 01db2d1..fa8787e 100644 --- a/chrome/browser/tab_contents/tab_contents_factory.cc +++ b/chrome/browser/tab_contents/tab_contents_factory.cc @@ -55,7 +55,6 @@ TabContents* TabContents::CreateWithType(TabContentsType type, break; #endif // defined(OS_WIN) case TAB_CONTENTS_DEBUGGER: - case TAB_CONTENTS_NEW_TAB_UI: case TAB_CONTENTS_DOM_UI: contents = new DOMUIContents(profile, instance, NULL); break; diff --git a/chrome/browser/tab_contents/tab_contents_type.h b/chrome/browser/tab_contents/tab_contents_type.h index 517e5a9..28ee69f 100644 --- a/chrome/browser/tab_contents/tab_contents_type.h +++ b/chrome/browser/tab_contents/tab_contents_type.h @@ -13,7 +13,6 @@ enum TabContentsType { TAB_CONTENTS_UNKNOWN_TYPE = 0, TAB_CONTENTS_WEB, TAB_CONTENTS_CHROME_VIEW_CONTENTS, - TAB_CONTENTS_NEW_TAB_UI, TAB_CONTENTS_HTML_DIALOG, TAB_CONTENTS_DEBUGGER, TAB_CONTENTS_DOM_UI, |