summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/web_contents_adapter.h')
-rw-r--r--src/core/web_contents_adapter.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/web_contents_adapter.h b/src/core/web_contents_adapter.h
index 3c4ad997..6ba7c4b0 100644
--- a/src/core/web_contents_adapter.h
+++ b/src/core/web_contents_adapter.h
@@ -50,9 +50,13 @@ class WebContents;
struct WebPreferences;
}
class BrowserContextQt;
+class MessagePassingInterface;
class WebContentsAdapterPrivate;
-QT_FORWARD_DECLARE_CLASS(QAccessibleInterface);
+QT_BEGIN_NAMESPACE
+class QAccessibleInterface;
+class QWebChannel;
+QT_END_NAMESPACE
class QWEBENGINE_EXPORT WebContentsAdapter : public QSharedData {
public:
@@ -115,6 +119,8 @@ public:
QAccessibleInterface *browserAccessible();
BrowserContextQt* browserContext();
BrowserContextAdapter* browserContextAdapter();
+ QWebChannel *webChannel() const;
+ void setWebChannel(QWebChannel *);
// meant to be used within WebEngineCore only
content::WebContents *webContents() const;