| 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 were created in |
| 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2051 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2051 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 2052 PP_TalkPermission /* permission */) | 2052 PP_TalkPermission /* permission */) |
| 2053 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2053 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 2054 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2054 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 2055 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2055 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 2056 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2056 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 2057 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2057 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
| 2058 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2058 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 2059 | 2059 |
| 2060 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2060 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |