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_filesystemprovider_dev.h" |
13 #include "ppapi/c/dev/ppb_font_dev.h" | 14 #include "ppapi/c/dev/ppb_font_dev.h" |
14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 15 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
15 #include "ppapi/c/dev/ppb_printing_dev.h" | 16 #include "ppapi/c/dev/ppb_printing_dev.h" |
16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 17 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
17 #include "ppapi/c/dev/ppb_url_util_dev.h" | 18 #include "ppapi/c/dev/ppb_url_util_dev.h" |
18 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 19 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 20 #include "ppapi/c/dev/ppb_video_decoder_dev.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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_2; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
| 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FilesystemProvider_Dev_0_
1; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1; |
(...skipping 2455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2622 return iface->IsFileChooser(resource); | 2624 return iface->IsFileChooser(resource); |
2623 } | 2625 } |
2624 | 2626 |
2625 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 2627 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
2626 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; | 2628 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; |
2627 return iface->Show(chooser, *output, *callback); | 2629 return iface->Show(chooser, *output, *callback); |
2628 } | 2630 } |
2629 | 2631 |
2630 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ | 2632 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ |
2631 | 2633 |
| 2634 /* Begin wrapper methods for PPB_FilesystemProvider_Dev_0_1 */ |
| 2635 |
| 2636 static PP_Resource Pnacl_M40_PPB_FilesystemProvider_Dev_Create(PP_Instance insta
nce) { |
| 2637 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2638 return iface->Create(instance); |
| 2639 } |
| 2640 |
| 2641 static PP_Bool Pnacl_M40_PPB_FilesystemProvider_Dev_IsFilesystemProvider(PP_Reso
urce resource) { |
| 2642 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2643 return iface->IsFilesystemProvider(resource); |
| 2644 } |
| 2645 |
| 2646 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_Mount(PP_Resource filesystem
_prov, struct PP_Var* filesystem_id, struct PP_Var* display_name, PP_Bool writab
le, int32_t opened_files_limit, struct PP_CompletionCallback* callback) { |
| 2647 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2648 return iface->Mount(filesystem_prov, *filesystem_id, *display_name, writable,
opened_files_limit, *callback); |
| 2649 } |
| 2650 |
| 2651 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_Unmount(PP_Resource filesyst
em_prov, struct PP_Var* filesystem_id, struct PP_CompletionCallback* callback) { |
| 2652 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2653 return iface->Unmount(filesystem_prov, *filesystem_id, *callback); |
| 2654 } |
| 2655 |
| 2656 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_Notify(PP_Resource filesyste
m_prov, struct PP_Var* notify_options) { |
| 2657 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2658 return iface->Notify(filesystem_prov, *notify_options); |
| 2659 } |
| 2660 |
| 2661 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendSuccessResponse(PP_Resou
rce filesystem_prov, PP_OperationType_Dev operation_type, int32_t request_id) { |
| 2662 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2663 return iface->SendSuccessResponse(filesystem_prov, operation_type, request_id)
; |
| 2664 } |
| 2665 |
| 2666 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendErrorResponse(PP_Resourc
e filesystem_prov, PP_OperationType_Dev operation_type, int32_t error, int32_t r
equest_id) { |
| 2667 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2668 return iface->SendErrorResponse(filesystem_prov, operation_type, error, reques
t_id); |
| 2669 } |
| 2670 |
| 2671 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendMetadataSuccessResponse(
PP_Resource filesystem_prov, struct PP_Var* metadata, int32_t request_id) { |
| 2672 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2673 return iface->SendMetadataSuccessResponse(filesystem_prov, *metadata, request_
id); |
| 2674 } |
| 2675 |
| 2676 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendReadDirectorySuccessResp
onse(PP_Resource filesystem_prov, struct PP_Var* entries, PP_Bool has_more, int3
2_t request_id) { |
| 2677 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2678 return iface->SendReadDirectorySuccessResponse(filesystem_prov, *entries, has_
more, request_id); |
| 2679 } |
| 2680 |
| 2681 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendReadFileSuccessResponse(
PP_Resource filesystem_prov, uint32_t data_size, const void* data, PP_Bool has_m
ore, int32_t request_id) { |
| 2682 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2683 return iface->SendReadFileSuccessResponse(filesystem_prov, data_size, data, ha
s_more, request_id); |
| 2684 } |
| 2685 |
| 2686 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_GetNextRequest(PP_Resource f
ilesystem_prov, struct PP_FilesystemRequest* request, struct PP_CompletionCallba
ck* callback) { |
| 2687 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2688 return iface->GetNextRequest(filesystem_prov, request, *callback); |
| 2689 } |
| 2690 |
| 2691 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_ReleaseRequestBuffer(PP_Reso
urce filesystem_prov, int32_t request_id) { |
| 2692 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2693 return iface->ReleaseRequestBuffer(filesystem_prov, request_id); |
| 2694 } |
| 2695 |
| 2696 /* End wrapper methods for PPB_FilesystemProvider_Dev_0_1 */ |
| 2697 |
2632 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ | 2698 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ |
2633 | 2699 |
2634 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { | 2700 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { |
2635 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; | 2701 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
2636 *_struct_result = iface->GetFontFamilies(instance); | 2702 *_struct_result = iface->GetFontFamilies(instance); |
2637 } | 2703 } |
2638 | 2704 |
2639 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { | 2705 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { |
2640 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; | 2706 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
2641 return iface->Create(instance, description); | 2707 return iface->Create(instance, description); |
(...skipping 2592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5234 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 5300 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
5235 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 5301 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
5236 }; | 5302 }; |
5237 | 5303 |
5238 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { | 5304 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { |
5239 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 5305 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
5240 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 5306 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
5241 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 5307 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
5242 }; | 5308 }; |
5243 | 5309 |
| 5310 static const struct PPB_FilesystemProvider_Dev_0_1 Pnacl_Wrappers_PPB_Filesystem
Provider_Dev_0_1 = { |
| 5311 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_FilesystemPr
ovider_Dev_Create, |
| 5312 .IsFilesystemProvider = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_Fi
lesystemProvider_Dev_IsFilesystemProvider, |
| 5313 .Mount = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Var filesystem_
id, struct PP_Var display_name, PP_Bool writable, int32_t opened_files_limit, st
ruct PP_CompletionCallback callback))&Pnacl_M40_PPB_FilesystemProvider_Dev_Mount
, |
| 5314 .Unmount = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Var filesyste
m_id, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_FilesystemProvider_D
ev_Unmount, |
| 5315 .Notify = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Var notify_opt
ions))&Pnacl_M40_PPB_FilesystemProvider_Dev_Notify, |
| 5316 .SendSuccessResponse = (int32_t (*)(PP_Resource filesystem_prov, PP_Operatio
nType_Dev operation_type, int32_t request_id))&Pnacl_M40_PPB_FilesystemProvider_
Dev_SendSuccessResponse, |
| 5317 .SendErrorResponse = (int32_t (*)(PP_Resource filesystem_prov, PP_OperationT
ype_Dev operation_type, int32_t error, int32_t request_id))&Pnacl_M40_PPB_Filesy
stemProvider_Dev_SendErrorResponse, |
| 5318 .SendMetadataSuccessResponse = (int32_t (*)(PP_Resource filesystem_prov, str
uct PP_Var metadata, int32_t request_id))&Pnacl_M40_PPB_FilesystemProvider_Dev_S
endMetadataSuccessResponse, |
| 5319 .SendReadDirectorySuccessResponse = (int32_t (*)(PP_Resource filesystem_prov
, struct PP_Var entries, PP_Bool has_more, int32_t request_id))&Pnacl_M40_PPB_Fi
lesystemProvider_Dev_SendReadDirectorySuccessResponse, |
| 5320 .SendReadFileSuccessResponse = (int32_t (*)(PP_Resource filesystem_prov, uin
t32_t data_size, const void* data, PP_Bool has_more, int32_t request_id))&Pnacl_
M40_PPB_FilesystemProvider_Dev_SendReadFileSuccessResponse, |
| 5321 .GetNextRequest = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Filesy
stemRequest* request, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_File
systemProvider_Dev_GetNextRequest, |
| 5322 .ReleaseRequestBuffer = (int32_t (*)(PP_Resource filesystem_prov, int32_t re
quest_id))&Pnacl_M40_PPB_FilesystemProvider_Dev_ReleaseRequestBuffer |
| 5323 }; |
| 5324 |
5244 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { | 5325 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { |
5245 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, | 5326 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, |
5246 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, | 5327 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, |
5247 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, | 5328 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, |
5248 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, | 5329 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, |
5249 .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, | 5330 .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, |
5250 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, | 5331 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, |
5251 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, | 5332 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, |
5252 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter | 5333 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter |
5253 }; | 5334 }; |
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6128 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6209 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
6129 .real_iface = NULL | 6210 .real_iface = NULL |
6130 }; | 6211 }; |
6131 | 6212 |
6132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 6213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
6133 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 6214 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
6134 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 6215 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
6135 .real_iface = NULL | 6216 .real_iface = NULL |
6136 }; | 6217 }; |
6137 | 6218 |
| 6219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FilesystemProvider_Dev_0_
1 = { |
| 6220 .iface_macro = PPB_FILESYSTEMPROVIDER_DEV_INTERFACE_0_1, |
| 6221 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FilesystemProvider_Dev_0_1
, |
| 6222 .real_iface = NULL |
| 6223 }; |
| 6224 |
6138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { | 6225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { |
6139 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, | 6226 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, |
6140 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, | 6227 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, |
6141 .real_iface = NULL | 6228 .real_iface = NULL |
6142 }; | 6229 }; |
6143 | 6230 |
6144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 6231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
6145 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 6232 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
6146 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 6233 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
6147 .real_iface = NULL | 6234 .real_iface = NULL |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6483 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, | 6570 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, |
6484 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6571 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
6485 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6572 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
6486 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, | 6573 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_2, |
6487 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6574 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
6488 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6575 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
6489 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6576 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
6490 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6577 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
6491 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6578 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
6492 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6579 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
| 6580 &Pnacl_WrapperInfo_PPB_FilesystemProvider_Dev_0_1, |
6493 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6581 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6494 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6582 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6495 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6583 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6496 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6584 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
6497 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6585 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
6498 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6586 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
6499 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6587 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
6500 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6588 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
6501 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6589 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
6502 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, | 6590 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6608 | 6696 |
6609 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6697 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6610 if (wrapper->real_iface == NULL) { | 6698 if (wrapper->real_iface == NULL) { |
6611 const void *iface = (*__real_PPPGetInterface)(name); | 6699 const void *iface = (*__real_PPPGetInterface)(name); |
6612 if (NULL == iface) return NULL; | 6700 if (NULL == iface) return NULL; |
6613 wrapper->real_iface = iface; | 6701 wrapper->real_iface = iface; |
6614 } | 6702 } |
6615 | 6703 |
6616 return wrapper->wrapped_iface; | 6704 return wrapper->wrapped_iface; |
6617 } | 6705 } |
OLD | NEW |