| OLD | NEW |
| 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2016 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_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" |
| 21 #include "ppapi/c/ppb_compositor_layer.h" | 22 #include "ppapi/c/ppb_compositor_layer.h" |
| 22 #include "ppapi/c/ppb_console.h" | 23 #include "ppapi/c/ppb_console.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; |
| 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
| 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; |
| 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
| 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
| 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
| 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
| 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
| 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
| 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
| 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
| 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
| 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
| 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
| 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
| 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
| 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
| 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; |
| 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; |
| (...skipping 2557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2726 return iface->IsFileChooser(resource); | 2728 return iface->IsFileChooser(resource); |
| 2727 } | 2729 } |
| 2728 | 2730 |
| 2729 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 2731 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
| 2730 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; | 2732 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; |
| 2731 return iface->Show(chooser, *output, *callback); | 2733 return iface->Show(chooser, *output, *callback); |
| 2732 } | 2734 } |
| 2733 | 2735 |
| 2734 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ | 2736 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ |
| 2735 | 2737 |
| 2738 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ |
| 2739 |
| 2740 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { |
| 2741 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2742 *_struct_result = iface->GetFontFamilies(instance); |
| 2743 } |
| 2744 |
| 2745 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { |
| 2746 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2747 return iface->Create(instance, description); |
| 2748 } |
| 2749 |
| 2750 static PP_Bool Pnacl_M14_PPB_Font_Dev_IsFont(PP_Resource resource) { |
| 2751 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2752 return iface->IsFont(resource); |
| 2753 } |
| 2754 |
| 2755 static PP_Bool Pnacl_M14_PPB_Font_Dev_Describe(PP_Resource font, struct PP_FontD
escription_Dev* description, struct PP_FontMetrics_Dev* metrics) { |
| 2756 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2757 return iface->Describe(font, description, metrics); |
| 2758 } |
| 2759 |
| 2760 static PP_Bool Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font, PP_Resource i
mage_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, u
int32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque) { |
| 2761 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2762 return iface->DrawTextAt(font, image_data, text, position, color, clip, image_
data_is_opaque); |
| 2763 } |
| 2764 |
| 2765 static int32_t Pnacl_M14_PPB_Font_Dev_MeasureText(PP_Resource font, const struct
PP_TextRun_Dev* text) { |
| 2766 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2767 return iface->MeasureText(font, text); |
| 2768 } |
| 2769 |
| 2770 static uint32_t Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel(PP_Resource font,
const struct PP_TextRun_Dev* text, int32_t pixel_position) { |
| 2771 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2772 return iface->CharacterOffsetForPixel(font, text, pixel_position); |
| 2773 } |
| 2774 |
| 2775 static int32_t Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter(PP_Resource font,
const struct PP_TextRun_Dev* text, uint32_t char_offset) { |
| 2776 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
| 2777 return iface->PixelOffsetForCharacter(font, text, char_offset); |
| 2778 } |
| 2779 |
| 2780 /* End wrapper methods for PPB_Font_Dev_0_6 */ |
| 2781 |
| 2736 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ | 2782 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ |
| 2737 | 2783 |
| 2738 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resou
rce) { | 2784 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resou
rce) { |
| 2739 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; | 2785 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; |
| 2740 return iface->IsIMEInputEvent(resource); | 2786 return iface->IsIMEInputEvent(resource); |
| 2741 } | 2787 } |
| 2742 | 2788 |
| 2743 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_resul
t, PP_Resource ime_event) { | 2789 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_resul
t, PP_Resource ime_event) { |
| 2744 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; | 2790 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; |
| 2745 *_struct_result = iface->GetText(ime_event); | 2791 *_struct_result = iface->GetText(ime_event); |
| (...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3677 | 3723 |
| 3678 static int32_t Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal(PP_Resource drm, PP_Boo
l* is_external, struct PP_CompletionCallback* callback) { | 3724 static int32_t Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal(PP_Resource drm, PP_Boo
l* is_external, struct PP_CompletionCallback* callback) { |
| 3679 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.re
al_iface; | 3725 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.re
al_iface; |
| 3680 return iface->MonitorIsExternal(drm, is_external, *callback); | 3726 return iface->MonitorIsExternal(drm, is_external, *callback); |
| 3681 } | 3727 } |
| 3682 | 3728 |
| 3683 /* End wrapper methods for PPB_Flash_DRM_1_1 */ | 3729 /* End wrapper methods for PPB_Flash_DRM_1_1 */ |
| 3684 | 3730 |
| 3685 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */ | 3731 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */ |
| 3686 | 3732 |
| 3733 /* Not generating wrapper methods for PPB_Flash_FontFile_0_2 */ |
| 3734 |
| 3687 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ | 3735 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ |
| 3688 | 3736 |
| 3689 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ | 3737 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ |
| 3690 | 3738 |
| 3691 /* Begin wrapper methods for PPB_Flash_Menu_0_2 */ | 3739 /* Begin wrapper methods for PPB_Flash_Menu_0_2 */ |
| 3692 | 3740 |
| 3693 static PP_Resource Pnacl_M14_PPB_Flash_Menu_Create(PP_Instance instance_id, cons
t struct PP_Flash_Menu* menu_data) { | 3741 static PP_Resource Pnacl_M14_PPB_Flash_Menu_Create(PP_Instance instance_id, cons
t struct PP_Flash_Menu* menu_data) { |
| 3694 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.
real_iface; | 3742 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.
real_iface; |
| 3695 return iface->Create(instance_id, menu_data); | 3743 return iface->Create(instance_id, menu_data); |
| 3696 } | 3744 } |
| (...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5317 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 5365 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
| 5318 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 5366 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
| 5319 }; | 5367 }; |
| 5320 | 5368 |
| 5321 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { | 5369 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { |
| 5322 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 5370 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
| 5323 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 5371 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
| 5324 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 5372 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
| 5325 }; | 5373 }; |
| 5326 | 5374 |
| 5375 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { |
| 5376 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, |
| 5377 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, |
| 5378 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, |
| 5379 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, |
| 5380 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s
truct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, con
st struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_D
rawTextAt, |
| 5381 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, |
| 5382 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, |
| 5383 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter |
| 5384 }; |
| 5385 |
| 5327 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { | 5386 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { |
| 5328 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, | 5387 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, |
| 5329 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, | 5388 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, |
| 5330 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, | 5389 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, |
| 5331 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, | 5390 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, |
| 5332 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, | 5391 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, |
| 5333 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection | 5392 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection |
| 5334 }; | 5393 }; |
| 5335 | 5394 |
| 5336 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { | 5395 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5584 static const struct PPB_Flash_DRM_1_1 Pnacl_Wrappers_PPB_Flash_DRM_1_1 = { | 5643 static const struct PPB_Flash_DRM_1_1 Pnacl_Wrappers_PPB_Flash_DRM_1_1 = { |
| 5585 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_Flash_DRM_Cr
eate, | 5644 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_Flash_DRM_Cr
eate, |
| 5586 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_Co
mpletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetDeviceID, | 5645 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_Co
mpletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetDeviceID, |
| 5587 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M33_P
PB_Flash_DRM_GetHmonitor, | 5646 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M33_P
PB_Flash_DRM_GetHmonitor, |
| 5588 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struc
t PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetVoucherFile, | 5647 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struc
t PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetVoucherFile, |
| 5589 .MonitorIsExternal = (int32_t (*)(PP_Resource drm, PP_Bool* is_external, str
uct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal | 5648 .MonitorIsExternal = (int32_t (*)(PP_Resource drm, PP_Bool* is_external, str
uct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal |
| 5590 }; | 5649 }; |
| 5591 | 5650 |
| 5592 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ | 5651 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ |
| 5593 | 5652 |
| 5653 /* Not generating wrapper interface for PPB_Flash_FontFile_0_2 */ |
| 5654 |
| 5594 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ | 5655 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ |
| 5595 | 5656 |
| 5596 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ | 5657 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ |
| 5597 | 5658 |
| 5598 static const struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2 = { | 5659 static const struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2 = { |
| 5599 .Create = (PP_Resource (*)(PP_Instance instance_id, const struct PP_Flash_Me
nu* menu_data))&Pnacl_M14_PPB_Flash_Menu_Create, | 5660 .Create = (PP_Resource (*)(PP_Instance instance_id, const struct PP_Flash_Me
nu* menu_data))&Pnacl_M14_PPB_Flash_Menu_Create, |
| 5600 .IsFlashMenu = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M14_PPB_Flash_Me
nu_IsFlashMenu, | 5661 .IsFlashMenu = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M14_PPB_Flash_Me
nu_IsFlashMenu, |
| 5601 .Show = (int32_t (*)(PP_Resource menu_id, const struct PP_Point* location, i
nt32_t* selected_id, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Flash
_Menu_Show | 5662 .Show = (int32_t (*)(PP_Resource menu_id, const struct PP_Point* location, i
nt32_t* selected_id, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Flash
_Menu_Show |
| 5602 }; | 5663 }; |
| 5603 | 5664 |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6210 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6271 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
| 6211 .real_iface = NULL | 6272 .real_iface = NULL |
| 6212 }; | 6273 }; |
| 6213 | 6274 |
| 6214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 6275 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
| 6215 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 6276 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
| 6216 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 6277 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
| 6217 .real_iface = NULL | 6278 .real_iface = NULL |
| 6218 }; | 6279 }; |
| 6219 | 6280 |
| 6281 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { |
| 6282 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, |
| 6283 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, |
| 6284 .real_iface = NULL |
| 6285 }; |
| 6286 |
| 6220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 6287 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
| 6221 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 6288 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
| 6222 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 6289 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
| 6223 .real_iface = NULL | 6290 .real_iface = NULL |
| 6224 }; | 6291 }; |
| 6225 | 6292 |
| 6226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { | 6293 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { |
| 6227 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, | 6294 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, |
| 6228 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, | 6295 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, |
| 6229 .real_iface = NULL | 6296 .real_iface = NULL |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6561 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6628 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
| 6562 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, | 6629 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, |
| 6563 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6630 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
| 6564 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, | 6631 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, |
| 6565 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6632 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
| 6566 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6633 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
| 6567 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6634 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
| 6568 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6635 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
| 6569 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6636 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
| 6570 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6637 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
| 6638 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
| 6571 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6639 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
| 6572 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6640 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
| 6573 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6641 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
| 6574 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6642 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
| 6575 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6643 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
| 6576 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6644 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
| 6577 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6645 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
| 6578 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6646 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
| 6579 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, | 6647 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, |
| 6580 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, | 6648 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6685 | 6753 |
| 6686 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6754 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6687 if (wrapper->real_iface == NULL) { | 6755 if (wrapper->real_iface == NULL) { |
| 6688 const void *iface = (*__real_PPPGetInterface)(name); | 6756 const void *iface = (*__real_PPPGetInterface)(name); |
| 6689 if (NULL == iface) return NULL; | 6757 if (NULL == iface) return NULL; |
| 6690 wrapper->real_iface = iface; | 6758 wrapper->real_iface = iface; |
| 6691 } | 6759 } |
| 6692 | 6760 |
| 6693 return wrapper->wrapped_iface; | 6761 return wrapper->wrapped_iface; |
| 6694 } | 6762 } |
| OLD | NEW |