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 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1846 } | 1846 } |
1847 | 1847 |
1848 /* End wrapper methods for PPB_Testing_Dev_0_92 */ | 1848 /* End wrapper methods for PPB_Testing_Dev_0_92 */ |
1849 | 1849 |
1850 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ | 1850 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ |
1851 | 1851 |
1852 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ | 1852 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ |
1853 | 1853 |
1854 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ | 1854 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ |
1855 | 1855 |
| 1856 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ |
| 1857 |
1856 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 1858 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
1857 | 1859 |
1858 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 1860 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
1859 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1861 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
1860 return iface->GetFontFamilies(instance, *output, *callback); | 1862 return iface->GetFontFamilies(instance, *output, *callback); |
1861 } | 1863 } |
1862 | 1864 |
1863 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance insta
nce, struct PP_Var* family, struct PP_ArrayOutput* output, struct PP_CompletionC
allback* callback) { | 1865 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance insta
nce, struct PP_Var* family, struct PP_ArrayOutput* output, struct PP_CompletionC
allback* callback) { |
1864 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1866 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
1865 return iface->GetFontsInFamily(instance, *family, *output, *callback); | 1867 return iface->GetFontsInFamily(instance, *family, *output, *callback); |
(...skipping 2368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4234 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, | 4236 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, |
4235 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem | 4237 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem |
4236 }; | 4238 }; |
4237 | 4239 |
4238 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4240 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
4239 | 4241 |
4240 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4242 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
4241 | 4243 |
4242 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4244 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
4243 | 4245 |
| 4246 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ |
| 4247 |
4244 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4248 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
4245 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4249 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
4246 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, | 4250 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
4247 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4251 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
4248 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, | 4252 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
4249 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4253 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
4250 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4254 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
4251 .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 | 4255 .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 |
4252 }; | 4256 }; |
4253 | 4257 |
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5465 if (NULL == iface) return NULL; | 5469 if (NULL == iface) return NULL; |
5466 wrapper->real_iface = iface; | 5470 wrapper->real_iface = iface; |
5467 } | 5471 } |
5468 | 5472 |
5469 if (wrapper->wrapped_iface) { | 5473 if (wrapper->wrapped_iface) { |
5470 return wrapper->wrapped_iface; | 5474 return wrapper->wrapped_iface; |
5471 } else { | 5475 } else { |
5472 return wrapper->real_iface; | 5476 return wrapper->real_iface; |
5473 } | 5477 } |
5474 } | 5478 } |
OLD | NEW |