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

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

Issue 12388083: Add PPB_VarArray_Dev support - part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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_directory_reader_dev.h" 15 #include "ppapi/c/dev/ppb_directory_reader_dev.h"
16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 16 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
17 #include "ppapi/c/dev/ppb_find_dev.h" 17 #include "ppapi/c/dev/ppb_find_dev.h"
18 #include "ppapi/c/dev/ppb_font_dev.h" 18 #include "ppapi/c/dev/ppb_font_dev.h"
19 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" 19 #include "ppapi/c/dev/ppb_graphics_2d_dev.h"
20 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 20 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
21 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 21 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
22 #include "ppapi/c/dev/ppb_memory_dev.h" 22 #include "ppapi/c/dev/ppb_memory_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_testing_dev.h" 26 #include "ppapi/c/dev/ppb_testing_dev.h"
27 #include "ppapi/c/dev/ppb_text_input_dev.h" 27 #include "ppapi/c/dev/ppb_text_input_dev.h"
28 #include "ppapi/c/dev/ppb_trace_event_dev.h" 28 #include "ppapi/c/dev/ppb_trace_event_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"
30 #include "ppapi/c/dev/ppb_var_dictionary_dev.h" 31 #include "ppapi/c/dev/ppb_var_dictionary_dev.h"
31 #include "ppapi/c/dev/ppb_video_capture_dev.h" 32 #include "ppapi/c/dev/ppb_video_capture_dev.h"
32 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 33 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
33 #include "ppapi/c/dev/ppb_view_dev.h" 34 #include "ppapi/c/dev/ppb_view_dev.h"
34 #include "ppapi/c/dev/ppb_widget_dev.h" 35 #include "ppapi/c/dev/ppb_widget_dev.h"
35 #include "ppapi/c/dev/ppb_zoom_dev.h" 36 #include "ppapi/c/dev/ppb_zoom_dev.h"
36 #include "ppapi/c/dev/ppp_network_state_dev.h" 37 #include "ppapi/c/dev/ppp_network_state_dev.h"
37 #include "ppapi/c/dev/ppp_printing_dev.h" 38 #include "ppapi/c/dev/ppp_printing_dev.h"
38 #include "ppapi/c/dev/ppp_scrollbar_dev.h" 39 #include "ppapi/c/dev/ppp_scrollbar_dev.h"
39 #include "ppapi/c/dev/ppp_selection_dev.h" 40 #include "ppapi/c/dev/ppp_selection_dev.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1;
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5;
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7;
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8;
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
(...skipping 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after
2028 } 2030 }
2029 2031
2030 static __attribute__((pnaclcall)) 2032 static __attribute__((pnaclcall))
2031 struct PP_Var Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(PP_Instance instanc e, struct PP_URLComponents_Dev* components) { 2033 struct PP_Var Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(PP_Instance instanc e, struct PP_URLComponents_Dev* components) {
2032 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 2034 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
2033 return iface->GetPluginInstanceURL(instance, components); 2035 return iface->GetPluginInstanceURL(instance, components);
2034 } 2036 }
2035 2037
2036 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 2038 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */
2037 2039
2040 /* Begin wrapper methods for PPB_VarArray_Dev_0_1 */
2041
2042 static __attribute__((pnaclcall))
2043 struct PP_Var Pnacl_M27_PPB_VarArray_Dev_Create(void) {
2044 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
2045 return iface->Create();
2046 }
2047
2048 static __attribute__((pnaclcall))
2049 struct PP_Var Pnacl_M27_PPB_VarArray_Dev_Get(struct PP_Var array, uint32_t index ) {
2050 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
2051 return iface->Get(array, index);
2052 }
2053
2054 static __attribute__((pnaclcall))
2055 PP_Bool Pnacl_M27_PPB_VarArray_Dev_Set(struct PP_Var array, uint32_t index, stru ct PP_Var value) {
2056 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
2057 return iface->Set(array, index, value);
2058 }
2059
2060 static __attribute__((pnaclcall))
2061 uint32_t Pnacl_M27_PPB_VarArray_Dev_GetLength(struct PP_Var array) {
2062 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
2063 return iface->GetLength(array);
2064 }
2065
2066 static __attribute__((pnaclcall))
2067 PP_Bool Pnacl_M27_PPB_VarArray_Dev_SetLength(struct PP_Var array, uint32_t lengt h) {
2068 const struct PPB_VarArray_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarArray_Dev_ 0_1.real_iface;
2069 return iface->SetLength(array, length);
2070 }
2071
2072 /* End wrapper methods for PPB_VarArray_Dev_0_1 */
2073
2038 /* Begin wrapper methods for PPB_VarDictionary_Dev_0_1 */ 2074 /* Begin wrapper methods for PPB_VarDictionary_Dev_0_1 */
2039 2075
2040 static __attribute__((pnaclcall)) 2076 static __attribute__((pnaclcall))
2041 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Create(void) { 2077 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Create(void) {
2042 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface; 2078 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2043 return iface->Create(); 2079 return iface->Create();
2044 } 2080 }
2045 2081
2046 static __attribute__((pnaclcall)) 2082 static __attribute__((pnaclcall))
2047 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Get(struct PP_Var dict, struct PP_ Var key) { 2083 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Get(struct PP_Var dict, struct PP_ Var key) {
(...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after
4104 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4140 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize,
4105 .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, 4141 .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,
4106 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4142 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4107 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4143 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4108 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4144 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest,
4109 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4145 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4110 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4146 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL,
4111 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4147 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4112 }; 4148 };
4113 4149
4150 struct PPB_VarArray_Dev_0_1 Pnacl_Wrappers_PPB_VarArray_Dev_0_1 = {
4151 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarArray_Dev_Create,
4152 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M27_PP B_VarArray_Dev_Get,
4153 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value ))&Pnacl_M27_PPB_VarArray_Dev_Set,
4154 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M27_PPB_VarArray_Dev_ GetLength,
4155 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M27_P PB_VarArray_Dev_SetLength
4156 };
4157
4114 struct PPB_VarDictionary_Dev_0_1 Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1 = { 4158 struct PPB_VarDictionary_Dev_0_1 Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1 = {
4115 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarDictionary_Dev_Create, 4159 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarDictionary_Dev_Create,
4116 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_ PPB_VarDictionary_Dev_Get, 4160 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_ PPB_VarDictionary_Dev_Get,
4117 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M27_PPB_VarDictionary_Dev_Set, 4161 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M27_PPB_VarDictionary_Dev_Set,
4118 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB_Va rDictionary_Dev_Delete, 4162 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB_Va rDictionary_Dev_Delete,
4119 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB _VarDictionary_Dev_HasKey, 4163 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB _VarDictionary_Dev_HasKey,
4120 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M27_PPB_VarDictiona ry_Dev_GetKeys 4164 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M27_PPB_VarDictiona ry_Dev_GetKeys
4121 }; 4165 };
4122 4166
4123 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { 4167 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = {
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
4968 .wrapped_iface = NULL /* Still need slot for real_iface */, 5012 .wrapped_iface = NULL /* Still need slot for real_iface */,
4969 .real_iface = NULL 5013 .real_iface = NULL
4970 }; 5014 };
4971 5015
4972 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5016 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = {
4973 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5017 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6,
4974 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5018 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6,
4975 .real_iface = NULL 5019 .real_iface = NULL
4976 }; 5020 };
4977 5021
5022 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1 = {
5023 .iface_macro = PPB_VAR_ARRAY_DEV_INTERFACE_0_1,
5024 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_Dev_0_1,
5025 .real_iface = NULL
5026 };
5027
4978 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1 = { 5028 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1 = {
4979 .iface_macro = PPB_VAR_DICTIONARY_DEV_INTERFACE_0_1, 5029 .iface_macro = PPB_VAR_DICTIONARY_DEV_INTERFACE_0_1,
4980 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1, 5030 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1,
4981 .real_iface = NULL 5031 .real_iface = NULL
4982 }; 5032 };
4983 5033
4984 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { 5034 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = {
4985 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, 5035 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2,
4986 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, 5036 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2,
4987 .real_iface = NULL 5037 .real_iface = NULL
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
5396 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1, 5446 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1,
5397 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5, 5447 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5,
5398 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, 5448 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7,
5399 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, 5449 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8,
5400 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5450 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5401 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5451 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5402 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5452 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
5403 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5453 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
5404 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, 5454 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1,
5405 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5455 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5456 &Pnacl_WrapperInfo_PPB_VarArray_Dev_0_1,
5406 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1, 5457 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1,
5407 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5458 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5408 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5459 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5409 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5460 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5410 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5461 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5411 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5462 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5412 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5463 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5413 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5464 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5414 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, 5465 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6,
5415 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5466 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
5546 } 5597 }
5547 5598
5548 if (wrapper->wrapped_iface) { 5599 if (wrapper->wrapped_iface) {
5549 return wrapper->wrapped_iface; 5600 return wrapper->wrapped_iface;
5550 } else { 5601 } else {
5551 return wrapper->real_iface; 5602 return wrapper->real_iface;
5552 } 5603 }
5553 } 5604 }
5554 5605
5555 #endif 5606 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698