| OLD | NEW |
| 1 /* Copyright (c) 2016 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" | |
| 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 13 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
| 15 #include "ppapi/c/dev/ppb_printing_dev.h" | 14 #include "ppapi/c/dev/ppb_printing_dev.h" |
| 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 15 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
| 17 #include "ppapi/c/dev/ppb_url_util_dev.h" | 16 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 17 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
| 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 18 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
| 20 #include "ppapi/c/ppb_audio_encoder.h" | 19 #include "ppapi/c/ppb_audio_encoder.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" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_1; |
| 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
| 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; |
| 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
| 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
| 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
| 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
| 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
| 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
| 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
| 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | |
| 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
| 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
| 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
| 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
| 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
| 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
| 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
| 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
| 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; |
| 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_
0_14; |
| (...skipping 2557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2728 return iface->IsFileChooser(resource); | 2726 return iface->IsFileChooser(resource); |
| 2729 } | 2727 } |
| 2730 | 2728 |
| 2731 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 2729 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
| 2732 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; | 2730 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; |
| 2733 return iface->Show(chooser, *output, *callback); | 2731 return iface->Show(chooser, *output, *callback); |
| 2734 } | 2732 } |
| 2735 | 2733 |
| 2736 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ | 2734 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ |
| 2737 | 2735 |
| 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 | |
| 2782 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ | 2736 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ |
| 2783 | 2737 |
| 2784 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resou
rce) { | 2738 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resou
rce) { |
| 2785 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; | 2739 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; |
| 2786 return iface->IsIMEInputEvent(resource); | 2740 return iface->IsIMEInputEvent(resource); |
| 2787 } | 2741 } |
| 2788 | 2742 |
| 2789 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_resul
t, PP_Resource ime_event) { | 2743 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_resul
t, PP_Resource ime_event) { |
| 2790 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; | 2744 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInput
Event_Dev_0_1.real_iface; |
| 2791 *_struct_result = iface->GetText(ime_event); | 2745 *_struct_result = iface->GetText(ime_event); |
| (...skipping 2573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5365 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 5319 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
| 5366 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 5320 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
| 5367 }; | 5321 }; |
| 5368 | 5322 |
| 5369 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { | 5323 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { |
| 5370 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 5324 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
| 5371 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 5325 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
| 5372 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 5326 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
| 5373 }; | 5327 }; |
| 5374 | 5328 |
| 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 | |
| 5386 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { | 5329 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { |
| 5387 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, | 5330 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, |
| 5388 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, | 5331 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, |
| 5389 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, | 5332 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, |
| 5390 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, | 5333 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, |
| 5391 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, | 5334 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, |
| 5392 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection | 5335 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection |
| 5393 }; | 5336 }; |
| 5394 | 5337 |
| 5395 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { | 5338 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6271 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6214 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
| 6272 .real_iface = NULL | 6215 .real_iface = NULL |
| 6273 }; | 6216 }; |
| 6274 | 6217 |
| 6275 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 6218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
| 6276 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 6219 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
| 6277 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 6220 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
| 6278 .real_iface = NULL | 6221 .real_iface = NULL |
| 6279 }; | 6222 }; |
| 6280 | 6223 |
| 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 | |
| 6287 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 6224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
| 6288 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 6225 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
| 6289 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 6226 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
| 6290 .real_iface = NULL | 6227 .real_iface = NULL |
| 6291 }; | 6228 }; |
| 6292 | 6229 |
| 6293 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { | 6230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { |
| 6294 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, | 6231 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, |
| 6295 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, | 6232 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, |
| 6296 .real_iface = NULL | 6233 .real_iface = NULL |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6628 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6565 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
| 6629 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, | 6566 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, |
| 6630 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6567 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
| 6631 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, | 6568 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, |
| 6632 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6569 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
| 6633 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6570 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
| 6634 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6571 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
| 6635 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6572 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
| 6636 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6573 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
| 6637 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6574 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
| 6638 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | |
| 6639 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6575 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
| 6640 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6576 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
| 6641 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6577 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
| 6642 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6578 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
| 6643 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6579 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
| 6644 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6580 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
| 6645 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6581 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
| 6646 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6582 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
| 6647 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, | 6583 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, |
| 6648 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, | 6584 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6753 | 6689 |
| 6754 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6690 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6755 if (wrapper->real_iface == NULL) { | 6691 if (wrapper->real_iface == NULL) { |
| 6756 const void *iface = (*__real_PPPGetInterface)(name); | 6692 const void *iface = (*__real_PPPGetInterface)(name); |
| 6757 if (NULL == iface) return NULL; | 6693 if (NULL == iface) return NULL; |
| 6758 wrapper->real_iface = iface; | 6694 wrapper->real_iface = iface; |
| 6759 } | 6695 } |
| 6760 | 6696 |
| 6761 return wrapper->wrapped_iface; | 6697 return wrapper->wrapped_iface; |
| 6762 } | 6698 } |
| OLD | NEW |