| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 IPC_STRUCT_TRAITS_MEMBER(type) | 195 IPC_STRUCT_TRAITS_MEMBER(type) |
| 196 IPC_STRUCT_TRAITS_MEMBER(name) | 196 IPC_STRUCT_TRAITS_MEMBER(name) |
| 197 IPC_STRUCT_TRAITS_MEMBER(id) | 197 IPC_STRUCT_TRAITS_MEMBER(id) |
| 198 IPC_STRUCT_TRAITS_END() | 198 IPC_STRUCT_TRAITS_END() |
| 199 | 199 |
| 200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) | 200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) |
| 201 IPC_STRUCT_TRAITS_MEMBER(name) | 201 IPC_STRUCT_TRAITS_MEMBER(name) |
| 202 IPC_STRUCT_TRAITS_MEMBER(is_dir) | 202 IPC_STRUCT_TRAITS_MEMBER(is_dir) |
| 203 IPC_STRUCT_TRAITS_END() | 203 IPC_STRUCT_TRAITS_END() |
| 204 | 204 |
| 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRef_CreateInfo) | 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefCreateInfo) |
| 206 IPC_STRUCT_TRAITS_MEMBER(file_system_type) | 206 IPC_STRUCT_TRAITS_MEMBER(file_system_type) |
| 207 IPC_STRUCT_TRAITS_MEMBER(internal_path) | 207 IPC_STRUCT_TRAITS_MEMBER(internal_path) |
| 208 IPC_STRUCT_TRAITS_MEMBER(display_name) | 208 IPC_STRUCT_TRAITS_MEMBER(display_name) |
| 209 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id) | 209 IPC_STRUCT_TRAITS_MEMBER(browser_pending_host_resource_id) |
| 210 IPC_STRUCT_TRAITS_MEMBER(renderer_pending_host_resource_id) |
| 210 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) | 211 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) |
| 211 IPC_STRUCT_TRAITS_END() | 212 IPC_STRUCT_TRAITS_END() |
| 212 | 213 |
| 213 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) | 214 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) |
| 214 IPC_STRUCT_TRAITS_MEMBER(site) | 215 IPC_STRUCT_TRAITS_MEMBER(site) |
| 215 IPC_STRUCT_TRAITS_MEMBER(permission) | 216 IPC_STRUCT_TRAITS_MEMBER(permission) |
| 216 IPC_STRUCT_TRAITS_END() | 217 IPC_STRUCT_TRAITS_END() |
| 217 | 218 |
| 218 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 219 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
| 219 IPC_STRUCT_TRAITS_MEMBER(rect) | 220 IPC_STRUCT_TRAITS_MEMBER(rect) |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) | 293 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) |
| 293 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) | 294 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) |
| 294 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) | 295 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) |
| 295 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) | 296 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) |
| 296 IPC_STRUCT_TRAITS_MEMBER(body) | 297 IPC_STRUCT_TRAITS_MEMBER(body) |
| 297 IPC_STRUCT_TRAITS_END() | 298 IPC_STRUCT_TRAITS_END() |
| 298 | 299 |
| 299 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) | 300 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) |
| 300 IPC_STRUCT_TRAITS_MEMBER(is_file) | 301 IPC_STRUCT_TRAITS_MEMBER(is_file) |
| 301 IPC_STRUCT_TRAITS_MEMBER(data) | 302 IPC_STRUCT_TRAITS_MEMBER(data) |
| 302 // Note: we don't serialize file_ref. | 303 IPC_STRUCT_TRAITS_MEMBER(file_ref_pp_resource) |
| 303 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) | |
| 304 IPC_STRUCT_TRAITS_MEMBER(start_offset) | 304 IPC_STRUCT_TRAITS_MEMBER(start_offset) |
| 305 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) | 305 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) |
| 306 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) | 306 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) |
| 307 IPC_STRUCT_TRAITS_END() | 307 IPC_STRUCT_TRAITS_END() |
| 308 | 308 |
| 309 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) | 309 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) |
| 310 IPC_STRUCT_TRAITS_MEMBER(url) | 310 IPC_STRUCT_TRAITS_MEMBER(url) |
| 311 IPC_STRUCT_TRAITS_MEMBER(headers) | 311 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 312 IPC_STRUCT_TRAITS_MEMBER(status_code) | 312 IPC_STRUCT_TRAITS_MEMBER(status_code) |
| 313 IPC_STRUCT_TRAITS_MEMBER(status_text) | 313 IPC_STRUCT_TRAITS_MEMBER(status_text) |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 // result codes. | 480 // result codes. |
| 481 // | 481 // |
| 482 // The handler of this message should always close all of the handles passed | 482 // The handler of this message should always close all of the handles passed |
| 483 // in, since some could be valid even in the error case. | 483 // in, since some could be valid even in the error case. |
| 484 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 484 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
| 485 ppapi::HostResource /* audio_id */, | 485 ppapi::HostResource /* audio_id */, |
| 486 int32_t /* result_code (will be != PP_OK on failure) */, | 486 int32_t /* result_code (will be != PP_OK on failure) */, |
| 487 ppapi::proxy::SerializedHandle /* socket_handle */, | 487 ppapi::proxy::SerializedHandle /* socket_handle */, |
| 488 ppapi::proxy::SerializedHandle /* handle */) | 488 ppapi::proxy::SerializedHandle /* handle */) |
| 489 | 489 |
| 490 // PPB_FileRef. | |
| 491 // TODO(teravest): Remove these messages when we've switched over to the "new" | |
| 492 // proxy. | |
| 493 IPC_MESSAGE_ROUTED3( | |
| 494 PpapiMsg_PPBFileRef_CallbackComplete, | |
| 495 ppapi::HostResource /* resource */, | |
| 496 uint32_t /* callback_id */, | |
| 497 int32_t /* result */) | |
| 498 | |
| 499 IPC_MESSAGE_ROUTED4( | |
| 500 PpapiMsg_PPBFileRef_QueryCallbackComplete, | |
| 501 ppapi::HostResource /* resource */, | |
| 502 PP_FileInfo /* file_info */, | |
| 503 uint32_t /* callback_id */, | |
| 504 int32_t /* result */) | |
| 505 | |
| 506 IPC_MESSAGE_ROUTED5( | |
| 507 PpapiMsg_PPBFileRef_ReadDirectoryEntriesCallbackComplete, | |
| 508 ppapi::HostResource /* resource */, | |
| 509 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, | |
| 510 std::vector<PP_FileType> /* file_types */, | |
| 511 uint32_t /* callback_id */, | |
| 512 int32_t /* result */) | |
| 513 | |
| 514 // PPB_FileSystem. | 490 // PPB_FileSystem. |
| 515 IPC_MESSAGE_ROUTED2( | 491 IPC_MESSAGE_ROUTED2( |
| 516 PpapiMsg_PPBFileSystem_OpenComplete, | 492 PpapiMsg_PPBFileSystem_OpenComplete, |
| 517 ppapi::HostResource /* filesystem */, | 493 ppapi::HostResource /* filesystem */, |
| 518 int32_t /* result */) | 494 int32_t /* result */) |
| 519 | 495 |
| 520 // PPB_Graphics3D. | 496 // PPB_Graphics3D. |
| 521 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 497 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
| 522 ppapi::HostResource /* graphics_3d */, | 498 ppapi::HostResource /* graphics_3d */, |
| 523 int32_t /* pp_error */) | 499 int32_t /* pp_error */) |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 737 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
| 762 ppapi::HostResource /* audio_id */, | 738 ppapi::HostResource /* audio_id */, |
| 763 bool /* play */) | 739 bool /* play */) |
| 764 | 740 |
| 765 // PPB_Core. | 741 // PPB_Core. |
| 766 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 742 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
| 767 ppapi::HostResource) | 743 ppapi::HostResource) |
| 768 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 744 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
| 769 ppapi::HostResource) | 745 ppapi::HostResource) |
| 770 | 746 |
| 771 // PPB_FileRef. | |
| 772 // TODO(teravest): Remove these messages when we've switched over to the "new" | |
| 773 // proxy. | |
| 774 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileRef_Create, | |
| 775 PP_Instance /* instance */, | |
| 776 PP_Resource /* file_system */, | |
| 777 std::string /* path */, | |
| 778 ppapi::PPB_FileRef_CreateInfo /* result */) | |
| 779 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, | |
| 780 ppapi::HostResource /* file_ref */, | |
| 781 ppapi::PPB_FileRef_CreateInfo /* result */) | |
| 782 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, | |
| 783 ppapi::HostResource /* file_ref */, | |
| 784 PP_Bool /* make_ancestors */, | |
| 785 uint32_t /* callback_id */) | |
| 786 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch, | |
| 787 ppapi::HostResource /* file_ref */, | |
| 788 PP_Time /* last_access */, | |
| 789 PP_Time /* last_modified */, | |
| 790 uint32_t /* callback_id */) | |
| 791 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, | |
| 792 ppapi::HostResource /* file_ref */, | |
| 793 uint32_t /* callback_id */) | |
| 794 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, | |
| 795 ppapi::HostResource /* file_ref */, | |
| 796 ppapi::HostResource /* new_file_ref */, | |
| 797 uint32_t /* callback_id */) | |
| 798 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Query, | |
| 799 ppapi::HostResource /* file_ref */, | |
| 800 uint32_t /* callback_id */) | |
| 801 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath, | |
| 802 ppapi::HostResource /* file_ref */, | |
| 803 ppapi::proxy::SerializedVar /* result */) | |
| 804 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_ReadDirectoryEntries, | |
| 805 ppapi::HostResource /* file_ref */, | |
| 806 uint32_t /* callback_id */) | |
| 807 | |
| 808 // PPB_Graphics3D. | 747 // PPB_Graphics3D. |
| 809 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 748 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
| 810 PP_Instance /* instance */, | 749 PP_Instance /* instance */, |
| 811 ppapi::HostResource /* share_context */, | 750 ppapi::HostResource /* share_context */, |
| 812 std::vector<int32_t> /* attrib_list */, | 751 std::vector<int32_t> /* attrib_list */, |
| 813 ppapi::HostResource /* result */) | 752 ppapi::HostResource /* result */) |
| 814 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 753 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 815 ppapi::HostResource /* context */, | 754 ppapi::HostResource /* context */, |
| 816 int32 /* transfer_buffer_id */) | 755 int32 /* transfer_buffer_id */) |
| 817 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, | 756 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 // that of the previous ResourceCall. | 1127 // that of the previous ResourceCall. |
| 1189 IPC_MESSAGE_CONTROL2( | 1128 IPC_MESSAGE_CONTROL2( |
| 1190 PpapiPluginMsg_ResourceReply, | 1129 PpapiPluginMsg_ResourceReply, |
| 1191 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1130 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
| 1192 IPC::Message /* nested_msg */) | 1131 IPC::Message /* nested_msg */) |
| 1193 IPC_MESSAGE_ROUTED2( | 1132 IPC_MESSAGE_ROUTED2( |
| 1194 PpapiHostMsg_InProcessResourceReply, | 1133 PpapiHostMsg_InProcessResourceReply, |
| 1195 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1134 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
| 1196 IPC::Message /* nested_msg */) | 1135 IPC::Message /* nested_msg */) |
| 1197 | 1136 |
| 1198 | |
| 1199 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, | 1137 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, |
| 1200 ppapi::proxy::ResourceMessageCallParams /* call_params */, | 1138 ppapi::proxy::ResourceMessageCallParams /* call_params */, |
| 1201 IPC::Message /* nested_msg */, | 1139 IPC::Message /* nested_msg */, |
| 1202 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1140 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
| 1203 IPC::Message /* reply_msg */) | 1141 IPC::Message /* reply_msg */) |
| 1204 | 1142 |
| 1205 // This message is sent from the renderer to the browser when it wants to create | 1143 // This message is sent from the renderer to the browser when it wants to create |
| 1206 // ResourceHosts in the browser. It contains the process ID of the plugin and | 1144 // ResourceHosts in the browser. It contains the process ID of the plugin and |
| 1207 // the instance of the plugin for which to create the resource for. params | 1145 // the instance of the plugin for which to create the resource for. params |
| 1208 // contains the sequence number for the message to track the response. | 1146 // contains the sequence number for the message to track the response. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1262 std::string /* fsid */) | 1200 std::string /* fsid */) |
| 1263 | 1201 |
| 1264 // File chooser. | 1202 // File chooser. |
| 1265 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1203 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
| 1266 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1204 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
| 1267 bool /* save_as */, | 1205 bool /* save_as */, |
| 1268 bool /* open_multiple */, | 1206 bool /* open_multiple */, |
| 1269 std::string /* suggested_file_name */, | 1207 std::string /* suggested_file_name */, |
| 1270 std::vector<std::string> /* accept_mime_types */) | 1208 std::vector<std::string> /* accept_mime_types */) |
| 1271 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1209 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
| 1272 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1210 std::vector<ppapi::FileRefCreateInfo> /* files */) |
| 1273 | 1211 |
| 1274 // FileIO | 1212 // FileIO |
| 1275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) | 1213 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) |
| 1276 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, | 1214 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, |
| 1277 PP_Resource /* file_ref_resource */, | 1215 PP_Resource /* file_ref_resource */, |
| 1278 int32_t /* open_flags */) | 1216 int32_t /* open_flags */) |
| 1279 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) | 1217 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) |
| 1280 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) | 1218 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) |
| 1281 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, | 1219 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, |
| 1282 PP_Time /* last_access_time */, | 1220 PP_Time /* last_access_time */, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1338 // Requests that the browser retrieve metadata information for a file or | 1276 // Requests that the browser retrieve metadata information for a file or |
| 1339 // directory at the location indicated by the FileRef. | 1277 // directory at the location indicated by the FileRef. |
| 1340 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) | 1278 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) |
| 1341 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, | 1279 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, |
| 1342 PP_FileInfo /* file_info */) | 1280 PP_FileInfo /* file_info */) |
| 1343 | 1281 |
| 1344 // Requests that the browser retrieve then entries in a directory at the | 1282 // Requests that the browser retrieve then entries in a directory at the |
| 1345 // location indicated by the FileRef. | 1283 // location indicated by the FileRef. |
| 1346 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) | 1284 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) |
| 1347 | 1285 |
| 1348 // FileRef_CreateInfo does not provide file type information, so two | 1286 // FileRefCreateInfo does not provide file type information, so two |
| 1349 // corresponding vectors are returned. | 1287 // corresponding vectors are returned. |
| 1350 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, | 1288 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, |
| 1351 std::vector<ppapi::FileRef_CreateInfo> /* files */, | 1289 std::vector<ppapi::FileRefCreateInfo> /* files */, |
| 1352 std::vector<PP_FileType> /* file_types */) | 1290 std::vector<PP_FileType> /* file_types */) |
| 1353 | 1291 |
| 1354 // Requests that the browser reply with the absolute path to the indicated | 1292 // Requests that the browser reply with the absolute path to the indicated |
| 1355 // file. | 1293 // file. |
| 1356 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) | 1294 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) |
| 1357 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, | 1295 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, |
| 1358 std::string /* absolute_path */) | 1296 std::string /* absolute_path */) |
| 1359 | 1297 |
| 1360 // FileSystem | 1298 // FileSystem |
| 1361 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, | 1299 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1382 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. | 1320 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. |
| 1383 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, | 1321 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, |
| 1384 int64_t /* hmonitor */) | 1322 int64_t /* hmonitor */) |
| 1385 | 1323 |
| 1386 // Requests the voucher file which is used to verify the integrity of the Flash | 1324 // Requests the voucher file which is used to verify the integrity of the Flash |
| 1387 // module. A PPB_FileRef resource will be created. | 1325 // module. A PPB_FileRef resource will be created. |
| 1388 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) | 1326 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) |
| 1389 // Reply message for GetVoucherFile which contains the CreateInfo for a | 1327 // Reply message for GetVoucherFile which contains the CreateInfo for a |
| 1390 // PPB_FileRef which points to the voucher file. | 1328 // PPB_FileRef which points to the voucher file. |
| 1391 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, | 1329 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, |
| 1392 ppapi::PPB_FileRef_CreateInfo /* file_info */) | 1330 ppapi::FileRefCreateInfo /* file_info */) |
| 1393 | 1331 |
| 1394 // Gamepad. | 1332 // Gamepad. |
| 1395 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) | 1333 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) |
| 1396 | 1334 |
| 1397 // Requests that the gamepad host send the shared memory handle to the plugin | 1335 // Requests that the gamepad host send the shared memory handle to the plugin |
| 1398 // process. | 1336 // process. |
| 1399 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) | 1337 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) |
| 1400 | 1338 |
| 1401 // Reply to a RequestMemory call. This supplies the shared memory handle. The | 1339 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
| 1402 // actual handle is passed in the ReplyParams struct. | 1340 // actual handle is passed in the ReplyParams struct. |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1782 // Requests that the browser reply with the list of font families via | 1720 // Requests that the browser reply with the list of font families via |
| 1783 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. | 1721 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. |
| 1784 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) | 1722 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) |
| 1785 | 1723 |
| 1786 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font | 1724 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font |
| 1787 // family list. The |families| result is encoded by separating each family name | 1725 // family list. The |families| result is encoded by separating each family name |
| 1788 // by a null character. | 1726 // by a null character. |
| 1789 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply, | 1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply, |
| 1790 std::string /* families */) | 1728 std::string /* families */) |
| 1791 | 1729 |
| 1792 // FileRef. | |
| 1793 // Requests that the browser reply with file system and path information about | |
| 1794 // the resource indicated in |params| which exists in the given | |
| 1795 // |child_process_id|. |routing_id| is sent so that the reply can be routed | |
| 1796 // properly in the renderer. | |
| 1797 // Only sent from the renderer to the browser. | |
| 1798 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileRef_GetInfoForRenderer, | |
| 1799 int /* routing_id */, | |
| 1800 int /* child_process_id */, | |
| 1801 int32_t /* sequence */, | |
| 1802 std::vector<PP_Resource> /* resources */) | |
| 1803 | |
| 1804 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for | |
| 1805 // invoking the right callback, |fs_type| which indicates the file system, and | |
| 1806 // path information in either |file_system_url_spec| (for internal file systems) | |
| 1807 // or |external_path| (for external file systems). | |
| 1808 // Only sent from the browser to the renderer. | |
| 1809 IPC_MESSAGE_ROUTED5(PpapiHostMsg_FileRef_GetInfoForRendererReply, | |
| 1810 int32_t /* sequence */, | |
| 1811 std::vector<PP_Resource> /* resources */, | |
| 1812 std::vector<PP_FileSystemType> /* fs_type */, | |
| 1813 std::vector<std::string> /* file_system_url_spec */, | |
| 1814 std::vector<base::FilePath> /* external_path */) | |
| 1815 | |
| 1816 // Flash ----------------------------------------------------------------------- | 1730 // Flash ----------------------------------------------------------------------- |
| 1817 | 1731 |
| 1818 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1732 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
| 1819 | 1733 |
| 1820 // Message to notify the browser to register an update in system activity. | 1734 // Message to notify the browser to register an update in system activity. |
| 1821 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1735 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
| 1822 | 1736 |
| 1823 // Query the browser for the proxy server to use for the given URL. | 1737 // Query the browser for the proxy server to use for the given URL. |
| 1824 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1738 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
| 1825 // Reply message for GetProxyForURL containing the proxy server. | 1739 // Reply message for GetProxyForURL containing the proxy server. |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2035 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 1949 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 2036 PP_TalkPermission /* permission */) | 1950 PP_TalkPermission /* permission */) |
| 2037 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 1951 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 2038 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 1952 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 2039 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 1953 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 2040 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 1954 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 2041 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 1955 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
| 2042 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 1956 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 2043 | 1957 |
| 2044 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1958 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |