blob: 622e6a40421294fd1b45fccc0156867c0ceb827a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
};
|