Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some proxy changes that aren't necessary now Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 567
570 // PPB_URLLoader 568 // PPB_URLLoader
571 // (Messages from browser to plugin to notify it of changes in state.) 569 // (Messages from browser to plugin to notify it of changes in state.)
572 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack, 570 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBURLLoader_ReadResponseBody_Ack,
573 ppapi::HostResource /* loader */, 571 ppapi::HostResource /* loader */,
574 int32 /* result */, 572 int32 /* result */,
575 std::string /* data */) 573 std::string /* data */)
576 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete, 574 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBURLLoader_CallbackComplete,
577 ppapi::HostResource /* loader */, 575 ppapi::HostResource /* loader */,
578 int32_t /* result */) 576 int32_t /* result */)
579 #if !defined(OS_NACL) 577 #if !defined(OS_NACL) && !defined(NACL_WIN64)
580 // PPB_Broker. 578 // PPB_Broker.
581 IPC_MESSAGE_ROUTED3( 579 IPC_MESSAGE_ROUTED3(
582 PpapiMsg_PPBBroker_ConnectComplete, 580 PpapiMsg_PPBBroker_ConnectComplete,
583 ppapi::HostResource /* broker */, 581 ppapi::HostResource /* broker */,
584 IPC::PlatformFileForTransit /* handle */, 582 IPC::PlatformFileForTransit /* handle */,
585 int32_t /* result */) 583 int32_t /* result */)
586 584
587 // PPP_ContentDecryptor_Dev 585 // PPP_ContentDecryptor_Dev
588 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest, 586 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPContentDecryptor_GenerateKeyRequest,
589 PP_Instance /* instance */, 587 PP_Instance /* instance */,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 uint32_t /* texture_target */) 742 uint32_t /* texture_target */)
745 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer, 743 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_DismissPictureBuffer,
746 ppapi::HostResource /* video_decoder */, 744 ppapi::HostResource /* video_decoder */,
747 int32_t /* picture buffer id */) 745 int32_t /* picture buffer id */)
748 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady, 746 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_PictureReady,
749 ppapi::HostResource /* video_decoder */, 747 ppapi::HostResource /* video_decoder */,
750 PP_Picture_Dev /* output picture */) 748 PP_Picture_Dev /* output picture */)
751 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError, 749 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPVideoDecoder_NotifyError,
752 ppapi::HostResource /* video_decoder */, 750 ppapi::HostResource /* video_decoder */,
753 PP_VideoDecodeError_Dev /* error */) 751 PP_VideoDecodeError_Dev /* error */)
754 #endif // !defined(OS_NACL) 752 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
755 753
756 // ----------------------------------------------------------------------------- 754 // -----------------------------------------------------------------------------
757 // These are from the plugin to the renderer. 755 // These are from the plugin to the renderer.
758 756
759 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel 757 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel
760 // could not be established. This could be because the IPC could not be created 758 // could not be established. This could be because the IPC could not be created
761 // for some weird reason, but more likely that the plugin failed to load or 759 // for some weird reason, but more likely that the plugin failed to load or
762 // initialize properly. 760 // initialize properly.
763 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, 761 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated,
764 IPC::ChannelHandle /* handle */) 762 IPC::ChannelHandle /* handle */)
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, 925 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush,
928 ppapi::HostResource /* context */, 926 ppapi::HostResource /* context */,
929 int32 /* put_offset */) 927 int32 /* put_offset */)
930 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, 928 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer,
931 ppapi::HostResource /* context */, 929 ppapi::HostResource /* context */,
932 int32 /* size */, 930 int32 /* size */,
933 int32 /* id */) 931 int32 /* id */)
934 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, 932 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer,
935 ppapi::HostResource /* context */, 933 ppapi::HostResource /* context */,
936 int32 /* id */) 934 int32 /* id */)
937 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, 935 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer,
938 ppapi::HostResource /* context */, 936 ppapi::HostResource /* context */,
939 int32 /* id */, 937 int32 /* id */,
940 base::SharedMemoryHandle /* transfer_buffer */, 938 ppapi::proxy::SerializedHandle /* transfer_buffer */)
941 uint32 /* size */)
942 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, 939 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers,
943 ppapi::HostResource /* graphics_3d */) 940 ppapi::HostResource /* graphics_3d */)
944 941
945 // PPB_ImageData. 942 // PPB_ImageData.
946 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create, 943 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_Create,
947 PP_Instance /* instance */, 944 PP_Instance /* instance */,
948 int32 /* format */, 945 int32 /* format */,
949 PP_Size /* size */, 946 PP_Size /* size */,
950 PP_Bool /* init_to_zero */, 947 PP_Bool /* init_to_zero */,
951 ppapi::HostResource /* result_resource */, 948 ppapi::HostResource /* result_resource */,
952 std::string /* image_data_desc */, 949 std::string /* image_data_desc */,
953 ppapi::proxy::ImageHandle /* result */) 950 ppapi::proxy::ImageHandle /* result */)
954 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl, 951 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreateNaCl,
955 PP_Instance /* instance */, 952 PP_Instance /* instance */,
956 int32 /* format */, 953 int32 /* format */,
957 PP_Size /* size */, 954 PP_Size /* size */,
958 PP_Bool /* init_to_zero */, 955 PP_Bool /* init_to_zero */,
959 ppapi::HostResource /* result_resource */, 956 ppapi::HostResource /* result_resource */,
960 std::string /* image_data_desc */, 957 std::string /* image_data_desc */,
961 base::SharedMemoryHandle /* result */) 958 ppapi::proxy::SerializedHandle /* result */)
962 959
963 // PPB_Instance. 960 // PPB_Instance.
964 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 961 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
965 PP_Instance /* instance */, 962 PP_Instance /* instance */,
966 ppapi::proxy::SerializedVar /* result */) 963 ppapi::proxy::SerializedVar /* result */)
967 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 964 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
968 PP_Instance /* instance */, 965 PP_Instance /* instance */,
969 ppapi::proxy::SerializedVar /* result */) 966 ppapi::proxy::SerializedVar /* result */)
970 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, 967 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics,
971 PP_Instance /* instance */, 968 PP_Instance /* instance */,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 ppapi::proxy::SerializedVar /* var */, 1141 ppapi::proxy::SerializedVar /* var */,
1145 int64 /* object_class */, 1142 int64 /* object_class */,
1146 int64 /* object-data */, 1143 int64 /* object-data */,
1147 PP_Bool /* result */) 1144 PP_Bool /* result */)
1148 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, 1145 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated,
1149 PP_Instance /* instance */, 1146 PP_Instance /* instance */,
1150 int64 /* object_class */, 1147 int64 /* object_class */,
1151 int64 /* object_data */, 1148 int64 /* object_data */,
1152 ppapi::proxy::SerializedVar /* result */) 1149 ppapi::proxy::SerializedVar /* result */)
1153 1150
1154 #if !defined(OS_NACL) 1151 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1155 // PPB_Broker. 1152 // PPB_Broker.
1156 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, 1153 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create,
1157 PP_Instance /* instance */, 1154 PP_Instance /* instance */,
1158 ppapi::HostResource /* result_resource */) 1155 ppapi::HostResource /* result_resource */)
1159 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, 1156 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect,
1160 ppapi::HostResource /* broker */) 1157 ppapi::HostResource /* broker */)
1161 1158
1162 // PPB_Buffer. 1159 // PPB_Buffer.
1163 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 1160 IPC_SYNC_MESSAGE_ROUTED2_2(
1164 PP_Instance /* instance */, 1161 PpapiHostMsg_PPBBuffer_Create,
1165 uint32_t /* size */, 1162 PP_Instance /* instance */,
1166 ppapi::HostResource /* result_resource */, 1163 uint32_t /* size */,
1167 base::SharedMemoryHandle /* result_shm_handle */) 1164 ppapi::HostResource /* result_resource */,
1165 ppapi::proxy::SerializedHandle /* result_shm_handle */)
1168 1166
1169 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy. 1167 // PPB_ContentDecryptor_Dev messages handled in PPB_Instance_Proxy.
1170 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey, 1168 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBInstance_NeedKey,
1171 PP_Instance /* instance */, 1169 PP_Instance /* instance */,
1172 ppapi::proxy::SerializedVar /* key_system, String */, 1170 ppapi::proxy::SerializedVar /* key_system, String */,
1173 ppapi::proxy::SerializedVar /* session_id, String */, 1171 ppapi::proxy::SerializedVar /* session_id, String */,
1174 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */) 1172 ppapi::proxy::SerializedVar /* init_data, ArrayBuffer */)
1175 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded, 1173 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBInstance_KeyAdded,
1176 PP_Instance /* instance */, 1174 PP_Instance /* instance */,
1177 ppapi::proxy::SerializedVar /* key_system, String */, 1175 ppapi::proxy::SerializedVar /* key_system, String */,
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 // PPB_X509Certificate_Private 1466 // PPB_X509Certificate_Private
1469 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1467 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1470 std::vector<char> /* der */, 1468 std::vector<char> /* der */,
1471 bool /* succeeded */, 1469 bool /* succeeded */,
1472 ppapi::PPB_X509Certificate_Fields /* result */) 1470 ppapi::PPB_X509Certificate_Fields /* result */)
1473 1471
1474 // PPB_Font. 1472 // PPB_Font.
1475 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1473 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1476 std::string /* result */) 1474 std::string /* result */)
1477 1475
1478 #endif // !defined(OS_NACL) 1476 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
1479 1477
1480 //----------------------------------------------------------------------------- 1478 //-----------------------------------------------------------------------------
1481 // Resource call/reply messages. 1479 // Resource call/reply messages.
1482 // 1480 //
1483 // These are the new-style resource implementations where the resource is only 1481 // These are the new-style resource implementations where the resource is only
1484 // implemented in the proxy and "resource messages" are sent between this and a 1482 // implemented in the proxy and "resource messages" are sent between this and a
1485 // host object. Resource messages are a wrapper around some general routing 1483 // host object. Resource messages are a wrapper around some general routing
1486 // information and a separate message of a type defined by the specific resource 1484 // information and a separate message of a type defined by the specific resource
1487 // sending/receiving it. The extra paremeters allow the nested message to be 1485 // sending/receiving it. The extra paremeters allow the nested message to be
1488 // routed automatically to the correct resource. 1486 // routed automatically to the correct resource.
(...skipping 29 matching lines...) Expand all
1518 1516
1519 // File chooser. 1517 // File chooser.
1520 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1518 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1521 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1519 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1522 bool /* save_as */, 1520 bool /* save_as */,
1523 bool /* open_multiple */, 1521 bool /* open_multiple */,
1524 std::string /* suggested_file_name */, 1522 std::string /* suggested_file_name */,
1525 std::vector<std::string> /* accept_mime_types */) 1523 std::vector<std::string> /* accept_mime_types */)
1526 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1524 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1527 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1525 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698