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 13 matching lines...) Expand all Loading... |
24 #include "ppapi/c/dev/ppb_printing_dev.h" | 24 #include "ppapi/c/dev/ppb_printing_dev.h" |
25 #include "ppapi/c/dev/ppb_resource_array_dev.h" | 25 #include "ppapi/c/dev/ppb_resource_array_dev.h" |
26 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 26 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
27 #include "ppapi/c/dev/ppb_tcp_socket_dev.h" | 27 #include "ppapi/c/dev/ppb_tcp_socket_dev.h" |
28 #include "ppapi/c/dev/ppb_testing_dev.h" | 28 #include "ppapi/c/dev/ppb_testing_dev.h" |
29 #include "ppapi/c/dev/ppb_text_input_dev.h" | 29 #include "ppapi/c/dev/ppb_text_input_dev.h" |
30 #include "ppapi/c/dev/ppb_trace_event_dev.h" | 30 #include "ppapi/c/dev/ppb_trace_event_dev.h" |
31 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 31 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
32 #include "ppapi/c/dev/ppb_udp_socket_dev.h" | 32 #include "ppapi/c/dev/ppb_udp_socket_dev.h" |
33 #include "ppapi/c/dev/ppb_url_util_dev.h" | 33 #include "ppapi/c/dev/ppb_url_util_dev.h" |
34 #include "ppapi/c/dev/ppb_var_array_dev.h" | |
35 #include "ppapi/c/dev/ppb_var_dictionary_dev.h" | |
36 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 34 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
37 #include "ppapi/c/dev/ppb_video_decoder_dev.h" | 35 #include "ppapi/c/dev/ppb_video_decoder_dev.h" |
38 #include "ppapi/c/dev/ppb_view_dev.h" | 36 #include "ppapi/c/dev/ppb_view_dev.h" |
39 #include "ppapi/c/dev/ppb_widget_dev.h" | 37 #include "ppapi/c/dev/ppb_widget_dev.h" |
40 #include "ppapi/c/dev/ppb_zoom_dev.h" | 38 #include "ppapi/c/dev/ppb_zoom_dev.h" |
41 #include "ppapi/c/dev/ppp_network_state_dev.h" | 39 #include "ppapi/c/dev/ppp_network_state_dev.h" |
42 #include "ppapi/c/dev/ppp_printing_dev.h" | 40 #include "ppapi/c/dev/ppp_printing_dev.h" |
43 #include "ppapi/c/dev/ppp_scrollbar_dev.h" | 41 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
44 #include "ppapi/c/dev/ppp_selection_dev.h" | 42 #include "ppapi/c/dev/ppp_selection_dev.h" |
45 #include "ppapi/c/dev/ppp_text_input_dev.h" | 43 #include "ppapi/c/dev/ppp_text_input_dev.h" |
(...skipping 19 matching lines...) Expand all Loading... |
65 #include "ppapi/c/ppb_input_event.h" | 63 #include "ppapi/c/ppb_input_event.h" |
66 #include "ppapi/c/ppb_instance.h" | 64 #include "ppapi/c/ppb_instance.h" |
67 #include "ppapi/c/ppb_message_loop.h" | 65 #include "ppapi/c/ppb_message_loop.h" |
68 #include "ppapi/c/ppb_messaging.h" | 66 #include "ppapi/c/ppb_messaging.h" |
69 #include "ppapi/c/ppb_mouse_cursor.h" | 67 #include "ppapi/c/ppb_mouse_cursor.h" |
70 #include "ppapi/c/ppb_mouse_lock.h" | 68 #include "ppapi/c/ppb_mouse_lock.h" |
71 #include "ppapi/c/ppb_url_loader.h" | 69 #include "ppapi/c/ppb_url_loader.h" |
72 #include "ppapi/c/ppb_url_request_info.h" | 70 #include "ppapi/c/ppb_url_request_info.h" |
73 #include "ppapi/c/ppb_url_response_info.h" | 71 #include "ppapi/c/ppb_url_response_info.h" |
74 #include "ppapi/c/ppb_var.h" | 72 #include "ppapi/c/ppb_var.h" |
| 73 #include "ppapi/c/ppb_var_array.h" |
75 #include "ppapi/c/ppb_var_array_buffer.h" | 74 #include "ppapi/c/ppb_var_array_buffer.h" |
| 75 #include "ppapi/c/ppb_var_dictionary.h" |
76 #include "ppapi/c/ppb_view.h" | 76 #include "ppapi/c/ppb_view.h" |
77 #include "ppapi/c/ppb_websocket.h" | 77 #include "ppapi/c/ppb_websocket.h" |
78 #include "ppapi/c/ppp_graphics_3d.h" | 78 #include "ppapi/c/ppp_graphics_3d.h" |
79 #include "ppapi/c/ppp_input_event.h" | 79 #include "ppapi/c/ppp_input_event.h" |
80 #include "ppapi/c/ppp_instance.h" | 80 #include "ppapi/c/ppp_instance.h" |
81 #include "ppapi/c/ppp_messaging.h" | 81 #include "ppapi/c/ppp_messaging.h" |
82 #include "ppapi/c/ppp_mouse_lock.h" | 82 #include "ppapi/c/ppp_mouse_lock.h" |
83 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 83 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
84 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" | 84 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" |
85 #include "ppapi/c/private/ppb_file_io_private.h" | 85 #include "ppapi/c/private/ppb_file_io_private.h" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; | 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
| 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
| 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; |
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1; | 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1; |
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; | 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; |
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; | 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; |
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; | 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; |
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; | 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; |
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; | 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; |
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; | 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; |
(...skipping 29 matching lines...) Expand all Loading... |
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; | 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; |
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; | 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; |
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; | 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; |
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; | 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; |
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; | 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; |
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; | 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; |
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; | 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; |
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1; | 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1; |
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1; | |
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1; | |
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; | 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; |
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; | 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; |
222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; | 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; |
223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; | 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; |
224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; | 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; |
225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; | 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; |
226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1; | 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1; |
227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; | 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; |
228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2; | 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2; |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 *_struct_result = iface->VarFromUtf8(data, len); | 1095 *_struct_result = iface->VarFromUtf8(data, len); |
1096 } | 1096 } |
1097 | 1097 |
1098 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len
) { | 1098 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len
) { |
1099 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; | 1099 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; |
1100 return iface->VarToUtf8(*var, len); | 1100 return iface->VarToUtf8(*var, len); |
1101 } | 1101 } |
1102 | 1102 |
1103 /* End wrapper methods for PPB_Var_1_1 */ | 1103 /* End wrapper methods for PPB_Var_1_1 */ |
1104 | 1104 |
| 1105 /* Begin wrapper methods for PPB_VarArray_1_0 */ |
| 1106 |
| 1107 static void Pnacl_M29_PPB_VarArray_Create(struct PP_Var* _struct_result) { |
| 1108 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real
_iface; |
| 1109 *_struct_result = iface->Create(); |
| 1110 } |
| 1111 |
| 1112 static void Pnacl_M29_PPB_VarArray_Get(struct PP_Var* _struct_result, struct PP_
Var* array, uint32_t index) { |
| 1113 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real
_iface; |
| 1114 *_struct_result = iface->Get(*array, index); |
| 1115 } |
| 1116 |
| 1117 static PP_Bool Pnacl_M29_PPB_VarArray_Set(struct PP_Var* array, uint32_t index,
struct PP_Var* value) { |
| 1118 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real
_iface; |
| 1119 return iface->Set(*array, index, *value); |
| 1120 } |
| 1121 |
| 1122 static uint32_t Pnacl_M29_PPB_VarArray_GetLength(struct PP_Var* array) { |
| 1123 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real
_iface; |
| 1124 return iface->GetLength(*array); |
| 1125 } |
| 1126 |
| 1127 static PP_Bool Pnacl_M29_PPB_VarArray_SetLength(struct PP_Var* array, uint32_t l
ength) { |
| 1128 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real
_iface; |
| 1129 return iface->SetLength(*array, length); |
| 1130 } |
| 1131 |
| 1132 /* End wrapper methods for PPB_VarArray_1_0 */ |
| 1133 |
1105 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */ | 1134 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */ |
1106 | 1135 |
1107 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, u
int32_t size_in_bytes) { | 1136 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, u
int32_t size_in_bytes) { |
1108 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1137 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1109 *_struct_result = iface->Create(size_in_bytes); | 1138 *_struct_result = iface->Create(size_in_bytes); |
1110 } | 1139 } |
1111 | 1140 |
1112 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uin
t32_t* byte_length) { | 1141 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uin
t32_t* byte_length) { |
1113 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1142 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1114 return iface->ByteLength(*array, byte_length); | 1143 return iface->ByteLength(*array, byte_length); |
1115 } | 1144 } |
1116 | 1145 |
1117 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) { | 1146 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) { |
1118 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1147 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1119 return iface->Map(*array); | 1148 return iface->Map(*array); |
1120 } | 1149 } |
1121 | 1150 |
1122 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) { | 1151 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) { |
1123 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1152 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1124 iface->Unmap(*array); | 1153 iface->Unmap(*array); |
1125 } | 1154 } |
1126 | 1155 |
1127 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ | 1156 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ |
1128 | 1157 |
| 1158 /* Begin wrapper methods for PPB_VarDictionary_1_0 */ |
| 1159 |
| 1160 static void Pnacl_M29_PPB_VarDictionary_Create(struct PP_Var* _struct_result) { |
| 1161 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1162 *_struct_result = iface->Create(); |
| 1163 } |
| 1164 |
| 1165 static void Pnacl_M29_PPB_VarDictionary_Get(struct PP_Var* _struct_result, struc
t PP_Var* dict, struct PP_Var* key) { |
| 1166 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1167 *_struct_result = iface->Get(*dict, *key); |
| 1168 } |
| 1169 |
| 1170 static PP_Bool Pnacl_M29_PPB_VarDictionary_Set(struct PP_Var* dict, struct PP_Va
r* key, struct PP_Var* value) { |
| 1171 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1172 return iface->Set(*dict, *key, *value); |
| 1173 } |
| 1174 |
| 1175 static void Pnacl_M29_PPB_VarDictionary_Delete(struct PP_Var* dict, struct PP_Va
r* key) { |
| 1176 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1177 iface->Delete(*dict, *key); |
| 1178 } |
| 1179 |
| 1180 static PP_Bool Pnacl_M29_PPB_VarDictionary_HasKey(struct PP_Var* dict, struct PP
_Var* key) { |
| 1181 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1182 return iface->HasKey(*dict, *key); |
| 1183 } |
| 1184 |
| 1185 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s
truct PP_Var* dict) { |
| 1186 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar
y_1_0.real_iface; |
| 1187 *_struct_result = iface->GetKeys(*dict); |
| 1188 } |
| 1189 |
| 1190 /* End wrapper methods for PPB_VarDictionary_1_0 */ |
| 1191 |
1129 /* Not generating wrapper methods for PPB_View_1_0 */ | 1192 /* Not generating wrapper methods for PPB_View_1_0 */ |
1130 | 1193 |
1131 /* Not generating wrapper methods for PPB_View_1_1 */ | 1194 /* Not generating wrapper methods for PPB_View_1_1 */ |
1132 | 1195 |
1133 /* Begin wrapper methods for PPB_WebSocket_1_0 */ | 1196 /* Begin wrapper methods for PPB_WebSocket_1_0 */ |
1134 | 1197 |
1135 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { | 1198 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { |
1136 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re
al_iface; | 1199 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re
al_iface; |
1137 return iface->Create(instance); | 1200 return iface->Create(instance); |
1138 } | 1201 } |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2068 *_struct_result = iface->GetDocumentURL(instance, components); | 2131 *_struct_result = iface->GetDocumentURL(instance, components); |
2069 } | 2132 } |
2070 | 2133 |
2071 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc
t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { | 2134 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc
t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { |
2072 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; | 2135 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_
6.real_iface; |
2073 *_struct_result = iface->GetPluginInstanceURL(instance, components); | 2136 *_struct_result = iface->GetPluginInstanceURL(instance, components); |
2074 } | 2137 } |
2075 | 2138 |
2076 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ | 2139 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ |
2077 | 2140 |
2078 /* Begin wrapper methods for PPB_VarArray_Dev_0_1 */ | |
2079 | |
2080 static void Pnacl_M27_PPB_VarArray_Dev_Create(struct PP_Var* _struct_result) { | |
2081 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_
0_1.real_iface; | |
2082 *_struct_result = iface->Create(); | |
2083 } | |
2084 | |
2085 static void Pnacl_M27_PPB_VarArray_Dev_Get(struct PP_Var* _struct_result, struct
PP_Var* array, uint32_t index) { | |
2086 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_
0_1.real_iface; | |
2087 *_struct_result = iface->Get(*array, index); | |
2088 } | |
2089 | |
2090 static PP_Bool Pnacl_M27_PPB_VarArray_Dev_Set(struct PP_Var* array, uint32_t ind
ex, struct PP_Var* value) { | |
2091 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_
0_1.real_iface; | |
2092 return iface->Set(*array, index, *value); | |
2093 } | |
2094 | |
2095 static uint32_t Pnacl_M27_PPB_VarArray_Dev_GetLength(struct PP_Var* array) { | |
2096 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_
0_1.real_iface; | |
2097 return iface->GetLength(*array); | |
2098 } | |
2099 | |
2100 static PP_Bool Pnacl_M27_PPB_VarArray_Dev_SetLength(struct PP_Var* array, uint32
_t length) { | |
2101 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_
0_1.real_iface; | |
2102 return iface->SetLength(*array, length); | |
2103 } | |
2104 | |
2105 /* End wrapper methods for PPB_VarArray_Dev_0_1 */ | |
2106 | |
2107 /* Begin wrapper methods for PPB_VarDictionary_Dev_0_1 */ | |
2108 | |
2109 static void Pnacl_M27_PPB_VarDictionary_Dev_Create(struct PP_Var* _struct_result
) { | |
2110 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2111 *_struct_result = iface->Create(); | |
2112 } | |
2113 | |
2114 static void Pnacl_M27_PPB_VarDictionary_Dev_Get(struct PP_Var* _struct_result, s
truct PP_Var* dict, struct PP_Var* key) { | |
2115 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2116 *_struct_result = iface->Get(*dict, *key); | |
2117 } | |
2118 | |
2119 static PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_Set(struct PP_Var* dict, struct P
P_Var* key, struct PP_Var* value) { | |
2120 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2121 return iface->Set(*dict, *key, *value); | |
2122 } | |
2123 | |
2124 static void Pnacl_M27_PPB_VarDictionary_Dev_Delete(struct PP_Var* dict, struct P
P_Var* key) { | |
2125 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2126 iface->Delete(*dict, *key); | |
2127 } | |
2128 | |
2129 static PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_HasKey(struct PP_Var* dict, struc
t PP_Var* key) { | |
2130 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2131 return iface->HasKey(*dict, *key); | |
2132 } | |
2133 | |
2134 static void Pnacl_M27_PPB_VarDictionary_Dev_GetKeys(struct PP_Var* _struct_resul
t, struct PP_Var* dict) { | |
2135 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti
onary_Dev_0_1.real_iface; | |
2136 *_struct_result = iface->GetKeys(*dict); | |
2137 } | |
2138 | |
2139 /* End wrapper methods for PPB_VarDictionary_Dev_0_1 */ | |
2140 | |
2141 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ | 2141 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ |
2142 | 2142 |
2143 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { | 2143 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { |
2144 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt
ure_Dev_0_2.real_iface; | 2144 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt
ure_Dev_0_2.real_iface; |
2145 return iface->Create(instance); | 2145 return iface->Create(instance); |
2146 } | 2146 } |
2147 | 2147 |
2148 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c
apture) { | 2148 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c
apture) { |
2149 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt
ure_Dev_0_2.real_iface; | 2149 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt
ure_Dev_0_2.real_iface; |
2150 return iface->IsVideoCapture(video_capture); | 2150 return iface->IsVideoCapture(video_capture); |
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4114 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_P
PB_Var_VarToUtf8 | 4114 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_P
PB_Var_VarToUtf8 |
4115 }; | 4115 }; |
4116 | 4116 |
4117 struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = { | 4117 struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = { |
4118 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef, | 4118 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef, |
4119 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release, | 4119 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release, |
4120 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18
_PPB_Var_VarFromUtf8, | 4120 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18
_PPB_Var_VarFromUtf8, |
4121 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P
PB_Var_VarToUtf8 | 4121 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P
PB_Var_VarToUtf8 |
4122 }; | 4122 }; |
4123 | 4123 |
| 4124 struct PPB_VarArray_1_0 Pnacl_Wrappers_PPB_VarArray_1_0 = { |
| 4125 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarArray_Create, |
| 4126 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M29_PP
B_VarArray_Get, |
| 4127 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value
))&Pnacl_M29_PPB_VarArray_Set, |
| 4128 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M29_PPB_VarArray_GetL
ength, |
| 4129 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M29_P
PB_VarArray_SetLength |
| 4130 }; |
| 4131 |
4124 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { | 4132 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { |
4125 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, | 4133 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, |
4126 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, | 4134 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, |
4127 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, | 4135 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, |
4128 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap | 4136 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap |
4129 }; | 4137 }; |
4130 | 4138 |
| 4139 struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { |
| 4140 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, |
| 4141 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_
PPB_VarDictionary_Get, |
| 4142 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val
ue))&Pnacl_M29_PPB_VarDictionary_Set, |
| 4143 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va
rDictionary_Delete, |
| 4144 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB
_VarDictionary_HasKey, |
| 4145 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona
ry_GetKeys |
| 4146 }; |
| 4147 |
4131 /* Not generating wrapper interface for PPB_View_1_0 */ | 4148 /* Not generating wrapper interface for PPB_View_1_0 */ |
4132 | 4149 |
4133 /* Not generating wrapper interface for PPB_View_1_1 */ | 4150 /* Not generating wrapper interface for PPB_View_1_1 */ |
4134 | 4151 |
4135 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { | 4152 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { |
4136 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, | 4153 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, |
4137 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, | 4154 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, |
4138 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str
uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca
llback))&Pnacl_M18_PPB_WebSocket_Connect, | 4155 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str
uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca
llback))&Pnacl_M18_PPB_WebSocket_Connect, |
4139 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, | 4156 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, |
4140 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, | 4157 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4405 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, | 4422 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent
s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, |
4406 .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, | 4423 .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, |
4407 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, | 4424 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct
PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB
_URLUtil_Dev_ResolveRelativeToDocument, |
4408 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, | 4425 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_
b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, |
4409 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))
&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, | 4426 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))
&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, |
4410 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta
rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, | 4427 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta
rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, |
4411 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp
onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, | 4428 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp
onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, |
4412 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U
RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL | 4429 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U
RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL |
4413 }; | 4430 }; |
4414 | 4431 |
4415 struct PPB_VarArray_Dev_0_1 Pnacl_Wrappers_PPB_VarArray_Dev_0_1 = { | |
4416 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarArray_Dev_Create, | |
4417 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M27_PP
B_VarArray_Dev_Get, | |
4418 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value
))&Pnacl_M27_PPB_VarArray_Dev_Set, | |
4419 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M27_PPB_VarArray_Dev_
GetLength, | |
4420 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M27_P
PB_VarArray_Dev_SetLength | |
4421 }; | |
4422 | |
4423 struct PPB_VarDictionary_Dev_0_1 Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1 = { | |
4424 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarDictionary_Dev_Create, | |
4425 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_
PPB_VarDictionary_Dev_Get, | |
4426 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val
ue))&Pnacl_M27_PPB_VarDictionary_Dev_Set, | |
4427 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB_Va
rDictionary_Dev_Delete, | |
4428 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB
_VarDictionary_Dev_HasKey, | |
4429 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M27_PPB_VarDictiona
ry_Dev_GetKeys | |
4430 }; | |
4431 | |
4432 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { | 4432 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { |
4433 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture
_Dev_Create, | 4433 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture
_Dev_Create, |
4434 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid
eoCapture_Dev_IsVideoCapture, | 4434 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid
eoCapture_Dev_IsVideoCapture, |
4435 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev
ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu
merateDevices, | 4435 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev
ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu
merateDevices, |
4436 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, cons
t struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, s
truct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Open, | 4436 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, cons
t struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, s
truct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Open, |
4437 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video
Capture_Dev_StartCapture, | 4437 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video
Capture_Dev_StartCapture, |
4438 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna
cl_M19_PPB_VideoCapture_Dev_ReuseBuffer, | 4438 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna
cl_M19_PPB_VideoCapture_Dev_ReuseBuffer, |
4439 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC
apture_Dev_StopCapture, | 4439 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC
apture_Dev_StopCapture, |
4440 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De
v_Close | 4440 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De
v_Close |
4441 }; | 4441 }; |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5096 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_0, | 5096 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_0, |
5097 .real_iface = NULL | 5097 .real_iface = NULL |
5098 }; | 5098 }; |
5099 | 5099 |
5100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = { | 5100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = { |
5101 .iface_macro = PPB_VAR_INTERFACE_1_1, | 5101 .iface_macro = PPB_VAR_INTERFACE_1_1, |
5102 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, | 5102 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, |
5103 .real_iface = NULL | 5103 .real_iface = NULL |
5104 }; | 5104 }; |
5105 | 5105 |
| 5106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0 = { |
| 5107 .iface_macro = PPB_VAR_ARRAY_INTERFACE_1_0, |
| 5108 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_1_0, |
| 5109 .real_iface = NULL |
| 5110 }; |
| 5111 |
5106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { | 5112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { |
5107 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, | 5113 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, |
5108 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, | 5114 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, |
5109 .real_iface = NULL | 5115 .real_iface = NULL |
5110 }; | 5116 }; |
5111 | 5117 |
| 5118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = { |
| 5119 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0, |
| 5120 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, |
| 5121 .real_iface = NULL |
| 5122 }; |
| 5123 |
5112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { | 5124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { |
5113 .iface_macro = PPB_VIEW_INTERFACE_1_0, | 5125 .iface_macro = PPB_VIEW_INTERFACE_1_0, |
5114 .wrapped_iface = NULL /* Still need slot for real_iface */, | 5126 .wrapped_iface = NULL /* Still need slot for real_iface */, |
5115 .real_iface = NULL | 5127 .real_iface = NULL |
5116 }; | 5128 }; |
5117 | 5129 |
5118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1 = { | 5130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1 = { |
5119 .iface_macro = PPB_VIEW_INTERFACE_1_1, | 5131 .iface_macro = PPB_VIEW_INTERFACE_1_1, |
5120 .wrapped_iface = NULL /* Still need slot for real_iface */, | 5132 .wrapped_iface = NULL /* Still need slot for real_iface */, |
5121 .real_iface = NULL | 5133 .real_iface = NULL |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5396 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1, | 5408 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Dev_0_1, |
5397 .real_iface = NULL | 5409 .real_iface = NULL |
5398 }; | 5410 }; |
5399 | 5411 |
5400 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { | 5412 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { |
5401 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, | 5413 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, |
5402 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, | 5414 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, |
5403 .real_iface = NULL | 5415 .real_iface = NULL |
5404 }; | 5416 }; |
5405 | 5417 |
5406 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = { | |
5407 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1, | |
5408 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1, | |
5409 .real_iface = NULL | |
5410 }; | |
5411 | |
5412 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1 = { | |
5413 .iface_macro = PPB_VAR_DICTIONARY_DEV_INTERFACE_0_1, | |
5414 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1, | |
5415 .real_iface = NULL | |
5416 }; | |
5417 | |
5418 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { | 5418 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { |
5419 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, | 5419 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, |
5420 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, | 5420 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, |
5421 .real_iface = NULL | 5421 .real_iface = NULL |
5422 }; | 5422 }; |
5423 | 5423 |
5424 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { | 5424 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { |
5425 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, | 5425 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, |
5426 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, | 5426 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, |
5427 .real_iface = NULL | 5427 .real_iface = NULL |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5855 &Pnacl_WrapperInfo_PPB_Instance_1_0, | 5855 &Pnacl_WrapperInfo_PPB_Instance_1_0, |
5856 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 5856 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
5857 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 5857 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
5858 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, | 5858 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, |
5859 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 5859 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
5860 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, | 5860 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, |
5861 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, | 5861 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, |
5862 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, | 5862 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, |
5863 &Pnacl_WrapperInfo_PPB_Var_1_0, | 5863 &Pnacl_WrapperInfo_PPB_Var_1_0, |
5864 &Pnacl_WrapperInfo_PPB_Var_1_1, | 5864 &Pnacl_WrapperInfo_PPB_Var_1_1, |
| 5865 &Pnacl_WrapperInfo_PPB_VarArray_1_0, |
5865 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 5866 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
| 5867 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, |
5866 &Pnacl_WrapperInfo_PPB_View_1_0, | 5868 &Pnacl_WrapperInfo_PPB_View_1_0, |
5867 &Pnacl_WrapperInfo_PPB_View_1_1, | 5869 &Pnacl_WrapperInfo_PPB_View_1_1, |
5868 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 5870 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
5869 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, | 5871 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, |
5870 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, | 5872 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, |
5871 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, | 5873 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, |
5872 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, | 5874 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, |
5873 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, | 5875 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, |
5874 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, | 5876 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, |
5875 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, | 5877 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, |
(...skipping 23 matching lines...) Expand all Loading... |
5899 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, | 5901 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, |
5900 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, | 5902 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, |
5901 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, | 5903 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, |
5902 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, | 5904 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, |
5903 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, | 5905 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, |
5904 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, | 5906 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, |
5905 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, | 5907 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, |
5906 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 5908 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
5907 &Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1, | 5909 &Pnacl_WrapperInfo_PPB_UDPSocket_Dev_0_1, |
5908 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 5910 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
5909 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1, | |
5910 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1, | |
5911 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, | 5911 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, |
5912 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 5912 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
5913 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, | 5913 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, |
5914 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, | 5914 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, |
5915 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, | 5915 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, |
5916 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, | 5916 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, |
5917 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, | 5917 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, |
5918 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, | 5918 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, |
5919 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, | 5919 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, |
5920 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, | 5920 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6059 if (NULL == iface) return NULL; | 6059 if (NULL == iface) return NULL; |
6060 wrapper->real_iface = iface; | 6060 wrapper->real_iface = iface; |
6061 } | 6061 } |
6062 | 6062 |
6063 if (wrapper->wrapped_iface) { | 6063 if (wrapper->wrapped_iface) { |
6064 return wrapper->wrapped_iface; | 6064 return wrapper->wrapped_iface; |
6065 } else { | 6065 } else { |
6066 return wrapper->real_iface; | 6066 return wrapper->real_iface; |
6067 } | 6067 } |
6068 } | 6068 } |
OLD | NEW |