diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-08-14 02:21:56 +0800 |
---|---|---|
committer | Pierre Rossi <pierre.rossi@theqtcompany.com> | 2015-02-12 08:07:29 +0000 |
commit | eee482929a81ae9d685a0ee140733227ceac6543 (patch) | |
tree | a31842bbe485e6c32bb59538d4de11656c1cbbe8 /src/core/web_contents_adapter_p.h | |
parent | acce2537cf8781e7efbb17183a6b54c211e37b19 (diff) |
Integrate with WebChannel
Provide a transport mechanism for WebChannel over chromium IPC and
expose WebChannel in our experimental QML API.
Co-authored by Milian Wolff.
Change-Id: Ia24b1d4ebc8515de677d4849ec33cb55c963918e
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/web_contents_adapter_p.h')
-rw-r--r-- | src/core/web_contents_adapter_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter_p.h b/src/core/web_contents_adapter_p.h index f47c05de0..dcdf97f2e 100644 --- a/src/core/web_contents_adapter_p.h +++ b/src/core/web_contents_adapter_p.h @@ -46,9 +46,11 @@ class BrowserContextAdapter; class QtRenderViewObserverHost; +class WebChannelIPCTransportHost; class WebContentsAdapterClient; class WebContentsDelegateQt; class WebEngineContext; +QT_FORWARD_DECLARE_CLASS(QWebChannel) class WebContentsAdapterPrivate { public: @@ -59,6 +61,8 @@ public: scoped_ptr<content::WebContents> webContents; scoped_ptr<WebContentsDelegateQt> webContentsDelegate; scoped_ptr<QtRenderViewObserverHost> renderViewObserverHost; + scoped_ptr<WebChannelIPCTransportHost> webChannelTransport; + QWebChannel *webChannel; WebContentsAdapterClient *adapterClient; quint64 nextRequestId; int lastFindRequestId; |