| 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 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1802 } | 1802 } |
| 1803 | 1803 |
| 1804 /* End wrapper methods for PPB_Testing_Dev_0_92 */ | 1804 /* End wrapper methods for PPB_Testing_Dev_0_92 */ |
| 1805 | 1805 |
| 1806 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ | 1806 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ |
| 1807 | 1807 |
| 1808 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ | 1808 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ |
| 1809 | 1809 |
| 1810 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ | 1810 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ |
| 1811 | 1811 |
| 1812 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ |
| 1813 |
| 1812 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 1814 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
| 1813 | 1815 |
| 1814 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 1816 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
| 1815 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1817 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
| 1816 return iface->GetFontFamilies(instance, *output, *callback); | 1818 return iface->GetFontFamilies(instance, *output, *callback); |
| 1817 } | 1819 } |
| 1818 | 1820 |
| 1819 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) { | 1821 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) { |
| 1820 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1822 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
| 1821 return iface->GetFontsInFamily(instance, *family, *output, *callback); | 1823 return iface->GetFontsInFamily(instance, *family, *output, *callback); |
| (...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4223 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, | 4225 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, |
| 4224 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem | 4226 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem |
| 4225 }; | 4227 }; |
| 4226 | 4228 |
| 4227 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4229 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
| 4228 | 4230 |
| 4229 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4231 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
| 4230 | 4232 |
| 4231 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4233 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
| 4232 | 4234 |
| 4235 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ |
| 4236 |
| 4233 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4237 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
| 4234 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4238 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
| 4235 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, | 4239 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
| 4236 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4240 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
| 4237 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, | 4241 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
| 4238 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4242 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
| 4239 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4243 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
| 4240 .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 | 4244 .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 |
| 4241 }; | 4245 }; |
| 4242 | 4246 |
| (...skipping 1222 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 |