summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-09-12 13:48:20 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-09-20 22:29:25 +0000
commit90a4933f00d4a7a6a5aaa23d4bbe6be23cbd8ee8 (patch)
treeb557b69aa6f31bb789f3880383792295b630e1fe /src/core/web_engine_context.cpp
parent49c0ce8403e5caeb864f66553f122c68a7c975fb (diff)
Introduce a few Chrome WebUIs
Enables chrome://quota-internals, chrome://taskscheduler-internals, and on linux, chrome://sandbox. Change-Id: Ibcdf6d73294096bb7c3f43f3d11428898c25fb24 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 2339537aa..8eb9075bc 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -88,6 +88,8 @@
#include "type_conversion.h"
#include "surface_factory_qt.h"
#include "web_engine_library_info.h"
+#include "webui/webui_controller_factory_qt.h"
+
#include <QFileInfo>
#include <QGuiApplication>
#include <QOffscreenSurface>
@@ -509,6 +511,8 @@ WebEngineContext::WebEngineContext()
#if BUILDFLAG(ENABLE_BASIC_PRINTING)
m_printJobManager.reset(new printing::PrintJobManager());
#endif // defined(ENABLE_BASIC_PRINTING)
+
+ content::WebUIControllerFactory::RegisterFactory(WebUIControllerFactoryQt::GetInstance());
}
#if BUILDFLAG(ENABLE_BASIC_PRINTING)