| 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_Decode(PP_Resource video_dec
oder, uint32_t picture_id, uint32_t size, const void* buffer, struct PP_Completi
onCallback* callback) { |
| 1013 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1014 return iface->Decode(video_decoder, picture_id, size, buffer, *callback); |
| 1015 } |
| 1016 |
| 1017 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_GetPictureBuffer(PP_Resource
video_decoder, struct PP_MediaCodec_PictureBuffer* picture_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->GetPictureBuffer(video_decoder, picture_buffer, *callback); |
| 1020 } |
| 1021 |
| 1022 static void Pnacl_M36_PPB_MediaCodecVideoDecoder_RecyclePictureBuffer(PP_Resourc
e video_decoder, const struct PP_MediaCodec_PictureBuffer* picture_buffer) { |
| 1023 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1024 iface->RecyclePictureBuffer(video_decoder, picture_buffer); |
| 1025 } |
| 1026 |
| 1027 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Flush(PP_Resource video_deco
der, struct PP_CompletionCallback* callback) { |
| 1028 const struct PPB_MediaCodecVideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_Med
iaCodecVideoDecoder_0_1.real_iface; |
| 1029 return iface->Flush(video_decoder, *callback); |
| 1030 } |
| 1031 |
| 1032 static int32_t Pnacl_M36_PPB_MediaCodecVideoDecoder_Reset(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->Reset(video_decoder, *callback); |
| 1035 } |
| 1036 |
| 1037 /* End wrapper methods for PPB_MediaCodecVideoDecoder_0_1 */ |
| 1038 |
| 993 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ | 1039 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ |
| 994 | 1040 |
| 995 static PP_Bool Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re
source resource) { | 1041 static PP_Bool Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re
source resource) { |
| 996 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; | 1042 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 997 return iface->IsMediaStreamAudioTrack(resource); | 1043 return iface->IsMediaStreamAudioTrack(resource); |
| 998 } | 1044 } |
| 999 | 1045 |
| 1000 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_t
rack, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { | 1046 static int32_t Pnacl_M35_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; | 1047 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); | 1048 return iface->Configure(audio_track, attrib_list, *callback); |
| (...skipping 3502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4505 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, | 4551 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, |
| 4506 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, | 4552 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, |
| 4507 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, | 4553 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, |
| 4508 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, | 4554 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, |
| 4509 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, | 4555 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, |
| 4510 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection | 4556 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection |
| 4511 }; | 4557 }; |
| 4512 | 4558 |
| 4513 /* Not generating wrapper interface for PPB_Instance_1_0 */ | 4559 /* Not generating wrapper interface for PPB_Instance_1_0 */ |
| 4514 | 4560 |
| 4561 static const struct PPB_MediaCodecVideoDecoder_0_1 Pnacl_Wrappers_PPB_MediaCodec
VideoDecoder_0_1 = { |
| 4562 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_MediaCodecVi
deoDecoder_Create, |
| 4563 .IsMediaCodecVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PP
B_MediaCodecVideoDecoder_IsMediaCodecVideoDecoder, |
| 4564 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource context, P
P_MediaCodec_Profile profile, struct PP_CompletionCallback callback))&Pnacl_M36_
PPB_MediaCodecVideoDecoder_Initialize, |
| 4565 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t picture_id, uint3
2_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M36_
PPB_MediaCodecVideoDecoder_Decode, |
| 4566 .GetPictureBuffer = (int32_t (*)(PP_Resource video_decoder, struct PP_MediaC
odec_PictureBuffer* picture_buffer, struct PP_CompletionCallback callback))&Pnac
l_M36_PPB_MediaCodecVideoDecoder_GetPictureBuffer, |
| 4567 .RecyclePictureBuffer = (void (*)(PP_Resource video_decoder, const struct PP
_MediaCodec_PictureBuffer* picture_buffer))&Pnacl_M36_PPB_MediaCodecVideoDecoder
_RecyclePictureBuffer, |
| 4568 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_MediaCodecVideoDecoder_Flush, |
| 4569 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M36_PPB_MediaCodecVideoDecoder_Reset |
| 4570 }; |
| 4571 |
| 4515 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStream
AudioTrack_0_1 = { | 4572 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStream
AudioTrack_0_1 = { |
| 4516 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M35_PPB
_MediaStreamAudioTrack_IsMediaStreamAudioTrack, | 4573 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M35_PPB
_MediaStreamAudioTrack_IsMediaStreamAudioTrack, |
| 4517 .Configure = (int32_t (*)(PP_Resource audio_track, const int32_t attrib_list
[], struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_
Configure, | 4574 .Configure = (int32_t (*)(PP_Resource audio_track, const int32_t attrib_list
[], struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_
Configure, |
| 4518 .GetAttrib = (int32_t (*)(PP_Resource audio_track, PP_MediaStreamAudioTrack_
Attrib attrib, int32_t* value))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib, | 4575 .GetAttrib = (int32_t (*)(PP_Resource audio_track, PP_MediaStreamAudioTrack_
Attrib attrib, int32_t* value))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib, |
| 4519 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStr
eamAudioTrack_GetId, | 4576 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStr
eamAudioTrack_GetId, |
| 4520 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStream
AudioTrack_HasEnded, | 4577 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStream
AudioTrack_HasEnded, |
| 4521 .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, stru
ct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffe
r, | 4578 .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, stru
ct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffe
r, |
| 4522 .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&
Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer, | 4579 .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&
Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer, |
| 4523 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStreamAudioT
rack_Close | 4580 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStreamAudioT
rack_Close |
| 4524 }; | 4581 }; |
| (...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5541 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, | 5598 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, |
| 5542 .real_iface = NULL | 5599 .real_iface = NULL |
| 5543 }; | 5600 }; |
| 5544 | 5601 |
| 5545 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { | 5602 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { |
| 5546 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, | 5603 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, |
| 5547 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, | 5604 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, |
| 5548 .real_iface = NULL | 5605 .real_iface = NULL |
| 5549 }; | 5606 }; |
| 5550 | 5607 |
| 5608 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaCodecVideoDecoder_0_
1 = { |
| 5609 .iface_macro = PPB_MEDIACODECVIDEODECODER_INTERFACE_0_1, |
| 5610 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaCodecVideoDecoder_0_1
, |
| 5611 .real_iface = NULL |
| 5612 }; |
| 5613 |
| 5551 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= { | 5614 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= { |
| 5552 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, | 5615 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, |
| 5553 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, | 5616 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, |
| 5554 .real_iface = NULL | 5617 .real_iface = NULL |
| 5555 }; | 5618 }; |
| 5556 | 5619 |
| 5557 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { | 5620 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { |
| 5558 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, | 5621 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, |
| 5559 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, | 5622 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, |
| 5560 .real_iface = NULL | 5623 .real_iface = NULL |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6066 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 6129 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
| 6067 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 6130 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
| 6068 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 6131 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
| 6069 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 6132 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
| 6070 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 6133 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
| 6071 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 6134 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
| 6072 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 6135 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
| 6073 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, | 6136 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, |
| 6074 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 6137 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
| 6075 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, | 6138 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, |
| 6139 &Pnacl_WrapperInfo_PPB_MediaCodecVideoDecoder_0_1, |
| 6076 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, | 6140 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, |
| 6077 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, | 6141 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, |
| 6078 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 6142 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
| 6079 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 6143 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
| 6080 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 6144 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
| 6081 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, | 6145 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, |
| 6082 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, | 6146 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, |
| 6083 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, | 6147 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, |
| 6084 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, | 6148 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, |
| 6085 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, | 6149 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6225 | 6289 |
| 6226 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6290 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6227 if (wrapper->real_iface == NULL) { | 6291 if (wrapper->real_iface == NULL) { |
| 6228 const void *iface = (*__real_PPPGetInterface)(name); | 6292 const void *iface = (*__real_PPPGetInterface)(name); |
| 6229 if (NULL == iface) return NULL; | 6293 if (NULL == iface) return NULL; |
| 6230 wrapper->real_iface = iface; | 6294 wrapper->real_iface = iface; |
| 6231 } | 6295 } |
| 6232 | 6296 |
| 6233 return wrapper->wrapped_iface; | 6297 return wrapper->wrapped_iface; |
| 6234 } | 6298 } |
| OLD | NEW |