OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1268 IPC::Message /* nested_msg */) | 1268 IPC::Message /* nested_msg */) |
1269 | 1269 |
1270 | 1270 |
1271 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, | 1271 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, |
1272 ppapi::proxy::ResourceMessageCallParams /* call_params */, | 1272 ppapi::proxy::ResourceMessageCallParams /* call_params */, |
1273 IPC::Message /* nested_msg */, | 1273 IPC::Message /* nested_msg */, |
1274 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1274 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
1275 IPC::Message /* reply_msg */) | 1275 IPC::Message /* reply_msg */) |
1276 | 1276 |
1277 // This message is sent from the renderer to the browser when it wants to create | 1277 // This message is sent from the renderer to the browser when it wants to create |
1278 // a ResourceHost in the browser. It contains the process ID of the plugin and | 1278 // ResourceHosts in the browser. It contains the process ID of the plugin and |
1279 // the instance of the plugin for which to create the resource for. params | 1279 // the instance of the plugin for which to create the resource for. params |
1280 // contains the sequence number for the message to track the response. | 1280 // contains the sequence number for the message to track the response. |
1281 // The nested message is a ResourceHost creation message. | 1281 // The nested messages are ResourceHost creation messages. |
1282 IPC_MESSAGE_CONTROL5( | 1282 IPC_MESSAGE_CONTROL5( |
1283 PpapiHostMsg_CreateResourceHostFromHost, | 1283 PpapiHostMsg_CreateResourceHostsFromHost, |
1284 int /* routing_id */, | 1284 int /* routing_id */, |
1285 int /* child_process_id */, | 1285 int /* child_process_id */, |
1286 ppapi::proxy::ResourceMessageCallParams /* params */, | 1286 ppapi::proxy::ResourceMessageCallParams /* params */, |
1287 PP_Instance /* instance */, | 1287 PP_Instance /* instance */, |
1288 IPC::Message /* nested_msg */) | 1288 std::vector<IPC::Message> /* nested_msgs */) |
1289 | 1289 |
1290 // This message is sent from the browser to the renderer when it has created a | 1290 // This message is sent from the browser to the renderer when it has created |
1291 // ResourceHost for the renderer. It contains the sequence number that was sent | 1291 // ResourceHosts for the renderer. It contains the sequence number that was sent |
1292 // in the request and the ID of the pending ResourceHost which was created in | 1292 // in the request and the IDs of the pending ResourceHosts which was created in |
Tom Sepez
2013/08/19 17:18:15
nit: were
| |
1293 // the browser. This ID is only useful for the plugin which can attach to the | 1293 // the browser. These IDs are only useful for the plugin which can attach to the |
1294 // ResourceHost in the browser. | 1294 // ResourceHosts in the browser. |
1295 IPC_MESSAGE_ROUTED2( | 1295 IPC_MESSAGE_ROUTED2( |
1296 PpapiHostMsg_CreateResourceHostFromHostReply, | 1296 PpapiHostMsg_CreateResourceHostsFromHostReply, |
1297 int32_t /* sequence */, | 1297 int32_t /* sequence */, |
1298 int /* pending_host_id */) | 1298 std::vector<int> /* pending_host_ids */) |
1299 | 1299 |
1300 //----------------------------------------------------------------------------- | 1300 //----------------------------------------------------------------------------- |
1301 // Messages for resources using call/reply above. | 1301 // Messages for resources using call/reply above. |
1302 | 1302 |
1303 // Broker ---------------------------------------------------------------------- | 1303 // Broker ---------------------------------------------------------------------- |
1304 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) | 1304 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) |
1305 | 1305 |
1306 // Queries whether the plugin has permission to connect to the Pepper broker. | 1306 // Queries whether the plugin has permission to connect to the Pepper broker. |
1307 // The response is contained in the error value of the | 1307 // The response is contained in the error value of the |
1308 // ResourceMessageReplyParams in the reply message. | 1308 // ResourceMessageReplyParams in the reply message. |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2057 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2057 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2058 PP_TalkPermission /* permission */) | 2058 PP_TalkPermission /* permission */) |
2059 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2059 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2060 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2060 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2061 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2061 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2062 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2062 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2064 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2064 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2065 | 2065 |
2066 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2066 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |