OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/dom_ui/dom_ui_contents.h" | 5 #include "chrome/browser/dom_ui/dom_ui_contents.h" |
6 | 6 |
7 #include "chrome/browser/debugger/debugger_contents.h" | 7 #include "chrome/browser/debugger/debugger_contents.h" |
8 #include "chrome/browser/dom_ui/dev_tools_ui.h" | 8 #include "chrome/browser/dom_ui/dev_tools_ui.h" |
9 #include "chrome/browser/dom_ui/dom_ui.h" | 9 #include "chrome/browser/dom_ui/dom_ui.h" |
10 #include "chrome/browser/dom_ui/downloads_ui.h" | 10 #include "chrome/browser/dom_ui/downloads_ui.h" |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 if (url.host() == DownloadsUI::GetBaseURL().host()) { | 281 if (url.host() == DownloadsUI::GetBaseURL().host()) { |
282 return new DownloadsUI(this); | 282 return new DownloadsUI(this); |
283 } | 283 } |
284 #if defined(OS_WIN) | 284 #if defined(OS_WIN) |
285 // TODO(port): include this once these are converted to HTML | 285 // TODO(port): include this once these are converted to HTML |
286 if (url.host() == ExtensionsUI::GetBaseURL().host()) { | 286 if (url.host() == ExtensionsUI::GetBaseURL().host()) { |
287 return new ExtensionsUI(this); | 287 return new ExtensionsUI(this); |
288 } | 288 } |
289 if (url.host() == DebuggerContents::GetBaseURL().host()) { | 289 if (url.host() == DebuggerContents::GetBaseURL().host()) { |
290 return new DebuggerContents(this); | 290 return new DebuggerContents(this); |
291 } | 291 } |
292 if (url.host() == DevToolsUI::GetBaseURL().host()) { | 292 if (url.host() == DevToolsUI::GetBaseURL().host()) { |
293 return new DevToolsUI(this); | 293 return new DevToolsUI(this); |
294 } | 294 } |
295 #else | 295 #else |
296 NOTIMPLEMENTED(); | 296 NOTIMPLEMENTED(); |
297 #endif | 297 #endif |
298 return NULL; | 298 return NULL; |
299 } | 299 } |
OLD | NEW |