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/dev/ppp_selection_dev.h" | 21 #include "ppapi/c/dev/ppp_selection_dev.h" |
21 #include "ppapi/c/ppb_compositor.h" | 22 #include "ppapi/c/ppb_compositor.h" |
22 #include "ppapi/c/ppb_compositor_layer.h" | 23 #include "ppapi/c/ppb_compositor_layer.h" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_2; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_1_0; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoEncoder_0_1; |
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_PPP_Selection_Dev_0_3; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; |
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2559 return iface->IsFileChooser(resource); | 2561 return iface->IsFileChooser(resource); |
2560 } | 2562 } |
2561 | 2563 |
2562 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 2564 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
2563 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; | 2565 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; |
2564 return iface->Show(chooser, *output, *callback); | 2566 return iface->Show(chooser, *output, *callback); |
2565 } | 2567 } |
2566 | 2568 |
2567 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ | 2569 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ |
2568 | 2570 |
| 2571 /* Begin wrapper methods for PPB_FilesystemProvider_Dev_0_1 */ |
| 2572 |
| 2573 static PP_Resource Pnacl_M40_PPB_FilesystemProvider_Dev_Create(PP_Instance insta
nce) { |
| 2574 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2575 return iface->Create(instance); |
| 2576 } |
| 2577 |
| 2578 static PP_Bool Pnacl_M40_PPB_FilesystemProvider_Dev_IsFilesystemProvider(PP_Reso
urce resource) { |
| 2579 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2580 return iface->IsFilesystemProvider(resource); |
| 2581 } |
| 2582 |
| 2583 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, PP_ProviderError_Dev* error, struct PP_Completio
nCallback* callback) { |
| 2584 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2585 return iface->Mount(filesystem_prov, *filesystem_id, *display_name, writable,
opened_files_limit, error, *callback); |
| 2586 } |
| 2587 |
| 2588 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_Unmount(PP_Resource filesyst
em_prov, struct PP_Var* filesystem_id, PP_ProviderError_Dev* error, struct PP_Co
mpletionCallback* callback) { |
| 2589 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2590 return iface->Unmount(filesystem_prov, *filesystem_id, error, *callback); |
| 2591 } |
| 2592 |
| 2593 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendSuccessResponse(PP_Resou
rce filesystem_prov, PP_OperationType_Dev operation_type, int32_t request_id) { |
| 2594 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2595 return iface->SendSuccessResponse(filesystem_prov, operation_type, request_id)
; |
| 2596 } |
| 2597 |
| 2598 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendErrorResponse(PP_Resourc
e filesystem_prov, PP_OperationType_Dev operation_type, PP_ProviderError_Dev err
or, int32_t request_id) { |
| 2599 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2600 return iface->SendErrorResponse(filesystem_prov, operation_type, error, reques
t_id); |
| 2601 } |
| 2602 |
| 2603 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendMetadataSuccessResponse(
PP_Resource filesystem_prov, const struct PP_EntryMetadata_Dev* metadata, int32_
t request_id) { |
| 2604 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2605 return iface->SendMetadataSuccessResponse(filesystem_prov, metadata, request_i
d); |
| 2606 } |
| 2607 |
| 2608 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_SendReadDirectorySuccessResp
onse(PP_Resource filesystem_prov, uint32_t array_size, const struct PP_EntryMeta
data_Dev entries[], PP_Bool has_more, int32_t request_id) { |
| 2609 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2610 return iface->SendReadDirectorySuccessResponse(filesystem_prov, array_size, en
tries, has_more, request_id); |
| 2611 } |
| 2612 |
| 2613 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) { |
| 2614 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2615 return iface->SendReadFileSuccessResponse(filesystem_prov, data_size, data, ha
s_more, request_id); |
| 2616 } |
| 2617 |
| 2618 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_GetNextRequest(PP_Resource f
ilesystem_prov, struct PP_FilesystemRequest* request, struct PP_CompletionCallba
ck* callback) { |
| 2619 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2620 return iface->GetNextRequest(filesystem_prov, request, *callback); |
| 2621 } |
| 2622 |
| 2623 static int32_t Pnacl_M40_PPB_FilesystemProvider_Dev_FreeWriteRequestBuffer(PP_Re
source filesystem_prov, const void* buffer) { |
| 2624 const struct PPB_FilesystemProvider_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Fil
esystemProvider_Dev_0_1.real_iface; |
| 2625 return iface->FreeWriteRequestBuffer(filesystem_prov, buffer); |
| 2626 } |
| 2627 |
| 2628 /* End wrapper methods for PPB_FilesystemProvider_Dev_0_1 */ |
| 2629 |
2569 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ | 2630 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ |
2570 | 2631 |
2571 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { | 2632 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { |
2572 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; | 2633 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
2573 *_struct_result = iface->GetFontFamilies(instance); | 2634 *_struct_result = iface->GetFontFamilies(instance); |
2574 } | 2635 } |
2575 | 2636 |
2576 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { | 2637 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { |
2577 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; | 2638 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
2578 return iface->Create(instance, description); | 2639 return iface->Create(instance, description); |
(...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5175 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 5236 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
5176 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 5237 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
5177 }; | 5238 }; |
5178 | 5239 |
5179 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { | 5240 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0
_6 = { |
5180 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 5241 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
5181 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 5242 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
5182 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 5243 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
5183 }; | 5244 }; |
5184 | 5245 |
| 5246 static const struct PPB_FilesystemProvider_Dev_0_1 Pnacl_Wrappers_PPB_Filesystem
Provider_Dev_0_1 = { |
| 5247 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M40_PPB_FilesystemPr
ovider_Dev_Create, |
| 5248 .IsFilesystemProvider = (PP_Bool (*)(PP_Resource resource))&Pnacl_M40_PPB_Fi
lesystemProvider_Dev_IsFilesystemProvider, |
| 5249 .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, PP
_ProviderError_Dev* error, struct PP_CompletionCallback callback))&Pnacl_M40_PPB
_FilesystemProvider_Dev_Mount, |
| 5250 .Unmount = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Var filesyste
m_id, PP_ProviderError_Dev* error, struct PP_CompletionCallback callback))&Pnacl
_M40_PPB_FilesystemProvider_Dev_Unmount, |
| 5251 .SendSuccessResponse = (int32_t (*)(PP_Resource filesystem_prov, PP_Operatio
nType_Dev operation_type, int32_t request_id))&Pnacl_M40_PPB_FilesystemProvider_
Dev_SendSuccessResponse, |
| 5252 .SendErrorResponse = (int32_t (*)(PP_Resource filesystem_prov, PP_OperationT
ype_Dev operation_type, PP_ProviderError_Dev error, int32_t request_id))&Pnacl_M
40_PPB_FilesystemProvider_Dev_SendErrorResponse, |
| 5253 .SendMetadataSuccessResponse = (int32_t (*)(PP_Resource filesystem_prov, con
st struct PP_EntryMetadata_Dev* metadata, int32_t request_id))&Pnacl_M40_PPB_Fil
esystemProvider_Dev_SendMetadataSuccessResponse, |
| 5254 .SendReadDirectorySuccessResponse = (int32_t (*)(PP_Resource filesystem_prov
, uint32_t array_size, const struct PP_EntryMetadata_Dev entries[], PP_Bool has_
more, int32_t request_id))&Pnacl_M40_PPB_FilesystemProvider_Dev_SendReadDirector
ySuccessResponse, |
| 5255 .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, |
| 5256 .GetNextRequest = (int32_t (*)(PP_Resource filesystem_prov, struct PP_Filesy
stemRequest* request, struct PP_CompletionCallback callback))&Pnacl_M40_PPB_File
systemProvider_Dev_GetNextRequest, |
| 5257 .FreeWriteRequestBuffer = (int32_t (*)(PP_Resource filesystem_prov, const vo
id* buffer))&Pnacl_M40_PPB_FilesystemProvider_Dev_FreeWriteRequestBuffer |
| 5258 }; |
| 5259 |
5185 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { | 5260 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { |
5186 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, | 5261 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, |
5187 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, | 5262 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, |
5188 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, | 5263 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, |
5189 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, | 5264 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, |
5190 .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, | 5265 .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, |
5191 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, | 5266 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, |
5192 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, | 5267 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, |
5193 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter | 5268 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_Te
xtRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCha
racter |
5194 }; | 5269 }; |
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6081 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 6156 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
6082 .real_iface = NULL | 6157 .real_iface = NULL |
6083 }; | 6158 }; |
6084 | 6159 |
6085 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 6160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
6086 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 6161 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
6087 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 6162 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
6088 .real_iface = NULL | 6163 .real_iface = NULL |
6089 }; | 6164 }; |
6090 | 6165 |
| 6166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FilesystemProvider_Dev_0_
1 = { |
| 6167 .iface_macro = PPB_FILESYSTEMPROVIDER_DEV_INTERFACE_0_1, |
| 6168 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FilesystemProvider_Dev_0_1
, |
| 6169 .real_iface = NULL |
| 6170 }; |
| 6171 |
6091 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { | 6172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { |
6092 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, | 6173 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, |
6093 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, | 6174 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, |
6094 .real_iface = NULL | 6175 .real_iface = NULL |
6095 }; | 6176 }; |
6096 | 6177 |
6097 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 6178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
6098 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 6179 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
6099 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 6180 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
6100 .real_iface = NULL | 6181 .real_iface = NULL |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6441 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, | 6522 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, |
6442 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, | 6523 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_2, |
6443 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, | 6524 &Pnacl_WrapperInfo_PPB_VideoDecoder_1_0, |
6444 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, | 6525 &Pnacl_WrapperInfo_PPB_VideoEncoder_0_1, |
6445 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 6526 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
6446 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 6527 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
6447 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 6528 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
6448 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 6529 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
6449 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 6530 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
6450 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 6531 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
| 6532 &Pnacl_WrapperInfo_PPB_FilesystemProvider_Dev_0_1, |
6451 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 6533 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
6452 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 6534 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
6453 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 6535 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
6454 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 6536 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
6455 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 6537 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
6456 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 6538 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
6457 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 6539 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
6458 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 6540 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
6459 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 6541 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
6460 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, | 6542 &Pnacl_WrapperInfo_PPB_CameraDevice_Private_0_1, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6567 | 6649 |
6568 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6650 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6569 if (wrapper->real_iface == NULL) { | 6651 if (wrapper->real_iface == NULL) { |
6570 const void *iface = (*__real_PPPGetInterface)(name); | 6652 const void *iface = (*__real_PPPGetInterface)(name); |
6571 if (NULL == iface) return NULL; | 6653 if (NULL == iface) return NULL; |
6572 wrapper->real_iface = iface; | 6654 wrapper->real_iface = iface; |
6573 } | 6655 } |
6574 | 6656 |
6575 return wrapper->wrapped_iface; | 6657 return wrapper->wrapped_iface; |
6576 } | 6658 } |
OLD | NEW |