summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_url_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_url_handler.cc')
-rw-r--r--chrome/browser/browser_url_handler.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/browser_url_handler.cc b/chrome/browser/browser_url_handler.cc
index 1b82105..555d065 100644
--- a/chrome/browser/browser_url_handler.cc
+++ b/chrome/browser/browser_url_handler.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/browser_about_handler.h"
#include "chrome/browser/dom_ui/new_tab_ui.h"
+#include "chrome/browser/dom_ui/dom_ui_contents.h"
std::vector<BrowserURLHandler::URLHandler> BrowserURLHandler::url_handlers_;
@@ -17,8 +18,10 @@ void BrowserURLHandler::InitURLHandlers() {
// Here is where we initialize the global list of handlers for special URLs.
// about:*
url_handlers_.push_back(&BrowserAboutHandler::MaybeHandle);
- // chrome:*
+ // chrome-internal:*
url_handlers_.push_back(&NewTabUIHandleURL);
+ // chrome:*
+ url_handlers_.push_back(&DOMUIContentsCanHandleURL);
}
// static