summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/dom_ui_contents.cc
diff options
context:
space:
mode:
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;
}