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 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1857 } | 1857 } |
1858 | 1858 |
1859 /* End wrapper methods for PPB_Testing_Dev_0_92 */ | 1859 /* End wrapper methods for PPB_Testing_Dev_0_92 */ |
1860 | 1860 |
1861 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ | 1861 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ |
1862 | 1862 |
1863 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ | 1863 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ |
1864 | 1864 |
1865 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ | 1865 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ |
1866 | 1866 |
| 1867 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ |
| 1868 |
1867 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 1869 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
1868 | 1870 |
1869 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 1871 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan
ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
1870 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1872 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
1871 return iface->GetFontFamilies(instance, *output, *callback); | 1873 return iface->GetFontFamilies(instance, *output, *callback); |
1872 } | 1874 } |
1873 | 1875 |
1874 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) { | 1876 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) { |
1875 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 1877 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
1876 return iface->GetFontsInFamily(instance, *family, *output, *callback); | 1878 return iface->GetFontsInFamily(instance, *family, *output, *callback); |
(...skipping 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4249 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, | 4251 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size)
)&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, |
4250 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem | 4252 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_
t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem |
4251 }; | 4253 }; |
4252 | 4254 |
4253 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ | 4255 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ |
4254 | 4256 |
4255 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ | 4257 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ |
4256 | 4258 |
4257 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ | 4259 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ |
4258 | 4260 |
| 4261 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ |
| 4262 |
4259 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4263 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
4260 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4264 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
4261 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, | 4265 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
4262 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4266 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
4263 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, | 4267 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
4264 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4268 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
4265 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4269 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
4266 .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 | 4270 .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 |
4267 }; | 4271 }; |
4268 | 4272 |
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5487 if (NULL == iface) return NULL; | 5491 if (NULL == iface) return NULL; |
5488 wrapper->real_iface = iface; | 5492 wrapper->real_iface = iface; |
5489 } | 5493 } |
5490 | 5494 |
5491 if (wrapper->wrapped_iface) { | 5495 if (wrapper->wrapped_iface) { |
5492 return wrapper->wrapped_iface; | 5496 return wrapper->wrapped_iface; |
5493 } else { | 5497 } else { |
5494 return wrapper->real_iface; | 5498 return wrapper->real_iface; |
5495 } | 5499 } |
5496 } | 5500 } |
OLD | NEW |