diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 02:26:30 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 02:26:30 +0000 |
commit | bbeae1b4351499ca2ab3082040a289f1dd493584 (patch) | |
tree | 88cb130fa46ffe70e0d437f953b92dc9011e41a2 /chrome/browser/dom_ui | |
parent | cd1b8530bbb6bb7351e2a54f0b23aedc16a4498a (diff) | |
download | chromium_src-bbeae1b4351499ca2ab3082040a289f1dd493584.zip chromium_src-bbeae1b4351499ca2ab3082040a289f1dd493584.tar.gz chromium_src-bbeae1b4351499ca2ab3082040a289f1dd493584.tar.bz2 |
Initial work on chrome-ui://extensions/ page. URL now displays a static template page
Review URL: http://codereview.chromium.org/28172
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_contents.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc index 6fd749f..fd6a5c3 100644 --- a/chrome/browser/dom_ui/dom_ui_contents.cc +++ b/chrome/browser/dom_ui/dom_ui_contents.cc @@ -10,6 +10,7 @@ #include "chrome/browser/dom_ui/downloads_ui.h" #include "chrome/browser/dom_ui/history_ui.h" #include "chrome/browser/dom_ui/new_tab_ui.h" +#include "chrome/browser/extensions/extensions_ui.h" #include "chrome/browser/renderer_host/render_view_host.h" #include "chrome/browser/tab_contents/navigation_entry.h" #include "chrome/common/resource_bundle.h" @@ -243,6 +244,8 @@ DOMUI* DOMUIContents::GetDOMUIForURL(const GURL &url) { return new HistoryUI(this); } else if (url.host() == DownloadsUI::GetBaseURL().host()) { return new DownloadsUI(this); + } else if (url.host() == ExtensionsUI::GetBaseURL().host()) { + return new ExtensionsUI(this); } else if (url.host() == DebuggerContents::GetBaseURL().host()) { return new DebuggerContents(this); } else if (url.host() == DevToolsUI::GetBaseURL().host()) { |