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 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2144 | 2144 |
2145 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 2145 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
2146 | 2146 |
2147 static __attribute__((pnaclcall)) | 2147 static __attribute__((pnaclcall)) |
2148 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, str
uct PP_ArrayOutput output, struct PP_CompletionCallback callback) { | 2148 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, str
uct PP_ArrayOutput output, struct PP_CompletionCallback callback) { |
2149 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2149 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2150 return iface->GetFontFamilies(instance, output, callback); | 2150 return iface->GetFontFamilies(instance, output, callback); |
2151 } | 2151 } |
2152 | 2152 |
2153 static __attribute__((pnaclcall)) | 2153 static __attribute__((pnaclcall)) |
| 2154 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) { |
| 2155 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
| 2156 return iface->GetFontsInFamily(instance, family, output, callback); |
| 2157 } |
| 2158 |
| 2159 static __attribute__((pnaclcall)) |
2154 PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const st
ruct PP_TrueTypeFontDesc_Dev* desc) { | 2160 PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const st
ruct PP_TrueTypeFontDesc_Dev* desc) { |
2155 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2161 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2156 return iface->Create(instance, desc); | 2162 return iface->Create(instance, desc); |
2157 } | 2163 } |
2158 | 2164 |
2159 static __attribute__((pnaclcall)) | 2165 static __attribute__((pnaclcall)) |
2160 PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsFont(PP_Resource resource) { | 2166 PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource) { |
2161 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2167 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2162 return iface->IsFont(resource); | 2168 return iface->IsTrueTypeFont(resource); |
2163 } | 2169 } |
2164 | 2170 |
2165 static __attribute__((pnaclcall)) | 2171 static __attribute__((pnaclcall)) |
2166 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_True
TypeFontDesc_Dev* desc, struct PP_CompletionCallback callback) { | 2172 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_True
TypeFontDesc_Dev* desc, struct PP_CompletionCallback callback) { |
2167 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2173 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2168 return iface->Describe(font, desc, callback); | 2174 return iface->Describe(font, desc, callback); |
2169 } | 2175 } |
2170 | 2176 |
2171 static __attribute__((pnaclcall)) | 2177 static __attribute__((pnaclcall)) |
2172 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_
ArrayOutput output, struct PP_CompletionCallback callback) { | 2178 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_
ArrayOutput output, struct PP_CompletionCallback callback) { |
(...skipping 2245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4418 }; | 4424 }; |
4419 | 4425 |
4420 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4426 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
4421 | 4427 |
4422 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4428 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
4423 | 4429 |
4424 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4430 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
4425 | 4431 |
4426 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4432 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
4427 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4433 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
| 4434 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
4428 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4435 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
4429 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueTypeFont_Dev
_IsFont, | 4436 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
4430 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4437 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
4431 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4438 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
4432 .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 | 4439 .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 |
4433 }; | 4440 }; |
4434 | 4441 |
4435 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { | 4442 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { |
4436 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, | 4443 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, |
4437 .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, | 4444 .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, |
4438 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, | 4445 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, |
4439 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, | 4446 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5959 } | 5966 } |
5960 | 5967 |
5961 if (wrapper->wrapped_iface) { | 5968 if (wrapper->wrapped_iface) { |
5962 return wrapper->wrapped_iface; | 5969 return wrapper->wrapped_iface; |
5963 } else { | 5970 } else { |
5964 return wrapper->real_iface; | 5971 return wrapper->real_iface; |
5965 } | 5972 } |
5966 } | 5973 } |
5967 | 5974 |
5968 #endif | 5975 #endif |
OLD | NEW |