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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "ppapi/proxy/ppapi_param_traits.h" | 50 #include "ppapi/proxy/ppapi_param_traits.h" |
51 #include "ppapi/proxy/ppapi_proxy_export.h" | 51 #include "ppapi/proxy/ppapi_proxy_export.h" |
52 #include "ppapi/proxy/resource_message_params.h" | 52 #include "ppapi/proxy/resource_message_params.h" |
53 #include "ppapi/proxy/serialized_flash_menu.h" | 53 #include "ppapi/proxy/serialized_flash_menu.h" |
54 #include "ppapi/proxy/serialized_handle.h" | 54 #include "ppapi/proxy/serialized_handle.h" |
55 #include "ppapi/proxy/serialized_structs.h" | 55 #include "ppapi/proxy/serialized_structs.h" |
56 #include "ppapi/proxy/serialized_var.h" | 56 #include "ppapi/proxy/serialized_var.h" |
57 #include "ppapi/shared_impl/dir_contents.h" | 57 #include "ppapi/shared_impl/dir_contents.h" |
58 #include "ppapi/shared_impl/file_path.h" | 58 #include "ppapi/shared_impl/file_path.h" |
59 #include "ppapi/shared_impl/file_ref_create_info.h" | 59 #include "ppapi/shared_impl/file_ref_create_info.h" |
60 #include "ppapi/shared_impl/file_ref_detailed_info.h" | |
61 #include "ppapi/shared_impl/ppapi_nacl_channel_args.h" | 60 #include "ppapi/shared_impl/ppapi_nacl_channel_args.h" |
62 #include "ppapi/shared_impl/ppapi_preferences.h" | 61 #include "ppapi/shared_impl/ppapi_preferences.h" |
63 #include "ppapi/shared_impl/ppb_device_ref_shared.h" | 62 #include "ppapi/shared_impl/ppb_device_ref_shared.h" |
64 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 63 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
65 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" | 64 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" |
66 #include "ppapi/shared_impl/ppb_view_shared.h" | 65 #include "ppapi/shared_impl/ppb_view_shared.h" |
67 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" | 66 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" |
68 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" | 67 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" |
69 #include "ppapi/shared_impl/socket_option_data.h" | 68 #include "ppapi/shared_impl/socket_option_data.h" |
70 #include "ppapi/shared_impl/url_request_info_data.h" | 69 #include "ppapi/shared_impl/url_request_info_data.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 IPC_STRUCT_TRAITS_MEMBER(type) | 195 IPC_STRUCT_TRAITS_MEMBER(type) |
197 IPC_STRUCT_TRAITS_MEMBER(name) | 196 IPC_STRUCT_TRAITS_MEMBER(name) |
198 IPC_STRUCT_TRAITS_MEMBER(id) | 197 IPC_STRUCT_TRAITS_MEMBER(id) |
199 IPC_STRUCT_TRAITS_END() | 198 IPC_STRUCT_TRAITS_END() |
200 | 199 |
201 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) | 200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) |
202 IPC_STRUCT_TRAITS_MEMBER(name) | 201 IPC_STRUCT_TRAITS_MEMBER(name) |
203 IPC_STRUCT_TRAITS_MEMBER(is_dir) | 202 IPC_STRUCT_TRAITS_MEMBER(is_dir) |
204 IPC_STRUCT_TRAITS_END() | 203 IPC_STRUCT_TRAITS_END() |
205 | 204 |
206 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefCreateInfo) | 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRef_CreateInfo) |
207 IPC_STRUCT_TRAITS_MEMBER(file_system_type) | 206 IPC_STRUCT_TRAITS_MEMBER(file_system_type) |
208 IPC_STRUCT_TRAITS_MEMBER(internal_path) | 207 IPC_STRUCT_TRAITS_MEMBER(internal_path) |
209 IPC_STRUCT_TRAITS_MEMBER(display_name) | 208 IPC_STRUCT_TRAITS_MEMBER(display_name) |
210 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id) | 209 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id) |
211 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) | 210 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) |
212 IPC_STRUCT_TRAITS_END() | 211 IPC_STRUCT_TRAITS_END() |
213 | 212 |
214 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefDetailedInfo) | |
215 IPC_STRUCT_TRAITS_MEMBER(resource) | |
216 IPC_STRUCT_TRAITS_MEMBER(file_system_type) | |
217 IPC_STRUCT_TRAITS_MEMBER(file_system_url_spec) | |
218 IPC_STRUCT_TRAITS_MEMBER(external_path) | |
219 IPC_STRUCT_TRAITS_END() | |
220 | |
221 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) | 213 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) |
222 IPC_STRUCT_TRAITS_MEMBER(site) | 214 IPC_STRUCT_TRAITS_MEMBER(site) |
223 IPC_STRUCT_TRAITS_MEMBER(permission) | 215 IPC_STRUCT_TRAITS_MEMBER(permission) |
224 IPC_STRUCT_TRAITS_END() | 216 IPC_STRUCT_TRAITS_END() |
225 | 217 |
226 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) | 218 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) |
227 IPC_STRUCT_TRAITS_MEMBER(rect) | 219 IPC_STRUCT_TRAITS_MEMBER(rect) |
228 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) | 220 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) |
229 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) | 221 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) |
230 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 222 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) | 291 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) |
300 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) | 292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) |
301 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) | 293 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) |
302 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) | 294 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) |
303 IPC_STRUCT_TRAITS_MEMBER(body) | 295 IPC_STRUCT_TRAITS_MEMBER(body) |
304 IPC_STRUCT_TRAITS_END() | 296 IPC_STRUCT_TRAITS_END() |
305 | 297 |
306 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) | 298 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) |
307 IPC_STRUCT_TRAITS_MEMBER(is_file) | 299 IPC_STRUCT_TRAITS_MEMBER(is_file) |
308 IPC_STRUCT_TRAITS_MEMBER(data) | 300 IPC_STRUCT_TRAITS_MEMBER(data) |
309 IPC_STRUCT_TRAITS_MEMBER(file_ref_pp_resource) | 301 // Note: we don't serialize file_ref. |
| 302 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) |
310 IPC_STRUCT_TRAITS_MEMBER(start_offset) | 303 IPC_STRUCT_TRAITS_MEMBER(start_offset) |
311 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) | 304 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) |
312 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) | 305 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) |
313 IPC_STRUCT_TRAITS_END() | 306 IPC_STRUCT_TRAITS_END() |
314 | 307 |
315 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) | 308 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) |
316 IPC_STRUCT_TRAITS_MEMBER(url) | 309 IPC_STRUCT_TRAITS_MEMBER(url) |
317 IPC_STRUCT_TRAITS_MEMBER(headers) | 310 IPC_STRUCT_TRAITS_MEMBER(headers) |
318 IPC_STRUCT_TRAITS_MEMBER(status_code) | 311 IPC_STRUCT_TRAITS_MEMBER(status_code) |
319 IPC_STRUCT_TRAITS_MEMBER(status_text) | 312 IPC_STRUCT_TRAITS_MEMBER(status_text) |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 // result codes. | 479 // result codes. |
487 // | 480 // |
488 // The handler of this message should always close all of the handles passed | 481 // The handler of this message should always close all of the handles passed |
489 // in, since some could be valid even in the error case. | 482 // in, since some could be valid even in the error case. |
490 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 483 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
491 ppapi::HostResource /* audio_id */, | 484 ppapi::HostResource /* audio_id */, |
492 int32_t /* result_code (will be != PP_OK on failure) */, | 485 int32_t /* result_code (will be != PP_OK on failure) */, |
493 ppapi::proxy::SerializedHandle /* socket_handle */, | 486 ppapi::proxy::SerializedHandle /* socket_handle */, |
494 ppapi::proxy::SerializedHandle /* handle */) | 487 ppapi::proxy::SerializedHandle /* handle */) |
495 | 488 |
| 489 // PPB_FileRef. |
| 490 // TODO(teravest): Remove these messages when we've switched over to the "new" |
| 491 // proxy. |
| 492 IPC_MESSAGE_ROUTED3( |
| 493 PpapiMsg_PPBFileRef_CallbackComplete, |
| 494 ppapi::HostResource /* resource */, |
| 495 uint32_t /* callback_id */, |
| 496 int32_t /* result */) |
| 497 |
| 498 IPC_MESSAGE_ROUTED4( |
| 499 PpapiMsg_PPBFileRef_QueryCallbackComplete, |
| 500 ppapi::HostResource /* resource */, |
| 501 PP_FileInfo /* file_info */, |
| 502 uint32_t /* callback_id */, |
| 503 int32_t /* result */) |
| 504 |
| 505 IPC_MESSAGE_ROUTED5( |
| 506 PpapiMsg_PPBFileRef_ReadDirectoryEntriesCallbackComplete, |
| 507 ppapi::HostResource /* resource */, |
| 508 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, |
| 509 std::vector<PP_FileType> /* file_types */, |
| 510 uint32_t /* callback_id */, |
| 511 int32_t /* result */) |
| 512 |
496 // PPB_FileSystem. | 513 // PPB_FileSystem. |
497 IPC_MESSAGE_ROUTED2( | 514 IPC_MESSAGE_ROUTED2( |
498 PpapiMsg_PPBFileSystem_OpenComplete, | 515 PpapiMsg_PPBFileSystem_OpenComplete, |
499 ppapi::HostResource /* filesystem */, | 516 ppapi::HostResource /* filesystem */, |
500 int32_t /* result */) | 517 int32_t /* result */) |
501 | 518 |
502 // PPB_Graphics3D. | 519 // PPB_Graphics3D. |
503 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, | 520 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, |
504 ppapi::HostResource /* graphics_3d */, | 521 ppapi::HostResource /* graphics_3d */, |
505 int32_t /* pp_error */) | 522 int32_t /* pp_error */) |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 791 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
775 ppapi::HostResource /* audio_id */, | 792 ppapi::HostResource /* audio_id */, |
776 bool /* play */) | 793 bool /* play */) |
777 | 794 |
778 // PPB_Core. | 795 // PPB_Core. |
779 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 796 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
780 ppapi::HostResource) | 797 ppapi::HostResource) |
781 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 798 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
782 ppapi::HostResource) | 799 ppapi::HostResource) |
783 | 800 |
| 801 // PPB_FileRef. |
| 802 // TODO(teravest): Remove these messages when we've switched over to the "new" |
| 803 // proxy. |
| 804 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileRef_Create, |
| 805 PP_Instance /* instance */, |
| 806 PP_Resource /* file_system */, |
| 807 std::string /* path */, |
| 808 ppapi::PPB_FileRef_CreateInfo /* result */) |
| 809 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, |
| 810 ppapi::HostResource /* file_ref */, |
| 811 ppapi::PPB_FileRef_CreateInfo /* result */) |
| 812 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, |
| 813 ppapi::HostResource /* file_ref */, |
| 814 PP_Bool /* make_ancestors */, |
| 815 uint32_t /* callback_id */) |
| 816 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch, |
| 817 ppapi::HostResource /* file_ref */, |
| 818 PP_Time /* last_access */, |
| 819 PP_Time /* last_modified */, |
| 820 uint32_t /* callback_id */) |
| 821 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, |
| 822 ppapi::HostResource /* file_ref */, |
| 823 uint32_t /* callback_id */) |
| 824 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, |
| 825 ppapi::HostResource /* file_ref */, |
| 826 ppapi::HostResource /* new_file_ref */, |
| 827 uint32_t /* callback_id */) |
| 828 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Query, |
| 829 ppapi::HostResource /* file_ref */, |
| 830 uint32_t /* callback_id */) |
| 831 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath, |
| 832 ppapi::HostResource /* file_ref */, |
| 833 ppapi::proxy::SerializedVar /* result */) |
| 834 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_ReadDirectoryEntries, |
| 835 ppapi::HostResource /* file_ref */, |
| 836 uint32_t /* callback_id */) |
| 837 |
784 // PPB_Graphics3D. | 838 // PPB_Graphics3D. |
785 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, | 839 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, |
786 PP_Instance /* instance */, | 840 PP_Instance /* instance */, |
787 ppapi::HostResource /* share_context */, | 841 ppapi::HostResource /* share_context */, |
788 std::vector<int32_t> /* attrib_list */, | 842 std::vector<int32_t> /* attrib_list */, |
789 ppapi::HostResource /* result */) | 843 ppapi::HostResource /* result */) |
790 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, | 844 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
791 ppapi::HostResource /* context */, | 845 ppapi::HostResource /* context */, |
792 int32 /* transfer_buffer_id */) | 846 int32 /* transfer_buffer_id */) |
793 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, | 847 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 // that of the previous ResourceCall. | 1260 // that of the previous ResourceCall. |
1207 IPC_MESSAGE_CONTROL2( | 1261 IPC_MESSAGE_CONTROL2( |
1208 PpapiPluginMsg_ResourceReply, | 1262 PpapiPluginMsg_ResourceReply, |
1209 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1263 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
1210 IPC::Message /* nested_msg */) | 1264 IPC::Message /* nested_msg */) |
1211 IPC_MESSAGE_ROUTED2( | 1265 IPC_MESSAGE_ROUTED2( |
1212 PpapiHostMsg_InProcessResourceReply, | 1266 PpapiHostMsg_InProcessResourceReply, |
1213 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1267 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
1214 IPC::Message /* nested_msg */) | 1268 IPC::Message /* nested_msg */) |
1215 | 1269 |
| 1270 |
1216 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, | 1271 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, |
1217 ppapi::proxy::ResourceMessageCallParams /* call_params */, | 1272 ppapi::proxy::ResourceMessageCallParams /* call_params */, |
1218 IPC::Message /* nested_msg */, | 1273 IPC::Message /* nested_msg */, |
1219 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, | 1274 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, |
1220 IPC::Message /* reply_msg */) | 1275 IPC::Message /* reply_msg */) |
1221 | 1276 |
1222 // 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 |
1223 // a ResourceHost in the browser. It contains the process ID of the plugin and | 1278 // a ResourceHost in the browser. It contains the process ID of the plugin and |
1224 // 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 |
1225 // contains the sequence number for the message to track the response. | 1280 // contains the sequence number for the message to track the response. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 std::string /* fsid */) | 1334 std::string /* fsid */) |
1280 | 1335 |
1281 // File chooser. | 1336 // File chooser. |
1282 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1337 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1283 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1338 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1284 bool /* save_as */, | 1339 bool /* save_as */, |
1285 bool /* open_multiple */, | 1340 bool /* open_multiple */, |
1286 std::string /* suggested_file_name */, | 1341 std::string /* suggested_file_name */, |
1287 std::vector<std::string> /* accept_mime_types */) | 1342 std::vector<std::string> /* accept_mime_types */) |
1288 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1289 std::vector<ppapi::FileRefCreateInfo> /* files */) | 1344 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1290 | 1345 |
1291 // FileIO | 1346 // FileIO |
1292 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) | 1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) |
1293 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, | 1348 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, |
1294 PP_Resource /* file_ref_resource */, | 1349 PP_Resource /* file_ref_resource */, |
1295 int32_t /* open_flags */) | 1350 int32_t /* open_flags */) |
1296 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) | 1351 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) |
1297 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) | 1352 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) |
1298 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, | 1353 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, |
1299 PP_Time /* last_access_time */, | 1354 PP_Time /* last_access_time */, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 // Requests that the browser retrieve metadata information for a file or | 1410 // Requests that the browser retrieve metadata information for a file or |
1356 // directory at the location indicated by the FileRef. | 1411 // directory at the location indicated by the FileRef. |
1357 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) | 1412 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) |
1358 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, | 1413 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, |
1359 PP_FileInfo /* file_info */) | 1414 PP_FileInfo /* file_info */) |
1360 | 1415 |
1361 // Requests that the browser retrieve then entries in a directory at the | 1416 // Requests that the browser retrieve then entries in a directory at the |
1362 // location indicated by the FileRef. | 1417 // location indicated by the FileRef. |
1363 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) | 1418 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) |
1364 | 1419 |
1365 // FileRefCreateInfo does not provide file type information, so two | 1420 // FileRef_CreateInfo does not provide file type information, so two |
1366 // corresponding vectors are returned. | 1421 // corresponding vectors are returned. |
1367 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, | 1422 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, |
1368 std::vector<ppapi::FileRefCreateInfo> /* files */, | 1423 std::vector<ppapi::FileRef_CreateInfo> /* files */, |
1369 std::vector<PP_FileType> /* file_types */) | 1424 std::vector<PP_FileType> /* file_types */) |
1370 | 1425 |
1371 // Requests that the browser reply with the absolute path to the indicated | 1426 // Requests that the browser reply with the absolute path to the indicated |
1372 // file. | 1427 // file. |
1373 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) | 1428 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) |
1374 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, | 1429 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, |
1375 std::string /* absolute_path */) | 1430 std::string /* absolute_path */) |
1376 | 1431 |
1377 // FileSystem | 1432 // FileSystem |
1378 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, | 1433 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, |
(...skipping 19 matching lines...) Expand all Loading... |
1398 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. | 1453 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. |
1399 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, | 1454 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, |
1400 int64_t /* hmonitor */) | 1455 int64_t /* hmonitor */) |
1401 | 1456 |
1402 // Requests the voucher file which is used to verify the integrity of the Flash | 1457 // Requests the voucher file which is used to verify the integrity of the Flash |
1403 // module. A PPB_FileRef resource will be created. | 1458 // module. A PPB_FileRef resource will be created. |
1404 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) | 1459 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) |
1405 // Reply message for GetVoucherFile which contains the CreateInfo for a | 1460 // Reply message for GetVoucherFile which contains the CreateInfo for a |
1406 // PPB_FileRef which points to the voucher file. | 1461 // PPB_FileRef which points to the voucher file. |
1407 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, | 1462 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, |
1408 ppapi::FileRefCreateInfo /* file_info */) | 1463 ppapi::PPB_FileRef_CreateInfo /* file_info */) |
1409 | 1464 |
1410 // Gamepad. | 1465 // Gamepad. |
1411 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) | 1466 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) |
1412 | 1467 |
1413 // Requests that the gamepad host send the shared memory handle to the plugin | 1468 // Requests that the gamepad host send the shared memory handle to the plugin |
1414 // process. | 1469 // process. |
1415 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) | 1470 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) |
1416 | 1471 |
1417 // Reply to a RequestMemory call. This supplies the shared memory handle. The | 1472 // Reply to a RequestMemory call. This supplies the shared memory handle. The |
1418 // actual handle is passed in the ReplyParams struct. | 1473 // actual handle is passed in the ReplyParams struct. |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1760 int /* routing_id */, | 1815 int /* routing_id */, |
1761 int /* child_process_id */, | 1816 int /* child_process_id */, |
1762 int32_t /* sequence */, | 1817 int32_t /* sequence */, |
1763 std::vector<PP_Resource> /* resources */) | 1818 std::vector<PP_Resource> /* resources */) |
1764 | 1819 |
1765 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for | 1820 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for |
1766 // invoking the right callback, |fs_type| which indicates the file system, and | 1821 // invoking the right callback, |fs_type| which indicates the file system, and |
1767 // path information in either |file_system_url_spec| (for internal file systems) | 1822 // path information in either |file_system_url_spec| (for internal file systems) |
1768 // or |external_path| (for external file systems). | 1823 // or |external_path| (for external file systems). |
1769 // Only sent from the browser to the renderer. | 1824 // Only sent from the browser to the renderer. |
1770 IPC_MESSAGE_ROUTED2( | 1825 IPC_MESSAGE_ROUTED5(PpapiHostMsg_FileRef_GetInfoForRendererReply, |
1771 PpapiHostMsg_FileRef_GetInfoForRendererReply, | 1826 int32_t /* sequence */, |
1772 int32_t /* sequence */, | 1827 std::vector<PP_Resource> /* resources */, |
1773 std::vector<ppapi::FileRefDetailedInfo> /* detailed_info */) | 1828 std::vector<PP_FileSystemType> /* fs_type */, |
1774 | 1829 std::vector<std::string> /* file_system_url_spec */, |
1775 // A synchronous version of the two above messages. This is required to support | 1830 std::vector<base::FilePath> /* external_path */) |
1776 // some URL loading routes which must be executed synchronously. | |
1777 IPC_SYNC_MESSAGE_ROUTED2_1( | |
1778 PpapiHostMsg_FileRef_SyncGetInfoForRenderer, | |
1779 int /* child_process_id */, | |
1780 std::vector<PP_Resource> /* resources */, | |
1781 std::vector<ppapi::FileRefDetailedInfo> /* detailed_info */) | |
1782 | 1831 |
1783 // Flash ----------------------------------------------------------------------- | 1832 // Flash ----------------------------------------------------------------------- |
1784 | 1833 |
1785 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) | 1834 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) |
1786 | 1835 |
1787 // Message to notify the browser to register an update in system activity. | 1836 // Message to notify the browser to register an update in system activity. |
1788 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) | 1837 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) |
1789 | 1838 |
1790 // Query the browser for the proxy server to use for the given URL. | 1839 // Query the browser for the proxy server to use for the given URL. |
1791 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) | 1840 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2002 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2051 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2003 PP_TalkPermission /* permission */) | 2052 PP_TalkPermission /* permission */) |
2004 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2053 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2005 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2054 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2006 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2055 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2007 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2056 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2008 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2057 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2009 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2058 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2010 | 2059 |
2011 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2060 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |