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 10 matching lines...) Expand all Loading... |
21 #include "ppapi/c/dev/ppb_memory_dev.h" | 21 #include "ppapi/c/dev/ppb_memory_dev.h" |
22 #include "ppapi/c/dev/ppb_net_address_dev.h" | 22 #include "ppapi/c/dev/ppb_net_address_dev.h" |
23 #include "ppapi/c/dev/ppb_printing_dev.h" | 23 #include "ppapi/c/dev/ppb_printing_dev.h" |
24 #include "ppapi/c/dev/ppb_resource_array_dev.h" | 24 #include "ppapi/c/dev/ppb_resource_array_dev.h" |
25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
26 #include "ppapi/c/dev/ppb_tcp_socket_dev.h" | 26 #include "ppapi/c/dev/ppb_tcp_socket_dev.h" |
27 #include "ppapi/c/dev/ppb_testing_dev.h" | 27 #include "ppapi/c/dev/ppb_testing_dev.h" |
28 #include "ppapi/c/dev/ppb_text_input_dev.h" | 28 #include "ppapi/c/dev/ppb_text_input_dev.h" |
29 #include "ppapi/c/dev/ppb_trace_event_dev.h" | 29 #include "ppapi/c/dev/ppb_trace_event_dev.h" |
30 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 30 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
| 31 #include "ppapi/c/dev/ppb_udp_socket_dev.h" |
31 #include "ppapi/c/dev/ppb_url_util_dev.h" | 32 #include "ppapi/c/dev/ppb_url_util_dev.h" |
32 #include "ppapi/c/dev/ppb_var_array_dev.h" | 33 #include "ppapi/c/dev/ppb_var_array_dev.h" |
33 #include "ppapi/c/dev/ppb_var_dictionary_dev.h" | 34 #include "ppapi/c/dev/ppb_var_dictionary_dev.h" |
34 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 35 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
35 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 36 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
36 #include "ppapi/c/dev/ppb_view_dev.h" | 37 #include "ppapi/c/dev/ppb_view_dev.h" |
37 #include "ppapi/c/dev/ppb_widget_dev.h" | 38 #include "ppapi/c/dev/ppb_widget_dev.h" |
38 #include "ppapi/c/dev/ppb_zoom_dev.h" | 39 #include "ppapi/c/dev/ppb_zoom_dev.h" |
39 #include "ppapi/c/dev/ppp_network_state_dev.h" | 40 #include "ppapi/c/dev/ppp_network_state_dev.h" |
40 #include "ppapi/c/dev/ppp_printing_dev.h" | 41 #include "ppapi/c/dev/ppp_printing_dev.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1; | 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1; |
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; | 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; |
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; | 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; |
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; | 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; |
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; | 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; |
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; | 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; |
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; | 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; |
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; | 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; |
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; | 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; |
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
| 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1; |
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1; | 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1; |
222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1; | 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1; |
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; | 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; |
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; | 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; |
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; | 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; |
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; | 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; |
229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; | 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; |
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 return iface->GetTableTags(font, *output, *callback); | 2033 return iface->GetTableTags(font, *output, *callback); |
2032 } | 2034 } |
2033 | 2035 |
2034 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_
t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output,
struct PP_CompletionCallback* callback) { | 2036 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_
t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output,
struct PP_CompletionCallback* callback) { |
2035 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; | 2037 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF
ont_Dev_0_1.real_iface; |
2036 return iface->GetTable(font, table, offset, max_data_length, *output, *callbac
k); | 2038 return iface->GetTable(font, table, offset, max_data_length, *output, *callbac
k); |
2037 } | 2039 } |
2038 | 2040 |
2039 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ | 2041 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ |
2040 | 2042 |
| 2043 /* Begin wrapper methods for PPB_UDPSocket_Dev_0_1 */ |
| 2044 |
| 2045 static PP_Resource Pnacl_M29_PPB_UDPSocket_Dev_Create(PP_Instance instance) { |
| 2046 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2047 return iface->Create(instance); |
| 2048 } |
| 2049 |
| 2050 static PP_Bool Pnacl_M29_PPB_UDPSocket_Dev_IsUDPSocket(PP_Resource resource) { |
| 2051 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2052 return iface->IsUDPSocket(resource); |
| 2053 } |
| 2054 |
| 2055 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_Bind(PP_Resource udp_socket, PP_Resou
rce addr, struct PP_CompletionCallback* callback) { |
| 2056 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2057 return iface->Bind(udp_socket, addr, *callback); |
| 2058 } |
| 2059 |
| 2060 static PP_Resource Pnacl_M29_PPB_UDPSocket_Dev_GetBoundAddress(PP_Resource udp_s
ocket) { |
| 2061 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2062 return iface->GetBoundAddress(udp_socket); |
| 2063 } |
| 2064 |
| 2065 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_RecvFrom(PP_Resource udp_socket, char
* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback* ca
llback) { |
| 2066 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2067 return iface->RecvFrom(udp_socket, buffer, num_bytes, addr, *callback); |
| 2068 } |
| 2069 |
| 2070 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_SendTo(PP_Resource udp_socket, const
char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback*
callback) { |
| 2071 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2072 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); |
| 2073 } |
| 2074 |
| 2075 static void Pnacl_M29_PPB_UDPSocket_Dev_Close(PP_Resource udp_socket) { |
| 2076 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2077 iface->Close(udp_socket); |
| 2078 } |
| 2079 |
| 2080 static int32_t Pnacl_M29_PPB_UDPSocket_Dev_SetOption(PP_Resource udp_socket, PP_
UDPSocket_Option_Dev name, struct PP_Var* value, struct PP_CompletionCallback* c
allback) { |
| 2081 const struct PPB_UDPSocket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_De
v_0_1.real_iface; |
| 2082 return iface->SetOption(udp_socket, name, *value, *callback); |
| 2083 } |
| 2084 |
| 2085 /* End wrapper methods for PPB_UDPSocket_Dev_0_1 */ |
| 2086 |
2041 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */ | 2087 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */ |
2042 | 2088 |
2043 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result
, struct PP_Var* url, struct PP_URLComponents_Dev* components) { | 2089 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result
, struct PP_Var* url, struct PP_URLComponents_Dev* components) { |
2044 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; | 2090 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; |
2045 *_struct_result = iface->Canonicalize(*url, components); | 2091 *_struct_result = iface->Canonicalize(*url, components); |
2046 } | 2092 } |
2047 | 2093 |
2048 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struc
t_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URL
Components_Dev* components) { | 2094 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struc
t_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URL
Components_Dev* components) { |
2049 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; | 2095 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; |
2050 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, com
ponents); | 2096 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, com
ponents); |
(...skipping 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4371 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { | 4417 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { |
4372 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, | 4418 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput
output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G
etFontFamilies, |
4373 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, | 4419 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family,
struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26
_PPB_TrueTypeFont_Dev_GetFontsInFamily, |
4374 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, | 4420 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon
tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, |
4375 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, | 4421 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType
Font_Dev_IsTrueTypeFont, |
4376 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, | 4422 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d
esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc
ribe, |
4377 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, | 4423 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output,
struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable
Tags, |
4378 .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 | 4424 .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 |
4379 }; | 4425 }; |
4380 | 4426 |
| 4427 struct PPB_UDPSocket_Dev_0_1 Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1 = { |
| 4428 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_De
v_Create, |
| 4429 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_D
ev_IsUDPSocket, |
| 4430 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_Com
pletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Dev_Bind, |
| 4431 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_U
DPSocket_Dev_GetBoundAddress, |
| 4432 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b
ytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U
DPSocket_Dev_RecvFrom, |
| 4433 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n
um_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PP
B_UDPSocket_Dev_SendTo, |
| 4434 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Dev_Clos
e, |
| 4435 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option_Dev na
me, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U
DPSocket_Dev_SetOption |
| 4436 }; |
| 4437 |
4381 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { | 4438 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { |
4382 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, | 4439 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, |
4383 .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, | 4440 .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, |
4384 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, | 4441 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, |
4385 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, | 4442 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, |
4386 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))
&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, | 4443 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))
&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, |
4387 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta
rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, | 4444 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta
rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, |
4388 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp
onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, | 4445 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp
onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, |
4389 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U
RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL | 4446 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U
RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL |
4390 }; | 4447 }; |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5370 .wrapped_iface = NULL /* Still need slot for real_iface */, | 5427 .wrapped_iface = NULL /* Still need slot for real_iface */, |
5371 .real_iface = NULL | 5428 .real_iface = NULL |
5372 }; | 5429 }; |
5373 | 5430 |
5374 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = { | 5431 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = { |
5375 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, | 5432 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, |
5376 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, | 5433 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, |
5377 .real_iface = NULL | 5434 .real_iface = NULL |
5378 }; | 5435 }; |
5379 | 5436 |
| 5437 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1 = { |
| 5438 .iface_macro = PPB_UDPSOCKET_DEV_INTERFACE_0_1, |
| 5439 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1, |
| 5440 .real_iface = NULL |
| 5441 }; |
| 5442 |
5380 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { | 5443 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { |
5381 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, | 5444 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, |
5382 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, | 5445 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, |
5383 .real_iface = NULL | 5446 .real_iface = NULL |
5384 }; | 5447 }; |
5385 | 5448 |
5386 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = { | 5449 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = { |
5387 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1, | 5450 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1, |
5388 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1, | 5451 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1, |
5389 .real_iface = NULL | 5452 .real_iface = NULL |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5874 &Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1, | 5937 &Pnacl_WrapperInfo_PPB_TCPSocket_Dev_0_1, |
5875 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, | 5938 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, |
5876 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, | 5939 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, |
5877 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, | 5940 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, |
5878 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, | 5941 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, |
5879 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, | 5942 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, |
5880 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, | 5943 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, |
5881 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, | 5944 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, |
5882 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, | 5945 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, |
5883 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 5946 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
| 5947 &Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1, |
5884 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 5948 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
5885 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1, | 5949 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1, |
5886 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1, | 5950 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1, |
5887 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, | 5951 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, |
5888 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 5952 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
5889 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 5953 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
5890 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, | 5954 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, |
5891 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, | 5955 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, |
5892 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, | 5956 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, |
5893 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, | 5957 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6034 if (NULL == iface) return NULL; | 6098 if (NULL == iface) return NULL; |
6035 wrapper->real_iface = iface; | 6099 wrapper->real_iface = iface; |
6036 } | 6100 } |
6037 | 6101 |
6038 if (wrapper->wrapped_iface) { | 6102 if (wrapper->wrapped_iface) { |
6039 return wrapper->wrapped_iface; | 6103 return wrapper->wrapped_iface; |
6040 } else { | 6104 } else { |
6041 return wrapper->real_iface; | 6105 return wrapper->real_iface; |
6042 } | 6106 } |
6043 } | 6107 } |
OLD | NEW |