summaryrefslogtreecommitdiff
path: root/chromium/qtwebengine/browser/qtwebchannel.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/qtwebengine/browser/qtwebchannel.mojom')
-rw-r--r--chromium/qtwebengine/browser/qtwebchannel.mojom18
1 files changed, 18 insertions, 0 deletions
diff --git a/chromium/qtwebengine/browser/qtwebchannel.mojom b/chromium/qtwebengine/browser/qtwebchannel.mojom
new file mode 100644
index 00000000000..622e6a40421
--- /dev/null
+++ b/chromium/qtwebengine/browser/qtwebchannel.mojom
@@ -0,0 +1,18 @@
+module qtwebchannel.mojom;
+
+// Render process interface exposed to the browser
+// There is one instance of this interface per render frame host in the browser process
+
+interface WebChannelTransportRender {
+ SetWorldId(uint32 worldId);
+ ResetWorldId();
+ DispatchWebChannelMessage(array<uint8> binaryJson, uint32 worldId);
+};
+
+// Browser process interface exposed to the renderer
+// There is one instance of this interface per render frame in the render process
+
+interface WebChannelTransportHost {
+ DispatchWebChannelMessage(array<uint8> binaryJson);
+};
+