OLD | NEW |
1 /* Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2017 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_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 11 #include "ppapi/c/dev/ppb_audio_output_dev.h" |
11 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 12 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 13 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
13 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
14 #include "ppapi/c/dev/ppb_printing_dev.h" | 15 #include "ppapi/c/dev/ppb_printing_dev.h" |
15 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
16 #include "ppapi/c/dev/ppb_url_util_dev.h" | 17 #include "ppapi/c/dev/ppb_url_util_dev.h" |
17 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
18 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
19 #include "ppapi/c/ppb_audio_encoder.h" | 20 #include "ppapi/c/ppb_audio_encoder.h" |
20 #include "ppapi/c/ppb_compositor.h" | 21 #include "ppapi/c/ppb_compositor.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VpnProvider_0_1; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VpnProvider_0_1; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioOutput_Dev_0_1; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
(...skipping 2575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2744 return iface->StopCapture(audio_input); | 2746 return iface->StopCapture(audio_input); |
2745 } | 2747 } |
2746 | 2748 |
2747 static void Pnacl_M30_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { | 2749 static void Pnacl_M30_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { |
2748 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_
Dev_0_4.real_iface; | 2750 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_
Dev_0_4.real_iface; |
2749 iface->Close(audio_input); | 2751 iface->Close(audio_input); |
2750 } | 2752 } |
2751 | 2753 |
2752 /* End wrapper methods for PPB_AudioInput_Dev_0_4 */ | 2754 /* End wrapper methods for PPB_AudioInput_Dev_0_4 */ |
2753 | 2755 |
| 2756 /* Begin wrapper methods for PPB_AudioOutput_Dev_0_1 */ |
| 2757 |
| 2758 static PP_Resource Pnacl_M59_PPB_AudioOutput_Dev_Create(PP_Instance instance) { |
| 2759 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2760 return iface->Create(instance); |
| 2761 } |
| 2762 |
| 2763 static PP_Bool Pnacl_M59_PPB_AudioOutput_Dev_IsAudioOutput(PP_Resource resource)
{ |
| 2764 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2765 return iface->IsAudioOutput(resource); |
| 2766 } |
| 2767 |
| 2768 static int32_t Pnacl_M59_PPB_AudioOutput_Dev_EnumerateDevices(PP_Resource audio_
output, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
| 2769 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2770 return iface->EnumerateDevices(audio_output, *output, *callback); |
| 2771 } |
| 2772 |
| 2773 static int32_t Pnacl_M59_PPB_AudioOutput_Dev_MonitorDeviceChange(PP_Resource aud
io_output, PP_MonitorDeviceChangeCallback callback, void* user_data) { |
| 2774 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2775 return iface->MonitorDeviceChange(audio_output, callback, user_data); |
| 2776 } |
| 2777 |
| 2778 static int32_t Pnacl_M59_PPB_AudioOutput_Dev_Open(PP_Resource audio_output, PP_R
esource device_ref, PP_Resource config, PPB_AudioOutput_Callback audio_output_ca
llback, void* user_data, struct PP_CompletionCallback* callback) { |
| 2779 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2780 return iface->Open(audio_output, device_ref, config, audio_output_callback, us
er_data, *callback); |
| 2781 } |
| 2782 |
| 2783 static PP_Resource Pnacl_M59_PPB_AudioOutput_Dev_GetCurrentConfig(PP_Resource au
dio_output) { |
| 2784 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2785 return iface->GetCurrentConfig(audio_output); |
| 2786 } |
| 2787 |
| 2788 static PP_Bool Pnacl_M59_PPB_AudioOutput_Dev_StartPlayback(PP_Resource audio_out
put) { |
| 2789 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2790 return iface->StartPlayback(audio_output); |
| 2791 } |
| 2792 |
| 2793 static PP_Bool Pnacl_M59_PPB_AudioOutput_Dev_StopPlayback(PP_Resource audio_outp
ut) { |
| 2794 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2795 return iface->StopPlayback(audio_output); |
| 2796 } |
| 2797 |
| 2798 static void Pnacl_M59_PPB_AudioOutput_Dev_Close(PP_Resource audio_output) { |
| 2799 const struct PPB_AudioOutput_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_AudioOutpu
t_Dev_0_1.real_iface; |
| 2800 iface->Close(audio_output); |
| 2801 } |
| 2802 |
| 2803 /* End wrapper methods for PPB_AudioOutput_Dev_0_1 */ |
| 2804 |
2754 /* Not generating wrapper methods for PPB_Buffer_Dev_0_4 */ | 2805 /* Not generating wrapper methods for PPB_Buffer_Dev_0_4 */ |
2755 | 2806 |
2756 /* Not generating wrapper methods for PPB_Crypto_Dev_0_1 */ | 2807 /* Not generating wrapper methods for PPB_Crypto_Dev_0_1 */ |
2757 | 2808 |
2758 /* Not generating wrapper methods for PPB_CursorControl_Dev_0_4 */ | 2809 /* Not generating wrapper methods for PPB_CursorControl_Dev_0_4 */ |
2759 | 2810 |
2760 /* Begin wrapper methods for PPB_DeviceRef_Dev_0_1 */ | 2811 /* Begin wrapper methods for PPB_DeviceRef_Dev_0_1 */ |
2761 | 2812 |
2762 static PP_Bool Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef(PP_Resource resource) { | 2813 static PP_Bool Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef(PP_Resource resource) { |
2763 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_De
v_0_1.real_iface; | 2814 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_De
v_0_1.real_iface; |
(...skipping 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5401 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M30_PPB_AudioInput
_Dev_IsAudioInput, | 5452 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M30_PPB_AudioInput
_Dev_IsAudioInput, |
5402 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOut
put output, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev
_EnumerateDevices, | 5453 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOut
put output, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev
_EnumerateDevices, |
5403 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDevic
eChangeCallback callback, void* user_data))&Pnacl_M30_PPB_AudioInput_Dev_Monitor
DeviceChange, | 5454 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDevic
eChangeCallback callback, void* user_data))&Pnacl_M30_PPB_AudioInput_Dev_Monitor
DeviceChange, |
5404 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Res
ource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, str
uct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_Open, | 5455 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Res
ource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, str
uct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_Open, |
5405 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M30_PPB
_AudioInput_Dev_GetCurrentConfig, | 5456 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M30_PPB
_AudioInput_Dev_GetCurrentConfig, |
5406 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioIn
put_Dev_StartCapture, | 5457 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioIn
put_Dev_StartCapture, |
5407 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInp
ut_Dev_StopCapture, | 5458 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInp
ut_Dev_StopCapture, |
5408 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_Cl
ose | 5459 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_Cl
ose |
5409 }; | 5460 }; |
5410 | 5461 |
| 5462 static const struct PPB_AudioOutput_Dev_0_1 Pnacl_Wrappers_PPB_AudioOutput_Dev_0
_1 = { |
| 5463 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M59_PPB_AudioOutput_
Dev_Create, |
| 5464 .IsAudioOutput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M59_PPB_AudioOutp
ut_Dev_IsAudioOutput, |
| 5465 .EnumerateDevices = (int32_t (*)(PP_Resource audio_output, struct PP_ArrayOu
tput output, struct PP_CompletionCallback callback))&Pnacl_M59_PPB_AudioOutput_D
ev_EnumerateDevices, |
| 5466 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_output, PP_MonitorDevi
ceChangeCallback callback, void* user_data))&Pnacl_M59_PPB_AudioOutput_Dev_Monit
orDeviceChange, |
| 5467 .Open = (int32_t (*)(PP_Resource audio_output, PP_Resource device_ref, PP_Re
source config, PPB_AudioOutput_Callback audio_output_callback, void* user_data,
struct PP_CompletionCallback callback))&Pnacl_M59_PPB_AudioOutput_Dev_Open, |
| 5468 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_output))&Pnacl_M59_PP
B_AudioOutput_Dev_GetCurrentConfig, |
| 5469 .StartPlayback = (PP_Bool (*)(PP_Resource audio_output))&Pnacl_M59_PPB_Audio
Output_Dev_StartPlayback, |
| 5470 .StopPlayback = (PP_Bool (*)(PP_Resource audio_output))&Pnacl_M59_PPB_AudioO
utput_Dev_StopPlayback, |
| 5471 .Close = (void (*)(PP_Resource audio_output))&Pnacl_M59_PPB_AudioOutput_Dev_
Close |
| 5472 }; |
| 5473 |
5411 /* Not generating wrapper interface for PPB_Buffer_Dev_0_4 */ | 5474 /* Not generating wrapper interface for PPB_Buffer_Dev_0_4 */ |
5412 | 5475 |
5413 /* Not generating wrapper interface for PPB_Crypto_Dev_0_1 */ | 5476 /* Not generating wrapper interface for PPB_Crypto_Dev_0_1 */ |
5414 | 5477 |
5415 /* Not generating wrapper interface for PPB_CursorControl_Dev_0_4 */ | 5478 /* Not generating wrapper interface for PPB_CursorControl_Dev_0_4 */ |
5416 | 5479 |
5417 static const struct PPB_DeviceRef_Dev_0_1 Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1 =
{ | 5480 static const struct PPB_DeviceRef_Dev_0_1 Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1 =
{ |
5418 .IsDeviceRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_DeviceRef_D
ev_IsDeviceRef, | 5481 .IsDeviceRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_DeviceRef_D
ev_IsDeviceRef, |
5419 .GetType = (PP_DeviceType_Dev (*)(PP_Resource device_ref))&Pnacl_M18_PPB_Dev
iceRef_Dev_GetType, | 5482 .GetType = (PP_DeviceType_Dev (*)(PP_Resource device_ref))&Pnacl_M18_PPB_Dev
iceRef_Dev_GetType, |
5420 .GetName = (struct PP_Var (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceR
ef_Dev_GetName | 5483 .GetName = (struct PP_Var (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceR
ef_Dev_GetName |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6315 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_3, | 6378 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_3, |
6316 .real_iface = NULL | 6379 .real_iface = NULL |
6317 }; | 6380 }; |
6318 | 6381 |
6319 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4 = { | 6382 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4 = { |
6320 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_4, | 6383 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_4, |
6321 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_4, | 6384 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_4, |
6322 .real_iface = NULL | 6385 .real_iface = NULL |
6323 }; | 6386 }; |
6324 | 6387 |
| 6388 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioOutput_Dev_0_1 = { |
| 6389 .iface_macro = PPB_AUDIO_OUTPUT_DEV_INTERFACE_0_1, |
| 6390 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioOutput_Dev_0_1, |
| 6391 .real_iface = NULL |
| 6392 }; |
| 6393 |
6325 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1 = { | 6394 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1 = { |
6326 .iface_macro = PPB_DEVICEREF_DEV_INTERFACE_0_1, | 6395 .iface_macro = PPB_DEVICEREF_DEV_INTERFACE_0_1, |
6327 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1, | 6396 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1, |
6328 .real_iface = NULL | 6397 .real_iface = NULL |
6329 }; | 6398 }; |
6330 | 6399 |
6331 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5 = { | 6400 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5 = { |
6332 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_5, | 6401 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_5, |
6333 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6402 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
6334 .real_iface = NULL | 6403 .real_iface = NULL |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6683 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, | 6752 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, |
6684 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, | 6753 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, |
6685 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6754 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
6686 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, | 6755 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, |
6687 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6756 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
6688 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, | 6757 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, |
6689 &Pnacl_WrapperInfo_PPB_VpnProvider_0_1, | 6758 &Pnacl_WrapperInfo_PPB_VpnProvider_0_1, |
6690 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6759 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
6691 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6760 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
6692 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6761 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
| 6762 &Pnacl_WrapperInfo_PPB_AudioOutput_Dev_0_1, |
6693 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6763 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
6694 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6764 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
6695 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6765 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
6696 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6766 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6697 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6767 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6698 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6768 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
6699 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6769 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
6700 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6770 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
6701 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6771 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
6702 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6772 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6810 | 6880 |
6811 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6881 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6812 if (wrapper->real_iface == NULL) { | 6882 if (wrapper->real_iface == NULL) { |
6813 const void *iface = (*__real_PPPGetInterface)(name); | 6883 const void *iface = (*__real_PPPGetInterface)(name); |
6814 if (NULL == iface) return NULL; | 6884 if (NULL == iface) return NULL; |
6815 wrapper->real_iface = iface; | 6885 wrapper->real_iface = iface; |
6816 } | 6886 } |
6817 | 6887 |
6818 return wrapper->wrapped_iface; | 6888 return wrapper->wrapped_iface; |
6819 } | 6889 } |
OLD | NEW |