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) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 // Passes the WebKit preferences to the plugin. | 287 // Passes the WebKit preferences to the plugin. |
288 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, | 288 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, |
289 ppapi::Preferences) | 289 ppapi::Preferences) |
290 | 290 |
291 // Sent in both directions to see if the other side supports the given | 291 // Sent in both directions to see if the other side supports the given |
292 // interface. | 292 // interface. |
293 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, | 293 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, |
294 std::string /* interface_name */, | 294 std::string /* interface_name */, |
295 bool /* result */) | 295 bool /* result */) |
296 | 296 |
297 #if !defined(OS_NACL) | 297 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
298 // Network state notification from the browser for implementing | 298 // Network state notification from the browser for implementing |
299 // PPP_NetworkState_Dev. | 299 // PPP_NetworkState_Dev. |
300 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 300 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
301 bool /* online */) | 301 bool /* online */) |
302 | 302 |
303 // Requests a list of sites that have data stored from the plugin. The plugin | 303 // Requests a list of sites that have data stored from the plugin. The plugin |
304 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used | 304 // process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used |
305 // for Flash. | 305 // for Flash. |
306 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, | 306 IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, |
307 uint32 /* request_id */, | 307 uint32 /* request_id */, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 ppapi::FlashSiteSettings /* sites */) | 358 ppapi::FlashSiteSettings /* sites */) |
359 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, | 359 IPC_MESSAGE_CONTROL2(PpapiHostMsg_SetSitePermissionResult, |
360 uint32 /* request_id */, | 360 uint32 /* request_id */, |
361 bool /* success */) | 361 bool /* success */) |
362 | 362 |
363 // Broker Process. | 363 // Broker Process. |
364 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, | 364 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin, |
365 PP_Instance /* instance */, | 365 PP_Instance /* instance */, |
366 IPC::PlatformFileForTransit /* handle */, | 366 IPC::PlatformFileForTransit /* handle */, |
367 int32_t /* result */) | 367 int32_t /* result */) |
368 #endif // !defined(OS_NACL) | 368 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
369 | 369 |
370 // PPB_Audio. | 370 // PPB_Audio. |
371 | 371 |
372 // Notifies the result of the audio stream create call. This is called in | 372 // Notifies the result of the audio stream create call. This is called in |
373 // both error cases and in the normal success case. These cases are | 373 // both error cases and in the normal success case. These cases are |
374 // differentiated by the result code, which is one of the standard PPAPI | 374 // differentiated by the result code, which is one of the standard PPAPI |
375 // result codes. | 375 // result codes. |
376 // | 376 // |
377 // The handler of this message should always close all of the handles passed | 377 // The handler of this message should always close all of the handles passed |
378 // in, since some could be valid even in the error case. | 378 // in, since some could be valid even in the error case. |
379 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 379 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
380 ppapi::HostResource /* audio_id */, | 380 ppapi::HostResource /* audio_id */, |
381 int32_t /* result_code (will be != PP_OK on failure) */, | 381 int32_t /* result_code (will be != PP_OK on failure) */, |
382 IPC::PlatformFileForTransit /* socket_handle */, | 382 ppapi::proxy::SerializedHandle /* socket_handle */, |
383 base::SharedMemoryHandle /* handle */, | 383 ppapi::proxy::SerializedHandle /* handle */) |
384 int32_t /* length */) | |
385 | 384 |
386 // PPB_AudioInput_Dev. | 385 // PPB_AudioInput_Dev. |
387 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBAudioInput_EnumerateDevicesACK, | 386 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBAudioInput_EnumerateDevicesACK, |
388 ppapi::HostResource /* audio_input */, | 387 ppapi::HostResource /* audio_input */, |
389 int32_t /* result */, | 388 int32_t /* result */, |
390 std::vector<ppapi::DeviceRefData> /* devices */) | 389 std::vector<ppapi::DeviceRefData> /* devices */) |
391 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_OpenACK, | 390 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudioInput_OpenACK, |
392 ppapi::HostResource /* audio_input */, | 391 ppapi::HostResource /* audio_input */, |
393 int32_t /* result_code (will be != PP_OK on failure) */, | 392 int32_t /* result_code (will be != PP_OK on failure) */, |
394 IPC::PlatformFileForTransit /* socket_handle */, | 393 ppapi::proxy::SerializedHandle /* socket_handle */, |
395 base::SharedMemoryHandle /* handle */, | 394 ppapi::proxy::SerializedHandle /* handle */) |
396 int32_t /* length */) | |
397 | 395 |
398 // PPB_FileIO. | 396 // PPB_FileIO. |
399 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_GeneralComplete, | 397 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_GeneralComplete, |
400 ppapi::HostResource /* file_io */, | 398 ppapi::HostResource /* file_io */, |
401 int32_t /* result */) | 399 int32_t /* result */) |
402 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_OpenFileComplete, | 400 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_OpenFileComplete, |
403 ppapi::HostResource /* file_io */, | 401 ppapi::HostResource /* file_io */, |
404 int32_t /* result */) | 402 int32_t /* result */) |
405 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_QueryComplete, | 403 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_QueryComplete, |
406 ppapi::HostResource /* file_io */, | 404 ppapi::HostResource /* file_io */, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 | 571 |
574 // PPB_URLLoader | 572 // PPB_URLLoader |
575 // (Messages from browser to plugin to notify it of changes in state.) | 573 // (Messages from browser to plugin to notify it of changes in state.) |
576 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, | 574 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, |
577 ppapi::HostResource /* loader */, | 575 ppapi::HostResource /* loader */, |
578 int32 /* result */, | 576 int32 /* result */, |
579 std::string /* data */) | 577 std::string /* data */) |
580 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, | 578 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, |
581 ppapi::HostResource /* loader */, | 579 ppapi::HostResource /* loader */, |
582 int32_t /* result */) | 580 int32_t /* result */) |
583 #if !defined(OS_NACL) | 581 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
584 // PPB_Broker. | 582 // PPB_Broker. |
585 IPC_MESSAGE_ROUTED3( | 583 IPC_MESSAGE_ROUTED3( |
586 PpapiMsg_PPBBroker_ConnectComplete, | 584 PpapiMsg_PPBBroker_ConnectComplete, |
587 ppapi::HostResource /* broker */, | 585 ppapi::HostResource /* broker */, |
588 IPC::PlatformFileForTransit /* handle */, | 586 IPC::PlatformFileForTransit /* handle */, |
589 int32_t /* result */) | 587 int32_t /* result */) |
590 | 588 |
591 // PPP_ContentDecryptor_Dev | 589 // PPP_ContentDecryptor_Dev |
592 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest, | 590 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest, |
593 PP_Instance /* instance */, | 591 PP_Instance /* instance */, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 uint32_t /* texture_target */) | 747 uint32_t /* texture_target */) |
750 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, | 748 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, |
751 ppapi::HostResource /* video_decoder */, | 749 ppapi::HostResource /* video_decoder */, |
752 int32_t /* picture buffer id */) | 750 int32_t /* picture buffer id */) |
753 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, | 751 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, |
754 ppapi::HostResource /* video_decoder */, | 752 ppapi::HostResource /* video_decoder */, |
755 PP_Picture_Dev /* output picture */) | 753 PP_Picture_Dev /* output picture */) |
756 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, | 754 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, |
757 ppapi::HostResource /* video_decoder */, | 755 ppapi::HostResource /* video_decoder */, |
758 PP_VideoDecodeError_Dev /* error */) | 756 PP_VideoDecodeError_Dev /* error */) |
759 #endif // !defined(OS_NACL) | 757 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
760 | 758 |
761 // ----------------------------------------------------------------------------- | 759 // ----------------------------------------------------------------------------- |
762 // These are from the plugin to the renderer. | 760 // These are from the plugin to the renderer. |
763 | 761 |
764 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel | 762 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel |
765 // could not be established. This could be because the IPC could not be created | 763 // could not be established. This could be because the IPC could not be created |
766 // for some weird reason, but more likely that the plugin failed to load or | 764 // for some weird reason, but more likely that the plugin failed to load or |
767 // initialize properly. | 765 // initialize properly. |
768 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 766 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
769 IPC::ChannelHandle /* handle */) | 767 IPC::ChannelHandle /* handle */) |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, | 930 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, |
933 ppapi::HostResource /* context */, | 931 ppapi::HostResource /* context */, |
934 int32 /* put_offset */) | 932 int32 /* put_offset */) |
935 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, | 933 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, |
936 ppapi::HostResource /* context */, | 934 ppapi::HostResource /* context */, |
937 int32 /* size */, | 935 int32 /* size */, |
938 int32 /* id */) | 936 int32 /* id */) |
939 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 937 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
940 ppapi::HostResource /* context */, | 938 ppapi::HostResource /* context */, |
941 int32 /* id */) | 939 int32 /* id */) |
942 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, | 940 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
943 ppapi::HostResource /* context */, | 941 ppapi::HostResource /* context */, |
944 int32 /* id */, | 942 int32 /* id */, |
945 base::SharedMemoryHandle /* transfer_buffer */, | 943 ppapi::proxy::SerializedHandle /* transfer_buffer */) |
946 uint32 /* size */) | |
947 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 944 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
948 ppapi::HostResource /* graphics_3d */) | 945 ppapi::HostResource /* graphics_3d */) |
949 | 946 |
950 // PPB_ImageData. | 947 // PPB_ImageData. |
951 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, | 948 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, |
952 PP_Instance /* instance */, | 949 PP_Instance /* instance */, |
953 int32 /* format */, | 950 int32 /* format */, |
954 PP_Size /* size */, | 951 PP_Size /* size */, |
955 PP_Bool /* init_to_zero */, | 952 PP_Bool /* init_to_zero */, |
956 ppapi::HostResource /* result_resource */, | 953 ppapi::HostResource /* result_resource */, |
957 std::string /* image_data_desc */, | 954 std::string /* image_data_desc */, |
958 ppapi::proxy::ImageHandle /* result */) | 955 ppapi::proxy::ImageHandle /* result */) |
959 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, | 956 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, |
960 PP_Instance /* instance */, | 957 PP_Instance /* instance */, |
961 int32 /* format */, | 958 int32 /* format */, |
962 PP_Size /* size */, | 959 PP_Size /* size */, |
963 PP_Bool /* init_to_zero */, | 960 PP_Bool /* init_to_zero */, |
964 ppapi::HostResource /* result_resource */, | 961 ppapi::HostResource /* result_resource */, |
965 std::string /* image_data_desc */, | 962 std::string /* image_data_desc */, |
966 base::SharedMemoryHandle /* result */) | 963 ppapi::proxy::SerializedHandle /* result */) |
967 | 964 |
968 // PPB_Instance. | 965 // PPB_Instance. |
969 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, | 966 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
970 PP_Instance /* instance */, | 967 PP_Instance /* instance */, |
971 ppapi::proxy::SerializedVar /* result */) | 968 ppapi::proxy::SerializedVar /* result */) |
972 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, | 969 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, |
973 PP_Instance /* instance */, | 970 PP_Instance /* instance */, |
974 ppapi::proxy::SerializedVar /* result */) | 971 ppapi::proxy::SerializedVar /* result */) |
975 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, | 972 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, |
976 PP_Instance /* instance */, | 973 PP_Instance /* instance */, |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 ppapi::proxy::SerializedVar /* var */, | 1146 ppapi::proxy::SerializedVar /* var */, |
1150 int64 /* object_class */, | 1147 int64 /* object_class */, |
1151 int64 /* object-data */, | 1148 int64 /* object-data */, |
1152 PP_Bool /* result */) | 1149 PP_Bool /* result */) |
1153 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 1150 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
1154 PP_Instance /* instance */, | 1151 PP_Instance /* instance */, |
1155 int64 /* object_class */, | 1152 int64 /* object_class */, |
1156 int64 /* object_data */, | 1153 int64 /* object_data */, |
1157 ppapi::proxy::SerializedVar /* result */) | 1154 ppapi::proxy::SerializedVar /* result */) |
1158 | 1155 |
1159 #if !defined(OS_NACL) | 1156 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1160 // PPB_Broker. | 1157 // PPB_Broker. |
1161 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 1158 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
1162 PP_Instance /* instance */, | 1159 PP_Instance /* instance */, |
1163 ppapi::HostResource /* result_resource */) | 1160 ppapi::HostResource /* result_resource */) |
1164 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 1161 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
1165 ppapi::HostResource /* broker */) | 1162 ppapi::HostResource /* broker */) |
1166 | 1163 |
1167 // PPB_Buffer. | 1164 // PPB_Buffer. |
1168 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 1165 IPC_SYNC_MESSAGE_ROUTED2_2( |
1169 PP_Instance /* instance */, | 1166 PpapiHostMsg_PPBBuffer_Create, |
1170 uint32_t /* size */, | 1167 PP_Instance /* instance */, |
1171 ppapi::HostResource /* result_resource */, | 1168 uint32_t /* size */, |
1172 base::SharedMemoryHandle /* result_shm_handle */) | 1169 ppapi::HostResource /* result_resource */, |
| 1170 ppapi::proxy::SerializedHandle /* result_shm_handle */) |
1173 | 1171 |
1174 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. | 1172 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. |
1175 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey, | 1173 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey, |
1176 PP_Instance /* instance */, | 1174 PP_Instance /* instance */, |
1177 ppapi::proxy::SerializedVar /* key_system, String */, | 1175 ppapi::proxy::SerializedVar /* key_system, String */, |
1178 ppapi::proxy::SerializedVar /* session_id, String */, | 1176 ppapi::proxy::SerializedVar /* session_id, String */, |
1179 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) | 1177 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) |
1180 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded, | 1178 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded, |
1181 PP_Instance /* instance */, | 1179 PP_Instance /* instance */, |
1182 ppapi::proxy::SerializedVar /* key_system, String */, | 1180 ppapi::proxy::SerializedVar /* key_system, String */, |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1473 // PPB_X509Certificate_Private | 1471 // PPB_X509Certificate_Private |
1474 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, | 1472 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, |
1475 std::vector<char> /* der */, | 1473 std::vector<char> /* der */, |
1476 bool /* succeeded */, | 1474 bool /* succeeded */, |
1477 ppapi::PPB_X509Certificate_Fields /* result */) | 1475 ppapi::PPB_X509Certificate_Fields /* result */) |
1478 | 1476 |
1479 // PPB_Font. | 1477 // PPB_Font. |
1480 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, | 1478 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, |
1481 std::string /* result */) | 1479 std::string /* result */) |
1482 | 1480 |
1483 #endif // !defined(OS_NACL) | 1481 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
1484 | 1482 |
1485 //----------------------------------------------------------------------------- | 1483 //----------------------------------------------------------------------------- |
1486 // Resource call/reply messages. | 1484 // Resource call/reply messages. |
1487 // | 1485 // |
1488 // These are the new-style resource implementations where the resource is only | 1486 // These are the new-style resource implementations where the resource is only |
1489 // implemented in the proxy and "resource messages" are sent between this and a | 1487 // implemented in the proxy and "resource messages" are sent between this and a |
1490 // host object. Resource messages are a wrapper around some general routing | 1488 // host object. Resource messages are a wrapper around some general routing |
1491 // information and a separate message of a type defined by the specific resource | 1489 // information and a separate message of a type defined by the specific resource |
1492 // sending/receiving it. The extra paremeters allow the nested message to be | 1490 // sending/receiving it. The extra paremeters allow the nested message to be |
1493 // routed automatically to the correct resource. | 1491 // routed automatically to the correct resource. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 std::string /* suggested_file_name */, | 1527 std::string /* suggested_file_name */, |
1530 std::vector<std::string> /* accept_mime_types */) | 1528 std::vector<std::string> /* accept_mime_types */) |
1531 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, | 1529 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, |
1532 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) | 1530 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) |
1533 | 1531 |
1534 // Gamepad. | 1532 // Gamepad. |
1535 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) | 1533 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) |
1536 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) | 1534 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) |
1537 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Gamepad_SendMemory, | 1535 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Gamepad_SendMemory, |
1538 base::SharedMemoryHandle /* handle */) | 1536 base::SharedMemoryHandle /* handle */) |
OLD | NEW |