summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/dom_ui_contents.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 14:02:12 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 14:02:12 +0000
commit1fe8d83df42e5e80db2fd9d092a282881fbb1dce (patch)
treecaa489a63c532d372f4957bf0712a95bffcb536e /chrome/browser/dom_ui/dom_ui_contents.cc
parent6d4480b50022d0eaee080b86be3a304a46b0454d (diff)
downloadchromium_src-1fe8d83df42e5e80db2fd9d092a282881fbb1dce.zip
chromium_src-1fe8d83df42e5e80db2fd9d092a282881fbb1dce.tar.gz
chromium_src-1fe8d83df42e5e80db2fd9d092a282881fbb1dce.tar.bz2
Add "new tab" ui to the build and remove some of the scaffolding. Fix compatibility issues with GCC.
Review URL: http://codereview.chromium.org/28088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui_contents.cc')
-rw-r--r--chrome/browser/dom_ui/dom_ui_contents.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc
index 89c35f2..8e401a0 100644
--- a/chrome/browser/dom_ui/dom_ui_contents.cc
+++ b/chrome/browser/dom_ui/dom_ui_contents.cc
@@ -191,10 +191,15 @@ bool DOMUIContents::NavigateToPendingEntry(bool reload) {
}
DOMUI* DOMUIContents::GetDOMUIForURL(const GURL &url) {
+#if defined(OS_WIN)
+// TODO(port): Include when history and downloads are HTML UI.
if (url.host() == HistoryUI::GetBaseURL().host())
return new HistoryUI(this);
else if (url.host() == DownloadsUI::GetBaseURL().host())
return new DownloadsUI(this);
+#else
+ NOTIMPLEMENTED();
+#endif
return NULL;
}