| OLD | NEW |
| 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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 | 5 |
| 6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
| 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
| 8 | 8 |
| 9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
| 10 #include "ppapi/c/dev/ppb_alarms_dev.h" | 10 #include "ppapi/c/dev/ppb_alarms_dev.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "ppapi/c/ppb_console.h" | 23 #include "ppapi/c/ppb_console.h" |
| 24 #include "ppapi/c/ppb_core.h" | 24 #include "ppapi/c/ppb_core.h" |
| 25 #include "ppapi/c/ppb_file_io.h" | 25 #include "ppapi/c/ppb_file_io.h" |
| 26 #include "ppapi/c/ppb_file_mapping.h" | 26 #include "ppapi/c/ppb_file_mapping.h" |
| 27 #include "ppapi/c/ppb_file_ref.h" | 27 #include "ppapi/c/ppb_file_ref.h" |
| 28 #include "ppapi/c/ppb_file_system.h" | 28 #include "ppapi/c/ppb_file_system.h" |
| 29 #include "ppapi/c/ppb_graphics_2d.h" | 29 #include "ppapi/c/ppb_graphics_2d.h" |
| 30 #include "ppapi/c/ppb_graphics_3d.h" | 30 #include "ppapi/c/ppb_graphics_3d.h" |
| 31 #include "ppapi/c/ppb_host_resolver.h" | 31 #include "ppapi/c/ppb_host_resolver.h" |
| 32 #include "ppapi/c/ppb_input_event.h" | 32 #include "ppapi/c/ppb_input_event.h" |
| 33 #include "ppapi/c/ppb_media_codec_video_decoder.h" |
| 33 #include "ppapi/c/ppb_media_stream_audio_track.h" | 34 #include "ppapi/c/ppb_media_stream_audio_track.h" |
| 34 #include "ppapi/c/ppb_media_stream_video_track.h" | 35 #include "ppapi/c/ppb_media_stream_video_track.h" |
| 35 #include "ppapi/c/ppb_message_loop.h" | 36 #include "ppapi/c/ppb_message_loop.h" |
| 36 #include "ppapi/c/ppb_messaging.h" | 37 #include "ppapi/c/ppb_messaging.h" |
| 37 #include "ppapi/c/ppb_mouse_lock.h" | 38 #include "ppapi/c/ppb_mouse_lock.h" |
| 38 #include "ppapi/c/ppb_net_address.h" | 39 #include "ppapi/c/ppb_net_address.h" |
| 39 #include "ppapi/c/ppb_network_list.h" | 40 #include "ppapi/c/ppb_network_list.h" |
| 40 #include "ppapi/c/ppb_network_monitor.h" | 41 #include "ppapi/c/ppb_network_monitor.h" |
| 41 #include "ppapi/c/ppb_network_proxy.h" | 42 #include "ppapi/c/ppb_network_proxy.h" |
| 42 #include "ppapi/c/ppb_tcp_socket.h" | 43 #include "ppapi/c/ppb_tcp_socket.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; | 108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
| 108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
| 109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; | 110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; |
| 110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
| 111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
| 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
| 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
| 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; | 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; |
| 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
| 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; | 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; |
| 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaCodecVideoDecoder_0_
1; |
| 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; | 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; |
| 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; | 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; |
| 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
| 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
| 121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
| 122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; | 124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; |
| 123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; | 125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; |
| 124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; | 126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; |
| 125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; | 127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; |
| 126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; | 128 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 | 985 |
| 984 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint
32_t* start, uint32_t* end) { | 986 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint
32_t* start, uint32_t* end) { |
| 985 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven
t_1_0.real_iface; | 987 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven
t_1_0.real_iface; |
| 986 iface->GetSelection(ime_event, start, end); | 988 iface->GetSelection(ime_event, start, end); |
| 987 } | 989 } |
| 988 | 990 |
| 989 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ | 991 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ |
| 990 | 992 |
| 991 /* Not generating wrapper methods for PPB_Instance_1_0 */ | 993 /* Not generating wrapper methods for PPB_Instance_1_0 */ |
| 992 | 994 |
| 995 /* Begin wrapper methods for PPB_MediaCodecVideoDecoder_0_1 */ |
| 996 |
| 997 static PP_Resource Pnacl_M36_PPB_MediaCodecVideoDecoder_Create(PP_Instance insta
nce) { |
| 998 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 999 return iface->Create(instance); |
| 1000 } |
| 1001 |
| 1002 static PP_Bool Pnacl_M36_PPB_MediaCodecVideoDecoder_IsMediaCodecVideoDecoder(PP_
Resource resource) { |
| 1003 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1004 return iface->IsMediaCodecVideoDecoder(resource); |
| 1005 } |
| 1006 |
| 1007 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Initialize(PP_Resource video
_decoder, PP_Resource context, PP_MediaCodec_Profile profile, struct PP_Completi
onCallback* callback) { |
| 1008 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1009 return iface->Initialize(video_decoder, context, profile, *callback); |
| 1010 } |
| 1011 |
| 1012 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_GetBitstreamBuffer(PP_Resour
ce video_decoder, uint32_t size, struct PP_MediaCodec_BitstreamBuffer* bitstream
_buffer, struct PP_CompletionCallback* callback) { |
| 1013 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1014 return iface->GetBitstreamBuffer(video_decoder, size, bitstream_buffer, *callb
ack); |
| 1015 } |
| 1016 |
| 1017 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Decode(PP_Resource video_dec
oder, const struct PP_MediaCodec_BitstreamBuffer* bitstream_buffer, struct PP_Co
mpletionCallback* callback) { |
| 1018 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1019 return iface->Decode(video_decoder, bitstream_buffer, *callback); |
| 1020 } |
| 1021 |
| 1022 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_GetPictureBuffer(PP_Resource
video_decoder, struct PP_MediaCodec_PictureBuffer* picture_buffer, struct PP_Co
mpletionCallback* callback) { |
| 1023 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1024 return iface->GetPictureBuffer(video_decoder, picture_buffer, *callback); |
| 1025 } |
| 1026 |
| 1027 static void Pnacl_M36_PPB_MediaCodecVideoDecoder_RecyclePictureBuffer(PP_Resourc
e video_decoder, const struct PP_MediaCodec_PictureBuffer* picture_buffer) { |
| 1028 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1029 iface->RecyclePictureBuffer(video_decoder, picture_buffer); |
| 1030 } |
| 1031 |
| 1032 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Flush(PP_Resource video_deco
der, struct PP_CompletionCallback* callback) { |
| 1033 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1034 return iface->Flush(video_decoder, *callback); |
| 1035 } |
| 1036 |
| 1037 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Reset(PP_Resource video_deco
der, struct PP_CompletionCallback* callback) { |
| 1038 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1039 return iface->Reset(video_decoder, *callback); |
| 1040 } |
| 1041 |
| 1042 /* End wrapper methods for PPB_MediaCodecVideoDecoder_0_1 */ |
| 1043 |
| 993 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ | 1044 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ |
| 994 | 1045 |
| 995 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re
source resource) { | 1046 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re
source resource) { |
| 996 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; | 1047 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 997 return iface->IsMediaStreamAudioTrack(resource); | 1048 return iface->IsMediaStreamAudioTrack(resource); |
| 998 } | 1049 } |
| 999 | 1050 |
| 1000 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_t
rack, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { | 1051 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_t
rack, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { |
| 1001 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; | 1052 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 1002 return iface->Configure(audio_track, attrib_list, *callback); | 1053 return iface->Configure(audio_track, attrib_list, *callback); |
| (...skipping 3441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4444 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, | 4495 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, |
| 4445 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, | 4496 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, |
| 4446 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, | 4497 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, |
| 4447 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, | 4498 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, |
| 4448 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, | 4499 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, |
| 4449 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection | 4500 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection |
| 4450 }; | 4501 }; |
| 4451 | 4502 |
| 4452 /* Not generating wrapper interface for PPB_Instance_1_0 */ | 4503 /* Not generating wrapper interface for PPB_Instance_1_0 */ |
| 4453 | 4504 |
| 4505 static const struct PPB_MediaCodecVideoDecoder_0_1 Pnacl_Wrappers_PPB_MediaCodec
VideoDecoder_0_1 = { |
| 4506 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_MediaCodecVi
deoDecoder_Create, |
| 4507 .IsMediaCodecVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PP
B_MediaCodecVideoDecoder_IsMediaCodecVideoDecoder, |
| 4508 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource context, P
P_MediaCodec_Profile profile, struct PP_CompletionCallback callback))&Pnacl_M36_
PPB_MediaCodecVideoDecoder_Initialize, |
| 4509 .GetBitstreamBuffer = (int32_t (*)(PP_Resource video_decoder, uint32_t size,
struct PP_MediaCodec_BitstreamBuffer* bitstream_buffer, struct PP_CompletionCal
lback callback))&Pnacl_M36_PPB_MediaCodecVideoDecoder_GetBitstreamBuffer, |
| 4510 .Decode = (int32_t (*)(PP_Resource video_decoder, const struct PP_MediaCodec
_BitstreamBuffer* bitstream_buffer, struct PP_CompletionCallback callback))&Pnac
l_M36_PPB_MediaCodecVideoDecoder_Decode, |
| 4511 .GetPictureBuffer = (int32_t (*)(PP_Resource video_decoder, struct PP_MediaC
odec_PictureBuffer* picture_buffer, struct PP_CompletionCallback callback))&Pnac
l_M36_PPB_MediaCodecVideoDecoder_GetPictureBuffer, |
| 4512 .RecyclePictureBuffer = (void (*)(PP_Resource video_decoder, const struct PP
_MediaCodec_PictureBuffer* picture_buffer))&Pnacl_M36_PPB_MediaCodecVideoDecoder
_RecyclePictureBuffer, |
| 4513 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_MediaCodecVideoDecoder_Flush, |
| 4514 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_MediaCodecVideoDecoder_Reset |
| 4515 }; |
| 4516 |
| 4454 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStream
AudioTrack_0_1 = { | 4517 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStream
AudioTrack_0_1 = { |
| 4455 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB
_MediaStreamAudioTrack_IsMediaStreamAudioTrack, | 4518 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB
_MediaStreamAudioTrack_IsMediaStreamAudioTrack, |
| 4456 .Configure = (int32_t (*)(PP_Resource audio_track, const int32_t attrib_list
[], struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_
Configure, | 4519 .Configure = (int32_t (*)(PP_Resource audio_track, const int32_t attrib_list
[], struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_
Configure, |
| 4457 .GetAttrib = (int32_t (*)(PP_Resource audio_track, PP_MediaStreamAudioTrack_
Attrib attrib, int32_t* value))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetAttrib, | 4520 .GetAttrib = (int32_t (*)(PP_Resource audio_track, PP_MediaStreamAudioTrack_
Attrib attrib, int32_t* value))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetAttrib, |
| 4458 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStr
eamAudioTrack_GetId, | 4521 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStr
eamAudioTrack_GetId, |
| 4459 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStream
AudioTrack_HasEnded, | 4522 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStream
AudioTrack_HasEnded, |
| 4460 .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, stru
ct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetBuffe
r, | 4523 .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, stru
ct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetBuffe
r, |
| 4461 .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&
Pnacl_M34_PPB_MediaStreamAudioTrack_RecycleBuffer, | 4524 .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&
Pnacl_M34_PPB_MediaStreamAudioTrack_RecycleBuffer, |
| 4462 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStreamAudioT
rack_Close | 4525 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStreamAudioT
rack_Close |
| 4463 }; | 4526 }; |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5471 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, | 5534 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, |
| 5472 .real_iface = NULL | 5535 .real_iface = NULL |
| 5473 }; | 5536 }; |
| 5474 | 5537 |
| 5475 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { | 5538 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { |
| 5476 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, | 5539 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, |
| 5477 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, | 5540 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, |
| 5478 .real_iface = NULL | 5541 .real_iface = NULL |
| 5479 }; | 5542 }; |
| 5480 | 5543 |
| 5544 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaCodecVideoDecoder_0_
1 = { |
| 5545 .iface_macro = PPB_MEDIACODECVIDEODECODER_INTERFACE_0_1, |
| 5546 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaCodecVideoDecoder_0_1
, |
| 5547 .real_iface = NULL |
| 5548 }; |
| 5549 |
| 5481 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= { | 5550 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= { |
| 5482 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, | 5551 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, |
| 5483 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, | 5552 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, |
| 5484 .real_iface = NULL | 5553 .real_iface = NULL |
| 5485 }; | 5554 }; |
| 5486 | 5555 |
| 5487 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { | 5556 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { |
| 5488 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, | 5557 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, |
| 5489 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, | 5558 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, |
| 5490 .real_iface = NULL | 5559 .real_iface = NULL |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5996 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 6065 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
| 5997 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 6066 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
| 5998 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 6067 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
| 5999 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 6068 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
| 6000 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 6069 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
| 6001 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 6070 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
| 6002 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 6071 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
| 6003 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, | 6072 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, |
| 6004 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 6073 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
| 6005 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, | 6074 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, |
| 6075 &Pnacl_WrapperInfo_PPB_MediaCodecVideoDecoder_0_1, |
| 6006 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, | 6076 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, |
| 6007 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, | 6077 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, |
| 6008 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 6078 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
| 6009 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 6079 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
| 6010 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 6080 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
| 6011 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, | 6081 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, |
| 6012 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, | 6082 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, |
| 6013 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, | 6083 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, |
| 6014 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, | 6084 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, |
| 6015 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, | 6085 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6155 | 6225 |
| 6156 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6226 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6157 if (wrapper->real_iface == NULL) { | 6227 if (wrapper->real_iface == NULL) { |
| 6158 const void *iface = (*__real_PPPGetInterface)(name); | 6228 const void *iface = (*__real_PPPGetInterface)(name); |
| 6159 if (NULL == iface) return NULL; | 6229 if (NULL == iface) return NULL; |
| 6160 wrapper->real_iface = iface; | 6230 wrapper->real_iface = iface; |
| 6161 } | 6231 } |
| 6162 | 6232 |
| 6163 return wrapper->wrapped_iface; | 6233 return wrapper->wrapped_iface; |
| 6164 } | 6234 } |
| OLD | NEW |