diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 14:20:35 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 14:20:35 +0000 |
commit | c62c75750f27acc86c0505d66837a72755aeb5bf (patch) | |
tree | bcedb0dfd21b6dfb30d59fb7434909ab3d97378c /chrome/browser/dom_ui | |
parent | 6c85aa0142643695b48b76e6f1e02f58d191e712 (diff) | |
download | chromium_src-c62c75750f27acc86c0505d66837a72755aeb5bf.zip chromium_src-c62c75750f27acc86c0505d66837a72755aeb5bf.tar.gz chromium_src-c62c75750f27acc86c0505d66837a72755aeb5bf.tar.bz2 |
Enable new tab page for Mac and Linux
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_contents.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc index 68b05d9..6fd749f 100644 --- a/chrome/browser/dom_ui/dom_ui_contents.cc +++ b/chrome/browser/dom_ui/dom_ui_contents.cc @@ -233,12 +233,13 @@ const std::string DOMUIContents::GetScheme() { } DOMUI* DOMUIContents::GetDOMUIForURL(const GURL &url) { -#if defined(OS_WIN) -// TODO(port): include this once these are converted to HTML if (url.host() == NewTabUI::GetBaseURL().host() || url.SchemeIs(chrome::kChromeInternalScheme)) { return new NewTabUI(this); - } else if (url.host() == HistoryUI::GetBaseURL().host()) { + } +#if defined(OS_WIN) +// TODO(port): include this once these are converted to HTML + if (url.host() == HistoryUI::GetBaseURL().host()) { return new HistoryUI(this); } else if (url.host() == DownloadsUI::GetBaseURL().host()) { return new DownloadsUI(this); |