Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 13820003: Pepper: Autogenerate thunk for PPB_TrueTypeFont. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit comment in gamepad for presubmit Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/generators/idl_thunk.py ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const st ruct PP_TrueTypeFontDesc_Dev* desc) { 2218 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; 2219 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface;
2220 return iface->Create(instance, desc); 2220 return iface->Create(instance, desc);
2221 } 2221 }
2222 2222
2223 static __attribute__((pnaclcall)) 2223 static __attribute__((pnaclcall))
2224 PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsFont(PP_Resource resource) { 2224 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; 2225 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface;
2226 return iface->IsFont(resource); 2226 return iface->IsTrueTypeFont(resource);
2227 } 2227 }
2228 2228
2229 static __attribute__((pnaclcall)) 2229 static __attribute__((pnaclcall))
2230 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_True TypeFontDesc_Dev* desc, struct PP_CompletionCallback callback) { 2230 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_True TypeFontDesc_Dev* desc, struct PP_CompletionCallback callback) {
2231 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;
2232 return iface->Describe(font, desc, callback); 2232 return iface->Describe(font, desc, callback);
2233 } 2233 }
2234 2234
2235 static __attribute__((pnaclcall)) 2235 static __attribute__((pnaclcall))
2236 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_ ArrayOutput output, struct PP_CompletionCallback callback) { 2236 int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_ ArrayOutput output, struct PP_CompletionCallback callback) {
(...skipping 2354 matching lines...) Expand 10 before | Expand all | Expand 10 after
4591 4591
4592 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ 4592 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */
4593 4593
4594 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ 4594 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */
4595 4595
4596 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ 4596 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */
4597 4597
4598 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { 4598 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, 4599 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G etFontFamilies,
4600 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, 4600 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create,
4601 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueTypeFont_Dev _IsFont, 4601 .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, 4602 .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, 4603 .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 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
4605 }; 4605 };
4606 4606
4607 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { 4607 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, 4608 .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, 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,
4610 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4610 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4611 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4611 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
6170 } 6170 }
6171 6171
6172 if (wrapper->wrapped_iface) { 6172 if (wrapper->wrapped_iface) {
6173 return wrapper->wrapped_iface; 6173 return wrapper->wrapped_iface;
6174 } else { 6174 } else {
6175 return wrapper->real_iface; 6175 return wrapper->real_iface;
6176 } 6176 }
6177 } 6177 }
6178 6178
6179 #endif 6179 #endif
OLDNEW
« no previous file with comments | « ppapi/generators/idl_thunk.py ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698