| OLD | NEW |
| 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 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_device_ref_dev.h" | 11 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
| 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 13 #include "ppapi/c/dev/ppb_font_dev.h" | 13 #include "ppapi/c/dev/ppb_font_dev.h" |
| 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
| 15 #include "ppapi/c/dev/ppb_printing_dev.h" | 15 #include "ppapi/c/dev/ppb_printing_dev.h" |
| 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
| 17 #include "ppapi/c/dev/ppb_url_util_dev.h" | 17 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
| 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
| 20 #include "ppapi/c/dev/ppp_selection_dev.h" | |
| 21 #include "ppapi/c/ppb_compositor.h" | 20 #include "ppapi/c/ppb_compositor.h" |
| 22 #include "ppapi/c/ppb_compositor_layer.h" | 21 #include "ppapi/c/ppb_compositor_layer.h" |
| 23 #include "ppapi/c/ppb_console.h" | 22 #include "ppapi/c/ppb_console.h" |
| 24 #include "ppapi/c/ppb_core.h" | 23 #include "ppapi/c/ppb_core.h" |
| 25 #include "ppapi/c/ppb_file_io.h" | 24 #include "ppapi/c/ppb_file_io.h" |
| 26 #include "ppapi/c/ppb_file_ref.h" | 25 #include "ppapi/c/ppb_file_ref.h" |
| 27 #include "ppapi/c/ppb_file_system.h" | 26 #include "ppapi/c/ppb_file_system.h" |
| 28 #include "ppapi/c/ppb_graphics_2d.h" | 27 #include "ppapi/c/ppb_graphics_2d.h" |
| 29 #include "ppapi/c/ppb_graphics_3d.h" | 28 #include "ppapi/c/ppb_graphics_3d.h" |
| 30 #include "ppapi/c/ppb_host_resolver.h" | 29 #include "ppapi/c/ppb_host_resolver.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
| 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
| 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
| 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
| 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
| 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
| 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
| 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
| 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
| 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; | |
| 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; |
| 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; |
| 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Priva
te_0_1; |
| 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private
_0_1; |
| 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; |
| 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; | 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; |
| 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; | 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; |
| 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; | 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; |
| 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; | 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; |
| 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; | 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; |
| (...skipping 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2759 return iface->Create(instance); | 2757 return iface->Create(instance); |
| 2760 } | 2758 } |
| 2761 | 2759 |
| 2762 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource re
source, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallbac
k* callback) { | 2760 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource re
source, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallbac
k* callback) { |
| 2763 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; | 2761 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; |
| 2764 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); | 2762 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); |
| 2765 } | 2763 } |
| 2766 | 2764 |
| 2767 /* End wrapper methods for PPB_Printing_Dev_0_7 */ | 2765 /* End wrapper methods for PPB_Printing_Dev_0_7 */ |
| 2768 | 2766 |
| 2769 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ | |
| 2770 | |
| 2771 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ | 2767 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ |
| 2772 | 2768 |
| 2773 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ | 2769 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ |
| 2774 | 2770 |
| 2775 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ | 2771 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ |
| 2776 | 2772 |
| 2777 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ | 2773 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ |
| 2778 | 2774 |
| 2779 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 2775 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
| 2780 | 2776 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2996 | 2992 |
| 2997 static void Pnacl_M14_PPB_VideoDecoder_Dev_Destroy(PP_Resource video_decoder) { | 2993 static void Pnacl_M14_PPB_VideoDecoder_Dev_Destroy(PP_Resource video_decoder) { |
| 2998 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDec
oder_Dev_0_16.real_iface; | 2994 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDec
oder_Dev_0_16.real_iface; |
| 2999 iface->Destroy(video_decoder); | 2995 iface->Destroy(video_decoder); |
| 3000 } | 2996 } |
| 3001 | 2997 |
| 3002 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */ | 2998 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */ |
| 3003 | 2999 |
| 3004 /* Not generating wrapper methods for PPB_View_Dev_0_1 */ | 3000 /* Not generating wrapper methods for PPB_View_Dev_0_1 */ |
| 3005 | 3001 |
| 3006 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */ | |
| 3007 | |
| 3008 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */ | |
| 3009 | |
| 3010 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */ | |
| 3011 | |
| 3012 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */ | 3002 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */ |
| 3013 | 3003 |
| 3014 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */ | 3004 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */ |
| 3015 | 3005 |
| 3016 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_2 */ | |
| 3017 | |
| 3018 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_3 */ | |
| 3019 | |
| 3020 /* Begin wrapper methods for PPP_Selection_Dev_0_3 */ | |
| 3021 | |
| 3022 static struct PP_Var Pnacl_M13_PPP_Selection_Dev_GetSelectedText(PP_Instance ins
tance, PP_Bool html) { | |
| 3023 const struct PPP_Selection_Dev_0_3 *iface = Pnacl_WrapperInfo_PPP_Selection_De
v_0_3.real_iface; | |
| 3024 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool h
tml) = | |
| 3025 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool html
))iface->GetSelectedText); | |
| 3026 struct PP_Var _struct_result; | |
| 3027 temp_fp(&_struct_result, instance, html); | |
| 3028 return _struct_result; | |
| 3029 } | |
| 3030 | |
| 3031 /* End wrapper methods for PPP_Selection_Dev_0_3 */ | |
| 3032 | |
| 3033 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ | 3006 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ |
| 3034 | 3007 |
| 3035 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ | 3008 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ |
| 3036 | 3009 |
| 3037 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ | 3010 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ |
| 3038 | 3011 |
| 3039 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ | |
| 3040 | |
| 3041 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ | |
| 3042 | |
| 3043 /* Not generating wrapper methods for PPB_CameraCapabilities_Private_0_1 */ | 3012 /* Not generating wrapper methods for PPB_CameraCapabilities_Private_0_1 */ |
| 3044 | 3013 |
| 3045 /* Begin wrapper methods for PPB_CameraDevice_Private_0_1 */ | 3014 /* Begin wrapper methods for PPB_CameraDevice_Private_0_1 */ |
| 3046 | 3015 |
| 3047 static PP_Resource Pnacl_M42_PPB_CameraDevice_Private_Create(PP_Instance instanc
e) { | 3016 static PP_Resource Pnacl_M42_PPB_CameraDevice_Private_Create(PP_Instance instanc
e) { |
| 3048 const struct PPB_CameraDevice_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Camer
aDevice_Private_0_1.real_iface; | 3017 const struct PPB_CameraDevice_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Camer
aDevice_Private_0_1.real_iface; |
| 3049 return iface->Create(instance); | 3018 return iface->Create(instance); |
| 3050 } | 3019 } |
| 3051 | 3020 |
| 3052 static PP_Bool Pnacl_M42_PPB_CameraDevice_Private_IsCameraDevice(PP_Resource res
ource) { | 3021 static PP_Bool Pnacl_M42_PPB_CameraDevice_Private_IsCameraDevice(PP_Resource res
ource) { |
| (...skipping 2251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5304 | 5273 |
| 5305 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ | 5274 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ |
| 5306 | 5275 |
| 5307 /* Not generating wrapper interface for PPB_OpenGLES2DrawBuffers_Dev_1_0 */ | 5276 /* Not generating wrapper interface for PPB_OpenGLES2DrawBuffers_Dev_1_0 */ |
| 5308 | 5277 |
| 5309 static const struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { | 5278 static const struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { |
| 5310 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev
_Create, | 5279 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev
_Create, |
| 5311 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin
tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23
_PPB_Printing_Dev_GetDefaultPrintSettings | 5280 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin
tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23
_PPB_Printing_Dev_GetDefaultPrintSettings |
| 5312 }; | 5281 }; |
| 5313 | 5282 |
| 5314 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ | |
| 5315 | |
| 5316 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 5283 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
| 5317 | 5284 |
| 5318 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 5285 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
| 5319 | 5286 |
| 5320 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 5287 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
| 5321 | 5288 |
| 5322 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ | 5289 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ |
| 5323 | 5290 |
| 5324 static const struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev
_0_1 = { | 5291 static const struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev
_0_1 = { |
| 5325 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 5292 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5372 .Decode = (int32_t (*)(PP_Resource video_decoder, const struct PP_VideoBitst
reamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_
M14_PPB_VideoDecoder_Dev_Decode, | 5339 .Decode = (int32_t (*)(PP_Resource video_decoder, const struct PP_VideoBitst
reamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_
M14_PPB_VideoDecoder_Dev_Decode, |
| 5373 .AssignPictureBuffers = (void (*)(PP_Resource video_decoder, uint32_t no_of_
buffers, const struct PP_PictureBuffer_Dev buffers[]))&Pnacl_M14_PPB_VideoDecode
r_Dev_AssignPictureBuffers, | 5340 .AssignPictureBuffers = (void (*)(PP_Resource video_decoder, uint32_t no_of_
buffers, const struct PP_PictureBuffer_Dev buffers[]))&Pnacl_M14_PPB_VideoDecode
r_Dev_AssignPictureBuffers, |
| 5374 .ReusePictureBuffer = (void (*)(PP_Resource video_decoder, int32_t picture_b
uffer_id))&Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer, | 5341 .ReusePictureBuffer = (void (*)(PP_Resource video_decoder, int32_t picture_b
uffer_id))&Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer, |
| 5375 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Flush, | 5342 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Flush, |
| 5376 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Reset, | 5343 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallbac
k callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Reset, |
| 5377 .Destroy = (void (*)(PP_Resource video_decoder))&Pnacl_M14_PPB_VideoDecoder_
Dev_Destroy | 5344 .Destroy = (void (*)(PP_Resource video_decoder))&Pnacl_M14_PPB_VideoDecoder_
Dev_Destroy |
| 5378 }; | 5345 }; |
| 5379 | 5346 |
| 5380 /* Not generating wrapper interface for PPB_View_Dev_0_1 */ | 5347 /* Not generating wrapper interface for PPB_View_Dev_0_1 */ |
| 5381 | 5348 |
| 5382 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */ | |
| 5383 | |
| 5384 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */ | |
| 5385 | |
| 5386 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */ | |
| 5387 | |
| 5388 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */ | 5349 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */ |
| 5389 | 5350 |
| 5390 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */ | 5351 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */ |
| 5391 | 5352 |
| 5392 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_2 */ | |
| 5393 | |
| 5394 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_3 */ | |
| 5395 | |
| 5396 static const struct PPP_Selection_Dev_0_3 Pnacl_Wrappers_PPP_Selection_Dev_0_3 =
{ | |
| 5397 .GetSelectedText = &Pnacl_M13_PPP_Selection_Dev_GetSelectedText | |
| 5398 }; | |
| 5399 | |
| 5400 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ | 5353 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ |
| 5401 | 5354 |
| 5402 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ | 5355 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ |
| 5403 | 5356 |
| 5404 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ | 5357 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ |
| 5405 | 5358 |
| 5406 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ | |
| 5407 | |
| 5408 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ | |
| 5409 | |
| 5410 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ | 5359 /* Not generating wrapper interface for PPB_CameraCapabilities_Private_0_1 */ |
| 5411 | 5360 |
| 5412 static const struct PPB_CameraDevice_Private_0_1 Pnacl_Wrappers_PPB_CameraDevice
_Private_0_1 = { | 5361 static const struct PPB_CameraDevice_Private_0_1 Pnacl_Wrappers_PPB_CameraDevice
_Private_0_1 = { |
| 5413 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M42_PPB_CameraDevice
_Private_Create, | 5362 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M42_PPB_CameraDevice
_Private_Create, |
| 5414 .IsCameraDevice = (PP_Bool (*)(PP_Resource resource))&Pnacl_M42_PPB_CameraDe
vice_Private_IsCameraDevice, | 5363 .IsCameraDevice = (PP_Bool (*)(PP_Resource resource))&Pnacl_M42_PPB_CameraDe
vice_Private_IsCameraDevice, |
| 5415 .Open = (int32_t (*)(PP_Resource camera_device, struct PP_Var device_id, str
uct PP_CompletionCallback callback))&Pnacl_M42_PPB_CameraDevice_Private_Open, | 5364 .Open = (int32_t (*)(PP_Resource camera_device, struct PP_Var device_id, str
uct PP_CompletionCallback callback))&Pnacl_M42_PPB_CameraDevice_Private_Open, |
| 5416 .Close = (void (*)(PP_Resource camera_device))&Pnacl_M42_PPB_CameraDevice_Pr
ivate_Close, | 5365 .Close = (void (*)(PP_Resource camera_device))&Pnacl_M42_PPB_CameraDevice_Pr
ivate_Close, |
| 5417 .GetCameraCapabilities = (int32_t (*)(PP_Resource camera_device, PP_Resource
* capabilities, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_CameraDevi
ce_Private_GetCameraCapabilities | 5366 .GetCameraCapabilities = (int32_t (*)(PP_Resource camera_device, PP_Resource
* capabilities, struct PP_CompletionCallback callback))&Pnacl_M42_PPB_CameraDevi
ce_Private_GetCameraCapabilities |
| 5418 }; | 5367 }; |
| 5419 | 5368 |
| (...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6233 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, | 6182 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, |
| 6234 .real_iface = NULL | 6183 .real_iface = NULL |
| 6235 }; | 6184 }; |
| 6236 | 6185 |
| 6237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16 = { | 6186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16 = { |
| 6238 .iface_macro = PPB_VIDEODECODER_DEV_INTERFACE_0_16, | 6187 .iface_macro = PPB_VIDEODECODER_DEV_INTERFACE_0_16, |
| 6239 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, | 6188 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, |
| 6240 .real_iface = NULL | 6189 .real_iface = NULL |
| 6241 }; | 6190 }; |
| 6242 | 6191 |
| 6243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { | |
| 6244 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, | |
| 6245 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, | |
| 6246 .real_iface = NULL | |
| 6247 }; | |
| 6248 | |
| 6249 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1
= { | 6192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1
= { |
| 6250 .iface_macro = PPB_CAMERADEVICE_PRIVATE_INTERFACE_0_1, | 6193 .iface_macro = PPB_CAMERADEVICE_PRIVATE_INTERFACE_0_1, |
| 6251 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CameraDevice_Private_0_1, | 6194 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CameraDevice_Private_0_1, |
| 6252 .real_iface = NULL | 6195 .real_iface = NULL |
| 6253 }; | 6196 }; |
| 6254 | 6197 |
| 6255 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14 = { | 6198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14 = { |
| 6256 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_14, | 6199 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_14, |
| 6257 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_14, | 6200 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0
_14, |
| 6258 .real_iface = NULL | 6201 .real_iface = NULL |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6592 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, | 6535 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, |
| 6593 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6536 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
| 6594 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6537 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
| 6595 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6538 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
| 6596 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6539 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
| 6597 NULL | 6540 NULL |
| 6598 }; | 6541 }; |
| 6599 | 6542 |
| 6600 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6543 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
| 6601 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6544 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
| 6602 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | |
| 6603 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_15, | 6545 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_15, |
| 6604 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6546 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
| 6605 NULL | 6547 NULL |
| 6606 }; | 6548 }; |
| 6607 | 6549 |
| 6608 | 6550 |
| 6609 | 6551 |
| 6610 static PPB_GetInterface __real_PPBGetInterface; | 6552 static PPB_GetInterface __real_PPBGetInterface; |
| 6611 static PPP_GetInterface_Type __real_PPPGetInterface; | 6553 static PPP_GetInterface_Type __real_PPPGetInterface; |
| 6612 | 6554 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6666 | 6608 |
| 6667 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6609 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6668 if (wrapper->real_iface == NULL) { | 6610 if (wrapper->real_iface == NULL) { |
| 6669 const void *iface = (*__real_PPPGetInterface)(name); | 6611 const void *iface = (*__real_PPPGetInterface)(name); |
| 6670 if (NULL == iface) return NULL; | 6612 if (NULL == iface) return NULL; |
| 6671 wrapper->real_iface = iface; | 6613 wrapper->real_iface = iface; |
| 6672 } | 6614 } |
| 6673 | 6615 |
| 6674 return wrapper->wrapped_iface; | 6616 return wrapper->wrapped_iface; |
| 6675 } | 6617 } |
| OLD | NEW |