summaryrefslogtreecommitdiffstats
path: root/src/core/renderer_host
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-08-25 11:37:34 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-09-24 15:14:59 +0200
commitf613095208911cfa6b8609f8b87b4984dc55e69c (patch)
tree09a25473d27a2b7d174966fb28594c07de8db510 /src/core/renderer_host
parente2e249b8bb399ef7bcf6fe3be0b4f2fc9fa18182 (diff)
Reuse qwebenginescript in qml
Reuse core class and adopt api: * add missing setUrlSource to c++ class * fix typing for setRunsOnSubFrames * remove all invokable from setters in qml, we use properties for that anyway. * remove invokable toString , since we have debug stream operator in c++ [ChangeLog] In qml websetttings.runOnSubframes is now websettings.runsOnSubFrames Change-Id: Iba822a7aa6a59940484c972726d710a1b66cb20d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/renderer_host')
-rw-r--r--src/core/renderer_host/user_resource_controller_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/renderer_host/user_resource_controller_host.h b/src/core/renderer_host/user_resource_controller_host.h
index 7b89cb893..76954e0cc 100644
--- a/src/core/renderer_host/user_resource_controller_host.h
+++ b/src/core/renderer_host/user_resource_controller_host.h
@@ -64,6 +64,7 @@ class WebContents;
namespace QtWebEngineCore {
+class UserScript;
class WebContentsAdapter;
class Q_WEBENGINECORE_PRIVATE_EXPORT UserResourceControllerHost