| 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" | |
| 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 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5363 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 5317 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
| 5364 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 5318 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
| 5365 }; | 5319 }; |
| 5366 | 5320 |
| 5367 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { | 5321 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { |
| 5368 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 5322 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
| 5369 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 5323 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
| 5370 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 5324 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
| 5371 }; | 5325 }; |
| 5372 | 5326 |
| 5373 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { | |
| 5374 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, | |
| 5375 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, | |
| 5376 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, | |
| 5377 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, | |
| 5378 .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, | |
| 5379 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, | |
| 5380 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, | |
| 5381 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter | |
| 5382 }; | |
| 5383 | |
| 5384 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { | 5327 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_1 = { |
| 5385 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, | 5328 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInpu
tEvent_Dev_IsIMEInputEvent, |
| 5386 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, | 5329 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInput
Event_Dev_GetText, |
| 5387 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, | 5330 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEI
nputEvent_Dev_GetSegmentNumber, |
| 5388 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, | 5331 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn
acl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, |
| 5389 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, | 5332 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEIn
putEvent_Dev_GetTargetSegment, |
| 5390 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection | 5333 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t*
end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection |
| 5391 }; | 5334 }; |
| 5392 | 5335 |
| 5393 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { | 5336 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_D
ev_0_2 = { |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6267 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6210 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
| 6268 .real_iface = NULL | 6211 .real_iface = NULL |
| 6269 }; | 6212 }; |
| 6270 | 6213 |
| 6271 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 6214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
| 6272 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 6215 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
| 6273 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 6216 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
| 6274 .real_iface = NULL | 6217 .real_iface = NULL |
| 6275 }; | 6218 }; |
| 6276 | 6219 |
| 6277 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { | |
| 6278 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, | |
| 6279 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, | |
| 6280 .real_iface = NULL | |
| 6281 }; | |
| 6282 | |
| 6283 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 6220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
| 6284 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 6221 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
| 6285 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 6222 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
| 6286 .real_iface = NULL | 6223 .real_iface = NULL |
| 6287 }; | 6224 }; |
| 6288 | 6225 |
| 6289 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { | 6226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { |
| 6290 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, | 6227 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, |
| 6291 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, | 6228 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, |
| 6292 .real_iface = NULL | 6229 .real_iface = NULL |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6624 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6561 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
| 6625 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, | 6562 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_1, |
| 6626 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6563 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
| 6627 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, | 6564 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, |
| 6628 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6565 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
| 6629 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6566 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
| 6630 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6567 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
| 6631 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6568 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
| 6632 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6569 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
| 6633 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6570 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
| 6634 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | |
| 6635 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6571 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
| 6636 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6572 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
| 6637 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6573 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
| 6638 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6574 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
| 6639 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6575 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
| 6640 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6576 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
| 6641 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6577 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
| 6642 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6578 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
| 6643 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, | 6579 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, |
| 6644 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, | 6580 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_14, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6749 | 6685 |
| 6750 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6686 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6751 if (wrapper->real_iface == NULL) { | 6687 if (wrapper->real_iface == NULL) { |
| 6752 const void *iface = (*__real_PPPGetInterface)(name); | 6688 const void *iface = (*__real_PPPGetInterface)(name); |
| 6753 if (NULL == iface) return NULL; | 6689 if (NULL == iface) return NULL; |
| 6754 wrapper->real_iface = iface; | 6690 wrapper->real_iface = iface; |
| 6755 } | 6691 } |
| 6756 | 6692 |
| 6757 return wrapper->wrapped_iface; | 6693 return wrapper->wrapped_iface; |
| 6758 } | 6694 } |
| OLD | NEW |