OLD | NEW |
1 /* Copyright (c) 2013 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/generators/pnacl_shim.h" | 7 #include "ppapi/generators/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" |
11 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 11 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
(...skipping 27 matching lines...) Expand all Loading... |
39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" | 39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
40 #include "ppapi/c/dev/ppp_selection_dev.h" | 40 #include "ppapi/c/dev/ppp_selection_dev.h" |
41 #include "ppapi/c/dev/ppp_text_input_dev.h" | 41 #include "ppapi/c/dev/ppp_text_input_dev.h" |
42 #include "ppapi/c/dev/ppp_video_capture_dev.h" | 42 #include "ppapi/c/dev/ppp_video_capture_dev.h" |
43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" | 43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" |
44 #include "ppapi/c/dev/ppp_widget_dev.h" | 44 #include "ppapi/c/dev/ppp_widget_dev.h" |
45 #include "ppapi/c/dev/ppp_zoom_dev.h" | 45 #include "ppapi/c/dev/ppp_zoom_dev.h" |
46 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" | 46 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" |
47 #include "ppapi/c/ppb_audio.h" | 47 #include "ppapi/c/ppb_audio.h" |
48 #include "ppapi/c/ppb_audio_config.h" | 48 #include "ppapi/c/ppb_audio_config.h" |
| 49 #include "ppapi/c/ppb_audio_frame.h" |
49 #include "ppapi/c/ppb_console.h" | 50 #include "ppapi/c/ppb_console.h" |
50 #include "ppapi/c/ppb_core.h" | 51 #include "ppapi/c/ppb_core.h" |
51 #include "ppapi/c/ppb_file_io.h" | 52 #include "ppapi/c/ppb_file_io.h" |
52 #include "ppapi/c/ppb_file_ref.h" | 53 #include "ppapi/c/ppb_file_ref.h" |
53 #include "ppapi/c/ppb_file_system.h" | 54 #include "ppapi/c/ppb_file_system.h" |
54 #include "ppapi/c/ppb_fullscreen.h" | 55 #include "ppapi/c/ppb_fullscreen.h" |
55 #include "ppapi/c/ppb_gamepad.h" | 56 #include "ppapi/c/ppb_gamepad.h" |
56 #include "ppapi/c/ppb_graphics_2d.h" | 57 #include "ppapi/c/ppb_graphics_2d.h" |
57 #include "ppapi/c/ppb_graphics_3d.h" | 58 #include "ppapi/c/ppb_graphics_3d.h" |
58 #include "ppapi/c/ppb_host_resolver.h" | 59 #include "ppapi/c/ppb_host_resolver.h" |
59 #include "ppapi/c/ppb_image_data.h" | 60 #include "ppapi/c/ppb_image_data.h" |
60 #include "ppapi/c/ppb_input_event.h" | 61 #include "ppapi/c/ppb_input_event.h" |
61 #include "ppapi/c/ppb_instance.h" | 62 #include "ppapi/c/ppb_instance.h" |
| 63 #include "ppapi/c/ppb_media_stream_audio_track.h" |
62 #include "ppapi/c/ppb_media_stream_video_track.h" | 64 #include "ppapi/c/ppb_media_stream_video_track.h" |
63 #include "ppapi/c/ppb_message_loop.h" | 65 #include "ppapi/c/ppb_message_loop.h" |
64 #include "ppapi/c/ppb_messaging.h" | 66 #include "ppapi/c/ppb_messaging.h" |
65 #include "ppapi/c/ppb_mouse_cursor.h" | 67 #include "ppapi/c/ppb_mouse_cursor.h" |
66 #include "ppapi/c/ppb_mouse_lock.h" | 68 #include "ppapi/c/ppb_mouse_lock.h" |
67 #include "ppapi/c/ppb_net_address.h" | 69 #include "ppapi/c/ppb_net_address.h" |
68 #include "ppapi/c/ppb_network_list.h" | 70 #include "ppapi/c/ppb_network_list.h" |
69 #include "ppapi/c/ppb_network_monitor.h" | 71 #include "ppapi/c/ppb_network_monitor.h" |
70 #include "ppapi/c/ppb_network_proxy.h" | 72 #include "ppapi/c/ppb_network_proxy.h" |
71 #include "ppapi/c/ppb_tcp_socket.h" | 73 #include "ppapi/c/ppb_tcp_socket.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 /* END Declarations for all Wrapper Infos. */ | 244 /* END Declarations for all Wrapper Infos. */ |
242 | 245 |
243 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 246 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
244 | 247 |
245 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 248 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
246 | 249 |
247 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 250 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
248 | 251 |
249 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ | 252 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ |
250 | 253 |
| 254 /* Not generating wrapper methods for PPB_AudioFrame_0_1 */ |
| 255 |
251 /* Begin wrapper methods for PPB_Console_1_0 */ | 256 /* Begin wrapper methods for PPB_Console_1_0 */ |
252 | 257 |
253 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { | 258 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, s
truct PP_Var* value) { |
254 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; | 259 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; |
255 iface->Log(instance, level, *value); | 260 iface->Log(instance, level, *value); |
256 } | 261 } |
257 | 262 |
258 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve
l level, struct PP_Var* source, struct PP_Var* value) { | 263 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLeve
l level, struct PP_Var* source, struct PP_Var* value) { |
259 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; | 264 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_i
face; |
260 iface->LogWithSource(instance, level, *source, *value); | 265 iface->LogWithSource(instance, level, *source, *value); |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 914 |
910 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint
32_t* start, uint32_t* end) { | 915 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint
32_t* start, uint32_t* end) { |
911 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven
t_1_0.real_iface; | 916 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven
t_1_0.real_iface; |
912 iface->GetSelection(ime_event, start, end); | 917 iface->GetSelection(ime_event, start, end); |
913 } | 918 } |
914 | 919 |
915 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ | 920 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ |
916 | 921 |
917 /* Not generating wrapper methods for PPB_Instance_1_0 */ | 922 /* Not generating wrapper methods for PPB_Instance_1_0 */ |
918 | 923 |
| 924 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ |
| 925 |
| 926 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Re
source resource) { |
| 927 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 928 return iface->IsMediaStreamAudioTrack(resource); |
| 929 } |
| 930 |
| 931 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_t
rack, uint32_t samples_per_frame, uint32_t max_buffered_frames) { |
| 932 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 933 return iface->Configure(audio_track, samples_per_frame, max_buffered_frames); |
| 934 } |
| 935 |
| 936 static void Pnacl_M34_PPB_MediaStreamAudioTrack_GetId(struct PP_Var* _struct_res
ult, PP_Resource audio_track) { |
| 937 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 938 *_struct_result = iface->GetId(audio_track); |
| 939 } |
| 940 |
| 941 static PP_Bool Pnacl_M34_PPB_MediaStreamAudioTrack_HasEnded(PP_Resource audio_tr
ack) { |
| 942 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 943 return iface->HasEnded(audio_track); |
| 944 } |
| 945 |
| 946 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_GetFrame(PP_Resource audio_tr
ack, PP_Resource* frame, struct PP_CompletionCallback* callback) { |
| 947 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 948 return iface->GetFrame(audio_track, frame, *callback); |
| 949 } |
| 950 |
| 951 static int32_t Pnacl_M34_PPB_MediaStreamAudioTrack_RecycleFrame(PP_Resource audi
o_track, PP_Resource frame) { |
| 952 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 953 return iface->RecycleFrame(audio_track, frame); |
| 954 } |
| 955 |
| 956 static void Pnacl_M34_PPB_MediaStreamAudioTrack_Close(PP_Resource audio_track) { |
| 957 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamAudioTrack_0_1.real_iface; |
| 958 iface->Close(audio_track); |
| 959 } |
| 960 |
| 961 /* End wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ |
| 962 |
919 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */ | 963 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */ |
920 | 964 |
921 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Re
source resource) { | 965 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Re
source resource) { |
922 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamVideoTrack_0_1.real_iface; | 966 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamVideoTrack_0_1.real_iface; |
923 return iface->IsMediaStreamVideoTrack(resource); | 967 return iface->IsMediaStreamVideoTrack(resource); |
924 } | 968 } |
925 | 969 |
926 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_t
rack, uint32_t max_buffered_frames) { | 970 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_t
rack, uint32_t max_buffered_frames) { |
927 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamVideoTrack_0_1.real_iface; | 971 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi
aStreamVideoTrack_0_1.real_iface; |
928 return iface->Configure(video_track, max_buffered_frames); | 972 return iface->Configure(video_track, max_buffered_frames); |
(...skipping 3095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4024 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ | 4068 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ |
4025 | 4069 |
4026 /* Not generating wrapper interface for PPB_Audio_1_0 */ | 4070 /* Not generating wrapper interface for PPB_Audio_1_0 */ |
4027 | 4071 |
4028 /* Not generating wrapper interface for PPB_Audio_1_1 */ | 4072 /* Not generating wrapper interface for PPB_Audio_1_1 */ |
4029 | 4073 |
4030 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ | 4074 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ |
4031 | 4075 |
4032 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ | 4076 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ |
4033 | 4077 |
| 4078 /* Not generating wrapper interface for PPB_AudioFrame_0_1 */ |
| 4079 |
4034 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { | 4080 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { |
4035 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, | 4081 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var valu
e))&Pnacl_M25_PPB_Console_Log, |
4036 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource | 4082 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct P
P_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource |
4037 }; | 4083 }; |
4038 | 4084 |
4039 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { | 4085 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { |
4040 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef
Resource, | 4086 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRef
Resource, |
4041 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea
seResource, | 4087 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_Relea
seResource, |
4042 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, | 4088 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, |
4043 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, | 4089 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4203 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, | 4249 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu
tEvent_IsIMEInputEvent, |
4204 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, | 4250 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput
Event_GetText, |
4205 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, | 4251 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI
nputEvent_GetSegmentNumber, |
4206 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, | 4252 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M13_PPB_IMEInputEvent_GetSegmentOffset, |
4207 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, | 4253 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn
putEvent_GetTargetSegment, |
4208 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection | 4254 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection |
4209 }; | 4255 }; |
4210 | 4256 |
4211 /* Not generating wrapper interface for PPB_Instance_1_0 */ | 4257 /* Not generating wrapper interface for PPB_Instance_1_0 */ |
4212 | 4258 |
| 4259 struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_
1 = { |
| 4260 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB
_MediaStreamAudioTrack_IsMediaStreamAudioTrack, |
| 4261 .Configure = (int32_t (*)(PP_Resource audio_track, uint32_t samples_per_fram
e, uint32_t max_buffered_frames))&Pnacl_M34_PPB_MediaStreamAudioTrack_Configure, |
| 4262 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStr
eamAudioTrack_GetId, |
| 4263 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStream
AudioTrack_HasEnded, |
| 4264 .GetFrame = (int32_t (*)(PP_Resource audio_track, PP_Resource* frame, struct
PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamAudioTrack_GetFrame, |
| 4265 .RecycleFrame = (int32_t (*)(PP_Resource audio_track, PP_Resource frame))&Pn
acl_M34_PPB_MediaStreamAudioTrack_RecycleFrame, |
| 4266 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M34_PPB_MediaStreamAudioT
rack_Close |
| 4267 }; |
| 4268 |
4213 struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_
1 = { | 4269 struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_
1 = { |
4214 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB
_MediaStreamVideoTrack_IsMediaStreamVideoTrack, | 4270 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB
_MediaStreamVideoTrack_IsMediaStreamVideoTrack, |
4215 .Configure = (int32_t (*)(PP_Resource video_track, uint32_t max_buffered_fra
mes))&Pnacl_M34_PPB_MediaStreamVideoTrack_Configure, | 4271 .Configure = (int32_t (*)(PP_Resource video_track, uint32_t max_buffered_fra
mes))&Pnacl_M34_PPB_MediaStreamVideoTrack_Configure, |
4216 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStr
eamVideoTrack_GetId, | 4272 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStr
eamVideoTrack_GetId, |
4217 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStream
VideoTrack_HasEnded, | 4273 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStream
VideoTrack_HasEnded, |
4218 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct
PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame, | 4274 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct
PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame, |
4219 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pn
acl_M34_PPB_MediaStreamVideoTrack_RecycleFrame, | 4275 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pn
acl_M34_PPB_MediaStreamVideoTrack_RecycleFrame, |
4220 .Close = (void (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStreamVideoT
rack_Close | 4276 .Close = (void (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStreamVideoT
rack_Close |
4221 }; | 4277 }; |
4222 | 4278 |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5183 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, | 5239 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, |
5184 .real_iface = NULL | 5240 .real_iface = NULL |
5185 }; | 5241 }; |
5186 | 5242 |
5187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { | 5243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { |
5188 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, | 5244 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, |
5189 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, | 5245 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, |
5190 .real_iface = NULL | 5246 .real_iface = NULL |
5191 }; | 5247 }; |
5192 | 5248 |
| 5249 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
= { |
| 5250 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, |
| 5251 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, |
| 5252 .real_iface = NULL |
| 5253 }; |
| 5254 |
5193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { | 5255 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
= { |
5194 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, | 5256 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, |
5195 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, | 5257 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, |
5196 .real_iface = NULL | 5258 .real_iface = NULL |
5197 }; | 5259 }; |
5198 | 5260 |
5199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { | 5261 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { |
5200 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, | 5262 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, |
5201 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, | 5263 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, |
5202 .real_iface = NULL | 5264 .real_iface = NULL |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5699 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 5761 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
5700 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 5762 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
5701 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 5763 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
5702 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 5764 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
5703 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 5765 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
5704 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 5766 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
5705 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 5767 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
5706 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 5768 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
5707 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 5769 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
5708 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, | 5770 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, |
| 5771 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, |
5709 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, | 5772 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, |
5710 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 5773 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
5711 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 5774 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
5712 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 5775 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
5713 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, | 5776 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, |
5714 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, | 5777 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, |
5715 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, | 5778 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, |
5716 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, | 5779 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, |
5717 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, | 5780 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, |
5718 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, | 5781 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5865 if (NULL == iface) return NULL; | 5928 if (NULL == iface) return NULL; |
5866 wrapper->real_iface = iface; | 5929 wrapper->real_iface = iface; |
5867 } | 5930 } |
5868 | 5931 |
5869 if (wrapper->wrapped_iface) { | 5932 if (wrapper->wrapped_iface) { |
5870 return wrapper->wrapped_iface; | 5933 return wrapper->wrapped_iface; |
5871 } else { | 5934 } else { |
5872 return wrapper->real_iface; | 5935 return wrapper->real_iface; |
5873 } | 5936 } |
5874 } | 5937 } |
OLD | NEW |