OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Multiply-included file, no traditional include guard. | |
6 #include <vector> | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "ipc/ipc_message_macros.h" | |
10 | |
11 #define IPC_MESSAGE_START AwMessagePortMsgStart | |
12 | |
13 //----------------------------------------------------------------------------- | |
14 // MessagePort messages | |
15 // These are messages sent from the browser to the renderer process. | |
16 | |
17 // Tells the renderer to convert the sent message from a WebSerializeScript | |
18 // format to a base::Value. Due to the complexities of renderer/browser | |
19 // relation, this can only be done in renderer for now. | |
20 IPC_MESSAGE_ROUTED3(AwMessagePortMsg_Message, | |
21 int /* recipient message port id */, | |
22 base::string16 /* message */, | |
23 std::vector<int> /* sent message port_ids */) | |
24 | |
25 //----------------------------------------------------------------------------- | |
26 // These are messages sent from the renderer to the browser process. | |
27 | |
28 // Response to AwMessagePortMessage_ConvertMessage | |
29 IPC_MESSAGE_ROUTED3(AwMessagePortHostMsg_ConvertedMessage, | |
30 int /* recipient message port id */, | |
mnaganov (inactive)
2015/01/13 10:37:50
nit: strange indentation
sgurun-gerrit only
2015/01/14 23:53:13
Done.
| |
31 base::ListValue /* converted message */, | |
32 std::vector<int> /* sent message port_ids */) | |
OLD | NEW |