Chromium Code Reviews| Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
| diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
| index fc43f0d61a8ed563fc228dff359009de716304e8..2c6825cdf00fb61faff73aafe54c17e591a6ed3e 100644 |
| --- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
| +++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
| @@ -51,6 +51,7 @@ |
| #include "chrome/browser/ui/webui/translate_internals/translate_internals_ui.h" |
| #include "chrome/browser/ui/webui/user_actions/user_actions_ui.h" |
| #include "chrome/browser/ui/webui/version_ui.h" |
| +#include "chrome/browser/ui/webui/web_component_test_ui.h" |
| #include "chrome/common/chrome_switches.h" |
| #include "chrome/common/pref_names.h" |
| #include "chrome/common/url_constants.h" |
| @@ -301,6 +302,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
| ***************************************************************************/ |
| // We must compare hosts only since some of the Web UIs append extra stuff |
| // after the host name. |
| + if (url.host() == chrome::kChromeUIWebComponentTestHost) |
| + return &NewWebUI<WebComponentTestUI>; |
|
stevenjb
2015/05/05 22:25:00
Either alphabetize this or put a comment above thi
michaelpg
2015/05/08 16:57:39
Done. (No reason for it to be first, I just forgot
|
| // All platform builds of Chrome will need to have a cloud printing |
| // dialog as backup. It's just that on Chrome OS, it's the only |
| // print dialog. |