diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-01-07 10:17:03 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-01-07 11:48:51 +0000 |
commit | 741ac0f756bc124656e5c137bd9b885b327f1f13 (patch) | |
tree | 5f0102472c3f873797ac50dc68c0a2f2b8dbb269 /src/core/renderer/web_channel_ipc_transport.h | |
parent | f5ed13b1e2d20ca49adb6fa378faee14bece16a0 (diff) |
Switch WebChannel's IPC transport to gin
Chromium has ported all their old V8 extensions to gin, this does the
same for our extension. This should make it faster as it requires no
parsing of JavaScript on startup.
Change-Id: I1f791e71cafb9b60dd9787ae03a18e723dfef6b9
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/renderer/web_channel_ipc_transport.h')
-rw-r--r-- | src/core/renderer/web_channel_ipc_transport.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/renderer/web_channel_ipc_transport.h b/src/core/renderer/web_channel_ipc_transport.h index 69a02f7ea..ba378f440 100644 --- a/src/core/renderer/web_channel_ipc_transport.h +++ b/src/core/renderer/web_channel_ipc_transport.h @@ -49,12 +49,11 @@ namespace QtWebEngineCore { class WebChannelIPCTransport : public content::RenderViewObserver { public: - static v8::Extension* getV8Extension(); - WebChannelIPCTransport(content::RenderView *); private: void dispatchWebChannelMessage(const std::vector<char> &binaryJSON); + void installExtension(); virtual bool OnMessageReceived(const IPC::Message &message) Q_DECL_OVERRIDE; }; |