OLD | NEW |
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 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/generators/pnacl_shim.h" | 7 #include "ppapi/generators/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" |
(...skipping 2197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2208 | 2208 |
2209 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 2209 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
2210 | 2210 |
2211 static __attribute__((pnaclcall)) | 2211 static __attribute__((pnaclcall)) |
2212 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, str
uct PP_ArrayOutput output, struct PP_CompletionCallback callback) { | 2212 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, str
uct PP_ArrayOutput output, struct PP_CompletionCallback callback) { |
2213 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2213 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2214 return iface->GetFontFamilies(instance, output, callback); | 2214 return iface->GetFontFamilies(instance, output, callback); |
2215 } | 2215 } |
2216 | 2216 |
2217 static __attribute__((pnaclcall)) | 2217 static __attribute__((pnaclcall)) |
| 2218 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance instance, st
ruct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback c
allback) { |
| 2219 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
| 2220 return iface->GetFontsInFamily(instance, family, output, callback); |
| 2221 } |
| 2222 |
| 2223 static __attribute__((pnaclcall)) |
2218 PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const st
ruct PP_TrueTypeFontDesc_Dev* desc) { | 2224 PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const st
ruct PP_TrueTypeFontDesc_Dev* desc) { |
2219 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2225 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2220 return iface->Create(instance, desc); | 2226 return iface->Create(instance, desc); |
2221 } | 2227 } |
2222 | 2228 |
2223 static __attribute__((pnaclcall)) | 2229 static __attribute__((pnaclcall)) |
2224 PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource) { | 2230 PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource) { |
2225 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2231 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2226 return iface->IsTrueTypeFont(resource); | 2232 return iface->IsTrueTypeFont(resource); |
2227 } | 2233 } |
(...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4590 }; | 4596 }; |
4591 | 4597 |
4592 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4598 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
4593 | 4599 |
4594 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4600 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
4595 | 4601 |
4596 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4602 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
4597 | 4603 |
4598 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4604 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
4599 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4605 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
| 4606 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
4600 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4607 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
4601 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, | 4608 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
4602 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4609 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
4603 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4610 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
4604 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, i
nt32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallba
ck callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable | 4611 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, i
nt32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallba
ck callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable |
4605 }; | 4612 }; |
4606 | 4613 |
4607 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { | 4614 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { |
4608 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, | 4615 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, |
4609 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP
_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR
LUtil_Dev_ResolveRelativeToURL, | 4616 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP
_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_UR
LUtil_Dev_ResolveRelativeToURL, |
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6170 } | 6177 } |
6171 | 6178 |
6172 if (wrapper->wrapped_iface) { | 6179 if (wrapper->wrapped_iface) { |
6173 return wrapper->wrapped_iface; | 6180 return wrapper->wrapped_iface; |
6174 } else { | 6181 } else { |
6175 return wrapper->real_iface; | 6182 return wrapper->real_iface; |
6176 } | 6183 } |
6177 } | 6184 } |
6178 | 6185 |
6179 #endif | 6186 #endif |
OLD | NEW |