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

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

Issue 16136009: Move PPB_VarArray and PPB_VarDictionary out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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"
11 #include "ppapi/c/dev/ppb_buffer_dev.h" 11 #include "ppapi/c/dev/ppb_buffer_dev.h"
12 #include "ppapi/c/dev/ppb_crypto_dev.h" 12 #include "ppapi/c/dev/ppb_crypto_dev.h"
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" 14 #include "ppapi/c/dev/ppb_device_ref_dev.h"
15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
16 #include "ppapi/c/dev/ppb_find_dev.h" 16 #include "ppapi/c/dev/ppb_find_dev.h"
17 #include "ppapi/c/dev/ppb_font_dev.h" 17 #include "ppapi/c/dev/ppb_font_dev.h"
18 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" 18 #include "ppapi/c/dev/ppb_graphics_2d_dev.h"
19 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 19 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
20 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 20 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
21 #include "ppapi/c/dev/ppb_memory_dev.h" 21 #include "ppapi/c/dev/ppb_memory_dev.h"
22 #include "ppapi/c/dev/ppb_printing_dev.h" 22 #include "ppapi/c/dev/ppb_printing_dev.h"
23 #include "ppapi/c/dev/ppb_resource_array_dev.h" 23 #include "ppapi/c/dev/ppb_resource_array_dev.h"
24 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 24 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
25 #include "ppapi/c/dev/ppb_testing_dev.h" 25 #include "ppapi/c/dev/ppb_testing_dev.h"
26 #include "ppapi/c/dev/ppb_text_input_dev.h" 26 #include "ppapi/c/dev/ppb_text_input_dev.h"
27 #include "ppapi/c/dev/ppb_trace_event_dev.h" 27 #include "ppapi/c/dev/ppb_trace_event_dev.h"
28 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 28 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
29 #include "ppapi/c/dev/ppb_url_util_dev.h" 29 #include "ppapi/c/dev/ppb_url_util_dev.h"
30 #include "ppapi/c/dev/ppb_var_array_dev.h"
31 #include "ppapi/c/dev/ppb_var_dictionary_dev.h"
32 #include "ppapi/c/dev/ppb_video_capture_dev.h" 30 #include "ppapi/c/dev/ppb_video_capture_dev.h"
33 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 31 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
34 #include "ppapi/c/dev/ppb_view_dev.h" 32 #include "ppapi/c/dev/ppb_view_dev.h"
35 #include "ppapi/c/dev/ppb_widget_dev.h" 33 #include "ppapi/c/dev/ppb_widget_dev.h"
36 #include "ppapi/c/dev/ppb_zoom_dev.h" 34 #include "ppapi/c/dev/ppb_zoom_dev.h"
37 #include "ppapi/c/dev/ppp_network_state_dev.h" 35 #include "ppapi/c/dev/ppp_network_state_dev.h"
38 #include "ppapi/c/dev/ppp_printing_dev.h" 36 #include "ppapi/c/dev/ppp_printing_dev.h"
39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" 37 #include "ppapi/c/dev/ppp_scrollbar_dev.h"
40 #include "ppapi/c/dev/ppp_selection_dev.h" 38 #include "ppapi/c/dev/ppp_selection_dev.h"
41 #include "ppapi/c/dev/ppp_text_input_dev.h" 39 #include "ppapi/c/dev/ppp_text_input_dev.h"
(...skipping 19 matching lines...) Expand all
61 #include "ppapi/c/ppb_input_event.h" 59 #include "ppapi/c/ppb_input_event.h"
62 #include "ppapi/c/ppb_instance.h" 60 #include "ppapi/c/ppb_instance.h"
63 #include "ppapi/c/ppb_message_loop.h" 61 #include "ppapi/c/ppb_message_loop.h"
64 #include "ppapi/c/ppb_messaging.h" 62 #include "ppapi/c/ppb_messaging.h"
65 #include "ppapi/c/ppb_mouse_cursor.h" 63 #include "ppapi/c/ppb_mouse_cursor.h"
66 #include "ppapi/c/ppb_mouse_lock.h" 64 #include "ppapi/c/ppb_mouse_lock.h"
67 #include "ppapi/c/ppb_url_loader.h" 65 #include "ppapi/c/ppb_url_loader.h"
68 #include "ppapi/c/ppb_url_request_info.h" 66 #include "ppapi/c/ppb_url_request_info.h"
69 #include "ppapi/c/ppb_url_response_info.h" 67 #include "ppapi/c/ppb_url_response_info.h"
70 #include "ppapi/c/ppb_var.h" 68 #include "ppapi/c/ppb_var.h"
69 #include "ppapi/c/ppb_var_array.h"
71 #include "ppapi/c/ppb_var_array_buffer.h" 70 #include "ppapi/c/ppb_var_array_buffer.h"
71 #include "ppapi/c/ppb_var_dictionary.h"
72 #include "ppapi/c/ppb_view.h" 72 #include "ppapi/c/ppb_view.h"
73 #include "ppapi/c/ppb_websocket.h" 73 #include "ppapi/c/ppb_websocket.h"
74 #include "ppapi/c/ppp_graphics_3d.h" 74 #include "ppapi/c/ppp_graphics_3d.h"
75 #include "ppapi/c/ppp_input_event.h" 75 #include "ppapi/c/ppp_input_event.h"
76 #include "ppapi/c/ppp_instance.h" 76 #include "ppapi/c/ppp_instance.h"
77 #include "ppapi/c/ppp_messaging.h" 77 #include "ppapi/c/ppp_messaging.h"
78 #include "ppapi/c/ppp_mouse_lock.h" 78 #include "ppapi/c/ppp_mouse_lock.h"
79 #include "ppapi/c/private/ppb_content_decryptor_private.h" 79 #include "ppapi/c/private/ppb_content_decryptor_private.h"
80 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 80 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
81 #include "ppapi/c/private/ppb_file_io_private.h" 81 #include "ppapi/c/private/ppb_file_io_private.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0;
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0;
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2;
(...skipping 25 matching lines...) Expand all
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_92;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1;
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2;
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 *_struct_result = iface->VarFromUtf8(data, len); 1087 *_struct_result = iface->VarFromUtf8(data, len);
1088 } 1088 }
1089 1089
1090 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len ) { 1090 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len ) {
1091 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1091 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface;
1092 return iface->VarToUtf8(*var, len); 1092 return iface->VarToUtf8(*var, len);
1093 } 1093 }
1094 1094
1095 /* End wrapper methods for PPB_Var_1_1 */ 1095 /* End wrapper methods for PPB_Var_1_1 */
1096 1096
1097 /* Begin wrapper methods for PPB_VarArray_1_0 */
1098
1099 static void Pnacl_M29_PPB_VarArray_Create(struct PP_Var* _struct_result) {
1100 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real _iface;
1101 *_struct_result = iface->Create();
1102 }
1103
1104 static void Pnacl_M29_PPB_VarArray_Get(struct PP_Var* _struct_result, struct PP_ Var* array, uint32_t index) {
1105 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real _iface;
1106 *_struct_result = iface->Get(*array, index);
1107 }
1108
1109 static PP_Bool Pnacl_M29_PPB_VarArray_Set(struct PP_Var* array, uint32_t index, struct PP_Var* value) {
1110 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real _iface;
1111 return iface->Set(*array, index, *value);
1112 }
1113
1114 static uint32_t Pnacl_M29_PPB_VarArray_GetLength(struct PP_Var* array) {
1115 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real _iface;
1116 return iface->GetLength(*array);
1117 }
1118
1119 static PP_Bool Pnacl_M29_PPB_VarArray_SetLength(struct PP_Var* array, uint32_t l ength) {
1120 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real _iface;
1121 return iface->SetLength(*array, length);
1122 }
1123
1124 /* End wrapper methods for PPB_VarArray_1_0 */
1125
1097 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */ 1126 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */
1098 1127
1099 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, u int32_t size_in_bytes) { 1128 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, u int32_t size_in_bytes) {
1100 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface; 1129 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface;
1101 *_struct_result = iface->Create(size_in_bytes); 1130 *_struct_result = iface->Create(size_in_bytes);
1102 } 1131 }
1103 1132
1104 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uin t32_t* byte_length) { 1133 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uin t32_t* byte_length) {
1105 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface; 1134 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface;
1106 return iface->ByteLength(*array, byte_length); 1135 return iface->ByteLength(*array, byte_length);
1107 } 1136 }
1108 1137
1109 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) { 1138 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) {
1110 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface; 1139 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface;
1111 return iface->Map(*array); 1140 return iface->Map(*array);
1112 } 1141 }
1113 1142
1114 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) { 1143 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) {
1115 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface; 1144 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf fer_1_0.real_iface;
1116 iface->Unmap(*array); 1145 iface->Unmap(*array);
1117 } 1146 }
1118 1147
1119 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ 1148 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */
1120 1149
1150 /* Begin wrapper methods for PPB_VarDictionary_1_0 */
1151
1152 static void Pnacl_M29_PPB_VarDictionary_Create(struct PP_Var* _struct_result) {
1153 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1154 *_struct_result = iface->Create();
1155 }
1156
1157 static void Pnacl_M29_PPB_VarDictionary_Get(struct PP_Var* _struct_result, struc t PP_Var* dict, struct PP_Var* key) {
1158 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1159 *_struct_result = iface->Get(*dict, *key);
1160 }
1161
1162 static PP_Bool Pnacl_M29_PPB_VarDictionary_Set(struct PP_Var* dict, struct PP_Va r* key, struct PP_Var* value) {
1163 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1164 return iface->Set(*dict, *key, *value);
1165 }
1166
1167 static void Pnacl_M29_PPB_VarDictionary_Delete(struct PP_Var* dict, struct PP_Va r* key) {
1168 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1169 iface->Delete(*dict, *key);
1170 }
1171
1172 static PP_Bool Pnacl_M29_PPB_VarDictionary_HasKey(struct PP_Var* dict, struct PP _Var* key) {
1173 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1174 return iface->HasKey(*dict, *key);
1175 }
1176
1177 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) {
1178 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1179 *_struct_result = iface->GetKeys(*dict);
1180 }
1181
1182 /* End wrapper methods for PPB_VarDictionary_1_0 */
1183
1121 /* Not generating wrapper methods for PPB_View_1_0 */ 1184 /* Not generating wrapper methods for PPB_View_1_0 */
1122 1185
1123 /* Not generating wrapper methods for PPB_View_1_1 */ 1186 /* Not generating wrapper methods for PPB_View_1_1 */
1124 1187
1125 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1188 /* Begin wrapper methods for PPB_WebSocket_1_0 */
1126 1189
1127 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1190 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) {
1128 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 1191 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
1129 return iface->Create(instance); 1192 return iface->Create(instance);
1130 } 1193 }
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 *_struct_result = iface->GetDocumentURL(instance, components); 1957 *_struct_result = iface->GetDocumentURL(instance, components);
1895 } 1958 }
1896 1959
1897 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 1960 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struc t_result, PP_Instance instance, struct PP_URLComponents_Dev* components) {
1898 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 1961 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
1899 *_struct_result = iface->GetPluginInstanceURL(instance, components); 1962 *_struct_result = iface->GetPluginInstanceURL(instance, components);
1900 } 1963 }
1901 1964
1902 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 1965 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */
1903 1966
1904 /* Begin wrapper methods for PPB_VarArray_Dev_0_1 */
1905
1906 static void Pnacl_M27_PPB_VarArray_Dev_Create(struct PP_Var* _struct_result) {
1907 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
1908 *_struct_result = iface->Create();
1909 }
1910
1911 static void Pnacl_M27_PPB_VarArray_Dev_Get(struct PP_Var* _struct_result, struct PP_Var* array, uint32_t index) {
1912 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
1913 *_struct_result = iface->Get(*array, index);
1914 }
1915
1916 static PP_Bool Pnacl_M27_PPB_VarArray_Dev_Set(struct PP_Var* array, uint32_t ind ex, struct PP_Var* value) {
1917 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
1918 return iface->Set(*array, index, *value);
1919 }
1920
1921 static uint32_t Pnacl_M27_PPB_VarArray_Dev_GetLength(struct PP_Var* array) {
1922 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
1923 return iface->GetLength(*array);
1924 }
1925
1926 static PP_Bool Pnacl_M27_PPB_VarArray_Dev_SetLength(struct PP_Var* array, uint32 _t length) {
1927 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
1928 return iface->SetLength(*array, length);
1929 }
1930
1931 /* End wrapper methods for PPB_VarArray_Dev_0_1 */
1932
1933 /* Begin wrapper methods for PPB_VarDictionary_Dev_0_1 */
1934
1935 static void Pnacl_M27_PPB_VarDictionary_Dev_Create(struct PP_Var* _struct_result ) {
1936 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1937 *_struct_result = iface->Create();
1938 }
1939
1940 static void Pnacl_M27_PPB_VarDictionary_Dev_Get(struct PP_Var* _struct_result, s truct PP_Var* dict, struct PP_Var* key) {
1941 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1942 *_struct_result = iface->Get(*dict, *key);
1943 }
1944
1945 static PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_Set(struct PP_Var* dict, struct P P_Var* key, struct PP_Var* value) {
1946 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1947 return iface->Set(*dict, *key, *value);
1948 }
1949
1950 static void Pnacl_M27_PPB_VarDictionary_Dev_Delete(struct PP_Var* dict, struct P P_Var* key) {
1951 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1952 iface->Delete(*dict, *key);
1953 }
1954
1955 static PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_HasKey(struct PP_Var* dict, struc t PP_Var* key) {
1956 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1957 return iface->HasKey(*dict, *key);
1958 }
1959
1960 static void Pnacl_M27_PPB_VarDictionary_Dev_GetKeys(struct PP_Var* _struct_resul t, struct PP_Var* dict) {
1961 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
1962 *_struct_result = iface->GetKeys(*dict);
1963 }
1964
1965 /* End wrapper methods for PPB_VarDictionary_Dev_0_1 */
1966
1967 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ 1967 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */
1968 1968
1969 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 1969 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) {
1970 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface; 1970 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface;
1971 return iface->Create(instance); 1971 return iface->Create(instance);
1972 } 1972 }
1973 1973
1974 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c apture) { 1974 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_c apture) {
1975 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface; 1975 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface;
1976 return iface->IsVideoCapture(video_capture); 1976 return iface->IsVideoCapture(video_capture);
(...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after
3930 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_P PB_Var_VarToUtf8 3930 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_P PB_Var_VarToUtf8
3931 }; 3931 };
3932 3932
3933 struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = { 3933 struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = {
3934 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef, 3934 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef,
3935 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release, 3935 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release,
3936 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18 _PPB_Var_VarFromUtf8, 3936 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18 _PPB_Var_VarFromUtf8,
3937 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P PB_Var_VarToUtf8 3937 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P PB_Var_VarToUtf8
3938 }; 3938 };
3939 3939
3940 struct PPB_VarArray_1_0 Pnacl_Wrappers_PPB_VarArray_1_0 = {
3941 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarArray_Create,
3942 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M29_PP B_VarArray_Get,
3943 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value ))&Pnacl_M29_PPB_VarArray_Set,
3944 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M29_PPB_VarArray_GetL ength,
3945 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M29_P PB_VarArray_SetLength
3946 };
3947
3940 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { 3948 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = {
3941 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray Buffer_Create, 3949 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray Buffer_Create,
3942 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac l_M18_PPB_VarArrayBuffer_ByteLength, 3950 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac l_M18_PPB_VarArrayBuffer_ByteLength,
3943 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, 3951 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map,
3944 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap 3952 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap
3945 }; 3953 };
3946 3954
3955 struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = {
3956 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create,
3957 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get,
3958 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set,
3959 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete,
3960 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey,
3961 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys
3962 };
3963
3947 /* Not generating wrapper interface for PPB_View_1_0 */ 3964 /* Not generating wrapper interface for PPB_View_1_0 */
3948 3965
3949 /* Not generating wrapper interface for PPB_View_1_1 */ 3966 /* Not generating wrapper interface for PPB_View_1_1 */
3950 3967
3951 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 3968 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = {
3952 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate, 3969 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate,
3953 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket, 3970 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket,
3954 .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, 3971 .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,
3955 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 3972 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close,
3956 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e, 3973 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e,
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
4179 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4196 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize,
4180 .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, 4197 .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,
4181 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4198 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4182 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4199 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4183 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4200 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest,
4184 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4201 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4185 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4202 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL,
4186 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4203 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4187 }; 4204 };
4188 4205
4189 struct PPB_VarArray_Dev_0_1 Pnacl_Wrappers_PPB_VarArray_Dev_0_1 = {
4190 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarArray_Dev_Create,
4191 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M27_PP B_VarArray_Dev_Get,
4192 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value ))&Pnacl_M27_PPB_VarArray_Dev_Set,
4193 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M27_PPB_VarArray_Dev_ GetLength,
4194 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M27_P PB_VarArray_Dev_SetLength
4195 };
4196
4197 struct PPB_VarDictionary_Dev_0_1 Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1 = {
4198 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarDictionary_Dev_Create,
4199 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_ PPB_VarDictionary_Dev_Get,
4200 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M27_PPB_VarDictionary_Dev_Set,
4201 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB_Va rDictionary_Dev_Delete,
4202 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB _VarDictionary_Dev_HasKey,
4203 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M27_PPB_VarDictiona ry_Dev_GetKeys
4204 };
4205
4206 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { 4206 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = {
4207 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create, 4207 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create,
4208 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture, 4208 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture,
4209 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices, 4209 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices,
4210 .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, 4210 .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,
4211 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture, 4211 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture,
4212 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer, 4212 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer,
4213 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture, 4213 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture,
4214 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close 4214 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close
4215 }; 4215 };
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
4868 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_0, 4868 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_0,
4869 .real_iface = NULL 4869 .real_iface = NULL
4870 }; 4870 };
4871 4871
4872 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = { 4872 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = {
4873 .iface_macro = PPB_VAR_INTERFACE_1_1, 4873 .iface_macro = PPB_VAR_INTERFACE_1_1,
4874 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, 4874 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1,
4875 .real_iface = NULL 4875 .real_iface = NULL
4876 }; 4876 };
4877 4877
4878 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0 = {
4879 .iface_macro = PPB_VAR_ARRAY_INTERFACE_1_0,
4880 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_1_0,
4881 .real_iface = NULL
4882 };
4883
4878 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { 4884 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = {
4879 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, 4885 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0,
4880 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 4886 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0,
4881 .real_iface = NULL 4887 .real_iface = NULL
4882 }; 4888 };
4883 4889
4890 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = {
4891 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0,
4892 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0,
4893 .real_iface = NULL
4894 };
4895
4884 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { 4896 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = {
4885 .iface_macro = PPB_VIEW_INTERFACE_1_0, 4897 .iface_macro = PPB_VIEW_INTERFACE_1_0,
4886 .wrapped_iface = NULL /* Still need slot for real_iface */, 4898 .wrapped_iface = NULL /* Still need slot for real_iface */,
4887 .real_iface = NULL 4899 .real_iface = NULL
4888 }; 4900 };
4889 4901
4890 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1 = { 4902 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_1 = {
4891 .iface_macro = PPB_VIEW_INTERFACE_1_1, 4903 .iface_macro = PPB_VIEW_INTERFACE_1_1,
4892 .wrapped_iface = NULL /* Still need slot for real_iface */, 4904 .wrapped_iface = NULL /* Still need slot for real_iface */,
4893 .real_iface = NULL 4905 .real_iface = NULL
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
5144 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5156 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1,
5145 .real_iface = NULL 5157 .real_iface = NULL
5146 }; 5158 };
5147 5159
5148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = {
5149 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5161 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6,
5150 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5162 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6,
5151 .real_iface = NULL 5163 .real_iface = NULL
5152 }; 5164 };
5153 5165
5154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = {
5155 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1,
5156 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1,
5157 .real_iface = NULL
5158 };
5159
5160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1 = {
5161 .iface_macro = PPB_VAR_DICTIONARY_DEV_INTERFACE_0_1,
5162 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1,
5163 .real_iface = NULL
5164 };
5165
5166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { 5166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = {
5167 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, 5167 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2,
5168 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, 5168 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2,
5169 .real_iface = NULL 5169 .real_iface = NULL
5170 }; 5170 };
5171 5171
5172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { 5172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = {
5173 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, 5173 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3,
5174 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, 5174 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3,
5175 .real_iface = NULL 5175 .real_iface = NULL
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
5603 &Pnacl_WrapperInfo_PPB_Instance_1_0, 5603 &Pnacl_WrapperInfo_PPB_Instance_1_0,
5604 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5604 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5605 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5605 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5606 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, 5606 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0,
5607 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5607 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5608 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5608 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
5609 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5609 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
5610 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5610 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
5611 &Pnacl_WrapperInfo_PPB_Var_1_0, 5611 &Pnacl_WrapperInfo_PPB_Var_1_0,
5612 &Pnacl_WrapperInfo_PPB_Var_1_1, 5612 &Pnacl_WrapperInfo_PPB_Var_1_1,
5613 &Pnacl_WrapperInfo_PPB_VarArray_1_0,
5613 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5614 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0,
5615 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0,
5614 &Pnacl_WrapperInfo_PPB_View_1_0, 5616 &Pnacl_WrapperInfo_PPB_View_1_0,
5615 &Pnacl_WrapperInfo_PPB_View_1_1, 5617 &Pnacl_WrapperInfo_PPB_View_1_1,
5616 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5618 &Pnacl_WrapperInfo_PPB_WebSocket_1_0,
5617 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, 5619 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2,
5618 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, 5620 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3,
5619 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, 5621 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0,
5620 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, 5622 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0,
5621 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, 5623 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5,
5622 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, 5624 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6,
5623 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4, 5625 &Pnacl_WrapperInfo_PPB_FileIOTrusted_0_4,
(...skipping 19 matching lines...) Expand all
5643 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, 5645 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7,
5644 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, 5646 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8,
5645 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5647 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5646 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5648 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5647 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92, 5649 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_92,
5648 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5650 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
5649 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5651 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
5650 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, 5652 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1,
5651 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5653 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5652 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5654 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5653 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1,
5654 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1,
5655 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5655 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5656 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5656 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5657 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5657 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5658 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5658 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5659 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5659 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5660 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5660 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5661 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5661 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5662 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, 5662 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6,
5663 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 5663 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1,
5664 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 5664 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
5803 if (NULL == iface) return NULL; 5803 if (NULL == iface) return NULL;
5804 wrapper->real_iface = iface; 5804 wrapper->real_iface = iface;
5805 } 5805 }
5806 5806
5807 if (wrapper->wrapped_iface) { 5807 if (wrapper->wrapped_iface) {
5808 return wrapper->wrapped_iface; 5808 return wrapper->wrapped_iface;
5809 } else { 5809 } else {
5810 return wrapper->real_iface; 5810 return wrapper->real_iface;
5811 } 5811 }
5812 } 5812 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698