summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 17:47:58 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 17:47:58 +0000
commit9e4c033c4f88780c47ebf13ab4b9f180bf63df29 (patch)
treedcea8183f667edf646f7584064a2ca86af573471 /chrome/browser/tabs
parentd7e85c5dd9c2c8dfb38d1e7c6aacb1c3bd0bf590 (diff)
downloadchromium_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/tabs')
-rw-r--r--chrome/browser/tabs/tab_strip_model_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tabs/tab_strip_model_unittest.cc b/chrome/browser/tabs/tab_strip_model_unittest.cc
index 1f5e8e0..f8c1ed2 100644
--- a/chrome/browser/tabs/tab_strip_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_model_unittest.cc
@@ -30,7 +30,7 @@ class TabStripDummyDelegate : public TabStripModelDelegate {
virtual ~TabStripDummyDelegate() {}
// Overridden from TabStripModelDelegate:
- virtual GURL GetBlankTabURL() const { return NewTabUIURL(); }
+ virtual GURL GetBlankTabURL() const { return NewTabUI::GetBaseURL(); }
virtual void CreateNewStripWithContents(TabContents* contents,
const gfx::Rect& window_bounds,
const DockInfo& dock_info) {}
@@ -42,7 +42,7 @@ class TabStripDummyDelegate : public TabStripModelDelegate {
PageTransition::Type transition,
bool defer_load,
SiteInstance* instance) const {
- if (url == NewTabUIURL())
+ if (url == NewTabUI::GetBaseURL())
return dummy_contents_;
return NULL;
}