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/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem) | 223 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem) |
224 IPC_STRUCT_TRAITS_MEMBER(is_file) | 224 IPC_STRUCT_TRAITS_MEMBER(is_file) |
225 IPC_STRUCT_TRAITS_MEMBER(data) | 225 IPC_STRUCT_TRAITS_MEMBER(data) |
226 // Note: we don't serialize file_ref. | 226 // Note: we don't serialize file_ref. |
227 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) | 227 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) |
228 IPC_STRUCT_TRAITS_MEMBER(start_offset) | 228 IPC_STRUCT_TRAITS_MEMBER(start_offset) |
229 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) | 229 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) |
230 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) | 230 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) |
231 IPC_STRUCT_TRAITS_END() | 231 IPC_STRUCT_TRAITS_END() |
232 | 232 |
233 #if !defined(OS_NACL) | 233 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
234 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer) | 234 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer) |
235 IPC_STRUCT_TRAITS_MEMBER(resource) | 235 IPC_STRUCT_TRAITS_MEMBER(resource) |
236 IPC_STRUCT_TRAITS_MEMBER(handle) | 236 IPC_STRUCT_TRAITS_MEMBER(handle) |
237 IPC_STRUCT_TRAITS_MEMBER(size) | 237 IPC_STRUCT_TRAITS_MEMBER(size) |
238 IPC_STRUCT_TRAITS_END() | 238 IPC_STRUCT_TRAITS_END() |
239 | 239 |
240 IPC_STRUCT_TRAITS_BEGIN(ppapi::NetworkInfo) | 240 IPC_STRUCT_TRAITS_BEGIN(ppapi::NetworkInfo) |
241 IPC_STRUCT_TRAITS_MEMBER(name) | 241 IPC_STRUCT_TRAITS_MEMBER(name) |
242 IPC_STRUCT_TRAITS_MEMBER(type) | 242 IPC_STRUCT_TRAITS_MEMBER(type) |
243 IPC_STRUCT_TRAITS_MEMBER(state) | 243 IPC_STRUCT_TRAITS_MEMBER(state) |
244 IPC_STRUCT_TRAITS_MEMBER(addresses) | 244 IPC_STRUCT_TRAITS_MEMBER(addresses) |
245 IPC_STRUCT_TRAITS_MEMBER(display_name) | 245 IPC_STRUCT_TRAITS_MEMBER(display_name) |
246 IPC_STRUCT_TRAITS_MEMBER(mtu) | 246 IPC_STRUCT_TRAITS_MEMBER(mtu) |
247 IPC_STRUCT_TRAITS_END() | 247 IPC_STRUCT_TRAITS_END() |
248 #endif // !defined(OS_NACL) | 248 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
249 | 249 |
250 // These are from the browser to the plugin. | 250 // These are from the browser to the plugin. |
251 // Loads the given plugin. | 251 // Loads the given plugin. |
252 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */) | 252 IPC_MESSAGE_CONTROL1(PpapiMsg_LoadPlugin, FilePath /* path */) |
253 | 253 |
254 // Creates a channel to talk to a renderer. The plugin will respond with | 254 // Creates a channel to talk to a renderer. The plugin will respond with |
255 // PpapiHostMsg_ChannelCreated. | 255 // PpapiHostMsg_ChannelCreated. |
256 IPC_MESSAGE_CONTROL2(PpapiMsg_CreateChannel, | 256 IPC_MESSAGE_CONTROL2(PpapiMsg_CreateChannel, |
257 int /* renderer_id */, | 257 int /* renderer_id */, |
258 bool /* incognito */) | 258 bool /* incognito */) |
(...skipping 19 matching lines...) Expand all Loading... |
278 // Passes the WebKit preferences to the plugin. | 278 // Passes the WebKit preferences to the plugin. |
279 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, | 279 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, |
280 ppapi::Preferences) | 280 ppapi::Preferences) |
281 | 281 |
282 // Sent in both directions to see if the other side supports the given | 282 // Sent in both directions to see if the other side supports the given |
283 // interface. | 283 // interface. |
284 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, | 284 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, |
285 std::string /* interface_name */, | 285 std::string /* interface_name */, |
286 bool /* result */) | 286 bool /* result */) |
287 | 287 |
288 #if !defined(OS_NACL) | 288 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
289 // Network state notification from the browser for implementing | 289 // Network state notification from the browser for implementing |
290 // PPP_NetworkState_Dev. | 290 // PPP_NetworkState_Dev. |
291 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 291 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
292 bool /* online */) | 292 bool /* online */) |
293 | 293 |
294 // Requests a list of sites that have data stored from the plugin. The plugin | 294 // Requests a list of sites that have data stored from the plugin. The plugin |
295 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used | 295 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used |
296 // for Flash. | 296 // for Flash. |
297 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, | 297 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, |
298 uint32 /* request_id */, | 298 uint32 /* request_id */, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 ppapi::FlashSiteSettings /* sites */) | 349 ppapi::FlashSiteSettings /* sites */) |
350 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, | 350 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, |
351 uint32 /* request_id */, | 351 uint32 /* request_id */, |
352 bool /* success */) | 352 bool /* success */) |
353 | 353 |
354 // Broker Process. | 354 // Broker Process. |
355 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 355 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
356 PP_Instance /* instance */, | 356 PP_Instance /* instance */, |
357 IPC::PlatformFileForTransit /* handle */, | 357 IPC::PlatformFileForTransit /* handle */, |
358 int32_t /* result */) | 358 int32_t /* result */) |
359 #endif // !defined(OS_NACL) | 359 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
360 | 360 |
361 // PPB_Audio. | 361 // PPB_Audio. |
362 | 362 |
363 // Notifies the result of the audio stream create call. This is called in | 363 // Notifies the result of the audio stream create call. This is called in |
364 // both error cases and in the normal success case. These cases are | 364 // both error cases and in the normal success case. These cases are |
365 // differentiated by the result code, which is one of the standard PPAPI | 365 // differentiated by the result code, which is one of the standard PPAPI |
366 // result codes. | 366 // result codes. |
367 // | 367 // |
368 // The handler of this message should always close all of the handles passed | 368 // The handler of this message should always close all of the handles passed |
369 // in, since some could be valid even in the error case. | 369 // in, since some could be valid even in the error case. |
370 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 370 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
371 ppapi::HostResource /* audio_id */, | 371 ppapi::HostResource /* audio_id */, |
372 int32_t /* result_code (will be != PP_OK on failure) */, | 372 int32_t /* result_code (will be != PP_OK on failure) */, |
373 IPC::PlatformFileForTransit /* socket_handle */, | 373 ppapi::proxy::SerializedHandle /* socket_handle */, |
374 base::SharedMemoryHandle /* handle */, | 374 ppapi::proxy::SerializedHandle /* handle */) |
375 int32_t /* length */) | |
376 | 375 |
377 // PPB_AudioInput_Dev. | 376 // PPB_AudioInput_Dev. |
378 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBAudioInput_EnumerateDevicesACK, | 377 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBAudioInput_EnumerateDevicesACK, |
379 ppapi::HostResource /* audio_input */, | 378 ppapi::HostResource /* audio_input */, |
380 int32_t /* result */, | 379 int32_t /* result */, |
381 std::vector<ppapi::DeviceRefData> /* devices */) | 380 std::vector<ppapi::DeviceRefData> /* devices */) |
382 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_OpenACK, | 381 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudioInput_OpenACK, |
383 ppapi::HostResource /* audio_input */, | 382 ppapi::HostResource /* audio_input */, |
384 int32_t /* result_code (will be != PP_OK on failure) */, | 383 int32_t /* result_code (will be != PP_OK on failure) */, |
385 IPC::PlatformFileForTransit /* socket_handle */, | 384 ppapi::proxy::SerializedHandle /* socket_handle */, |
386 base::SharedMemoryHandle /* handle */, | 385 ppapi::proxy::SerializedHandle /* handle */) |
387 int32_t /* length */) | |
388 | 386 |
389 // PPB_FileIO. | 387 // PPB_FileIO. |
390 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_GeneralComplete, | 388 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_GeneralComplete, |
391 ppapi::HostResource /* file_io */, | 389 ppapi::HostResource /* file_io */, |
392 int32_t /* result */) | 390 int32_t /* result */) |
393 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_OpenFileComplete, | 391 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_OpenFileComplete, |
394 ppapi::HostResource /* file_io */, | 392 ppapi::HostResource /* file_io */, |
395 int32_t /* result */) | 393 int32_t /* result */) |
396 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_QueryComplete, | 394 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_QueryComplete, |
397 ppapi::HostResource /* file_io */, | 395 ppapi::HostResource /* file_io */, |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 | 558 |
561 // PPB_URLLoader | 559 // PPB_URLLoader |
562 // (Messages from browser to plugin to notify it of changes in state.) | 560 // (Messages from browser to plugin to notify it of changes in state.) |
563 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, | 561 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, |
564 ppapi::HostResource /* loader */, | 562 ppapi::HostResource /* loader */, |
565 int32 /* result */, | 563 int32 /* result */, |
566 std::string /* data */) | 564 std::string /* data */) |
567 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, | 565 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, |
568 ppapi::HostResource /* loader */, | 566 ppapi::HostResource /* loader */, |
569 int32_t /* result */) | 567 int32_t /* result */) |
570 #if !defined(OS_NACL) | 568 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
571 // PPB_Broker. | 569 // PPB_Broker. |
572 IPC_MESSAGE_ROUTED3( | 570 IPC_MESSAGE_ROUTED3( |
573 PpapiMsg_PPBBroker_ConnectComplete, | 571 PpapiMsg_PPBBroker_ConnectComplete, |
574 ppapi::HostResource /* broker */, | 572 ppapi::HostResource /* broker */, |
575 IPC::PlatformFileForTransit /* handle */, | 573 IPC::PlatformFileForTransit /* handle */, |
576 int32_t /* result */) | 574 int32_t /* result */) |
577 | 575 |
578 // PPB_NetworkMonitor_Private. | 576 // PPB_NetworkMonitor_Private. |
579 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, | 577 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBNetworkMonitor_NetworkList, |
580 uint32 /* plugin_dispatcher_id */, | 578 uint32 /* plugin_dispatcher_id */, |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 uint32_t /* texture_target */) | 712 uint32_t /* texture_target */) |
715 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, | 713 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, |
716 ppapi::HostResource /* video_decoder */, | 714 ppapi::HostResource /* video_decoder */, |
717 int32_t /* picture buffer id */) | 715 int32_t /* picture buffer id */) |
718 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, | 716 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, |
719 ppapi::HostResource /* video_decoder */, | 717 ppapi::HostResource /* video_decoder */, |
720 PP_Picture_Dev /* output picture */) | 718 PP_Picture_Dev /* output picture */) |
721 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, | 719 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, |
722 ppapi::HostResource /* video_decoder */, | 720 ppapi::HostResource /* video_decoder */, |
723 PP_VideoDecodeError_Dev /* error */) | 721 PP_VideoDecodeError_Dev /* error */) |
724 #endif // !defined(OS_NACL) | 722 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
725 | 723 |
726 // ----------------------------------------------------------------------------- | 724 // ----------------------------------------------------------------------------- |
727 // These are from the plugin to the renderer. | 725 // These are from the plugin to the renderer. |
728 | 726 |
729 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel | 727 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel |
730 // could not be established. This could be because the IPC could not be created | 728 // could not be established. This could be because the IPC could not be created |
731 // for some weird reason, but more likely that the plugin failed to load or | 729 // for some weird reason, but more likely that the plugin failed to load or |
732 // initialize properly. | 730 // initialize properly. |
733 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 731 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
734 IPC::ChannelHandle /* handle */) | 732 IPC::ChannelHandle /* handle */) |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, | 895 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, |
898 ppapi::HostResource /* context */, | 896 ppapi::HostResource /* context */, |
899 int32 /* put_offset */) | 897 int32 /* put_offset */) |
900 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, | 898 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, |
901 ppapi::HostResource /* context */, | 899 ppapi::HostResource /* context */, |
902 int32 /* size */, | 900 int32 /* size */, |
903 int32 /* id */) | 901 int32 /* id */) |
904 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 902 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
905 ppapi::HostResource /* context */, | 903 ppapi::HostResource /* context */, |
906 int32 /* id */) | 904 int32 /* id */) |
907 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | 905 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
908 ppapi::HostResource /* context */, | 906 ppapi::HostResource /* context */, |
909 int32 /* id */, | 907 int32 /* id */, |
910 base::SharedMemoryHandle /* transfer_buffer */, | 908 ppapi::proxy::SerializedHandle /* transfer_buffer */) |
911 uint32 /* size */) | |
912 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 909 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
913 ppapi::HostResource /* graphics_3d */) | 910 ppapi::HostResource /* graphics_3d */) |
914 | 911 |
915 // PPB_ImageData. | 912 // PPB_ImageData. |
916 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 913 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
917 PP_Instance /* instance */, | 914 PP_Instance /* instance */, |
918 int32 /* format */, | 915 int32 /* format */, |
919 PP_Size /* size */, | 916 PP_Size /* size */, |
920 PP_Bool /* init_to_zero */, | 917 PP_Bool /* init_to_zero */, |
921 ppapi::HostResource /* result_resource */, | 918 ppapi::HostResource /* result_resource */, |
922 std::string /* image_data_desc */, | 919 std::string /* image_data_desc */, |
923 ppapi::proxy::ImageHandle /* result */) | 920 ppapi::proxy::ImageHandle /* result */) |
924 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, | 921 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, |
925 PP_Instance /* instance */, | 922 PP_Instance /* instance */, |
926 int32 /* format */, | 923 int32 /* format */, |
927 PP_Size /* size */, | 924 PP_Size /* size */, |
928 PP_Bool /* init_to_zero */, | 925 PP_Bool /* init_to_zero */, |
929 ppapi::HostResource /* result_resource */, | 926 ppapi::HostResource /* result_resource */, |
930 std::string /* image_data_desc */, | 927 std::string /* image_data_desc */, |
931 base::SharedMemoryHandle /* result */) | 928 ppapi::proxy::SerializedHandle /* result */) |
932 | 929 |
933 // PPB_Instance. | 930 // PPB_Instance. |
934 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 931 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
935 PP_Instance /* instance */, | 932 PP_Instance /* instance */, |
936 ppapi::proxy::SerializedVar /* result */) | 933 ppapi::proxy::SerializedVar /* result */) |
937 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 934 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
938 PP_Instance /* instance */, | 935 PP_Instance /* instance */, |
939 ppapi::proxy::SerializedVar /* result */) | 936 ppapi::proxy::SerializedVar /* result */) |
940 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 937 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
941 PP_Instance /* instance */, | 938 PP_Instance /* instance */, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 ppapi::proxy::SerializedVar /* var */, | 1111 ppapi::proxy::SerializedVar /* var */, |
1115 int64 /* object_class */, | 1112 int64 /* object_class */, |
1116 int64 /* object-data */, | 1113 int64 /* object-data */, |
1117 PP_Bool /* result */) | 1114 PP_Bool /* result */) |
1118 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 1115 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
1119 PP_Instance /* instance */, | 1116 PP_Instance /* instance */, |
1120 int64 /* object_class */, | 1117 int64 /* object_class */, |
1121 int64 /* object_data */, | 1118 int64 /* object_data */, |
1122 ppapi::proxy::SerializedVar /* result */) | 1119 ppapi::proxy::SerializedVar /* result */) |
1123 | 1120 |
1124 #if !defined(OS_NACL) | 1121 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1125 // PPB_Broker. | 1122 // PPB_Broker. |
1126 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 1123 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
1127 PP_Instance /* instance */, | 1124 PP_Instance /* instance */, |
1128 ppapi::HostResource /* result_resource */) | 1125 ppapi::HostResource /* result_resource */) |
1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 1126 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
1130 ppapi::HostResource /* broker */) | 1127 ppapi::HostResource /* broker */) |
1131 | 1128 |
1132 // PPB_Buffer. | 1129 // PPB_Buffer. |
1133 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 1130 IPC_SYNC_MESSAGE_ROUTED2_2( |
1134 PP_Instance /* instance */, | 1131 PpapiHostMsg_PPBBuffer_Create, |
1135 uint32_t /* size */, | 1132 PP_Instance /* instance */, |
1136 ppapi::HostResource /* result_resource */, | 1133 uint32_t /* size */, |
1137 base::SharedMemoryHandle /* result_shm_handle */) | 1134 ppapi::HostResource /* result_resource */, |
| 1135 ppapi::proxy::SerializedHandle /* result_shm_handle */) |
1138 | 1136 |
1139 // PPB_NetworkMonitor_Private. | 1137 // PPB_NetworkMonitor_Private. |
1140 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, | 1138 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, |
1141 uint32 /* plugin_dispatcher_id */) | 1139 uint32 /* plugin_dispatcher_id */) |
1142 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, | 1140 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Stop, |
1143 uint32 /* plugin_dispatcher_id */) | 1141 uint32 /* plugin_dispatcher_id */) |
1144 | 1142 |
1145 // PPB_HostResolver_Private. | 1143 // PPB_HostResolver_Private. |
1146 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, | 1144 IPC_MESSAGE_CONTROL5(PpapiHostMsg_PPBHostResolver_Resolve, |
1147 int32 /* routing_id */, | 1145 int32 /* routing_id */, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 // PPB_X509Certificate_Private | 1401 // PPB_X509Certificate_Private |
1404 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1402 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1405 std::vector<char> /* der */, | 1403 std::vector<char> /* der */, |
1406 bool /* succeeded */, | 1404 bool /* succeeded */, |
1407 ppapi::PPB_X509Certificate_Fields /* result */) | 1405 ppapi::PPB_X509Certificate_Fields /* result */) |
1408 | 1406 |
1409 // PPB_Font. | 1407 // PPB_Font. |
1410 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1408 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1411 std::string /* result */) | 1409 std::string /* result */) |
1412 | 1410 |
1413 #endif // !defined(OS_NACL) | 1411 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
1414 | 1412 |
1415 //----------------------------------------------------------------------------- | 1413 //----------------------------------------------------------------------------- |
1416 // Resource call/reply messages. | 1414 // Resource call/reply messages. |
1417 // | 1415 // |
1418 // These are the new-style resource implementations where the resource is only | 1416 // These are the new-style resource implementations where the resource is only |
1419 // implemented in the proxy and "resource messages" are sent between this and a | 1417 // implemented in the proxy and "resource messages" are sent between this and a |
1420 // host object. Resource messages are a wrapper around some general routing | 1418 // host object. Resource messages are a wrapper around some general routing |
1421 // information and a separate message of a type defined by the specific resource | 1419 // information and a separate message of a type defined by the specific resource |
1422 // sending/receiving it. The extra paremeters allow the nested message to be | 1420 // sending/receiving it. The extra paremeters allow the nested message to be |
1423 // routed automatically to the correct resource. | 1421 // routed automatically to the correct resource. |
(...skipping 29 matching lines...) Expand all Loading... |
1453 | 1451 |
1454 // File chooser. | 1452 // File chooser. |
1455 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) | 1453 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
1456 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, | 1454 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |
1457 bool /* save_as */, | 1455 bool /* save_as */, |
1458 bool /* open_multiple */, | 1456 bool /* open_multiple */, |
1459 std::string /* suggested_file_name */, | 1457 std::string /* suggested_file_name */, |
1460 std::vector<std::string> /* accept_mime_types */) | 1458 std::vector<std::string> /* accept_mime_types */) |
1461 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1459 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1462 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1460 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
OLD | NEW |