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

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

Issue 12387073: Add PPB_VarDictionary_Dev support - part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync 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
« no previous file with comments | « ppapi/cpp/var.cc ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 10 matching lines...) Expand all
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_truetype_font_dev.h" 29 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
30 #include "ppapi/c/dev/ppb_url_util_dev.h" 30 #include "ppapi/c/dev/ppb_url_util_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"
40 #include "ppapi/c/dev/ppp_text_input_dev.h" 41 #include "ppapi/c/dev/ppp_text_input_dev.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_Dev_0_1;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_3;
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Widget_Dev_0_4;
218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2;
219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1; 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_NetworkState_Dev_0_1;
220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6; 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Printing_Dev_0_6;
221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Scrollbar_Dev_0_2;
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2078 } 2080 }
2079 2081
2080 static __attribute__((pnaclcall)) 2082 static __attribute__((pnaclcall))
2081 struct PP_Var Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(PP_Instance instanc e, struct PP_URLComponents_Dev* components) { 2083 struct PP_Var Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(PP_Instance instanc e, struct PP_URLComponents_Dev* components) {
2082 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface; 2084 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_ 6.real_iface;
2083 return iface->GetPluginInstanceURL(instance, components); 2085 return iface->GetPluginInstanceURL(instance, components);
2084 } 2086 }
2085 2087
2086 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 2088 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */
2087 2089
2090 /* Begin wrapper methods for PPB_VarDictionary_Dev_0_1 */
2091
2092 static __attribute__((pnaclcall))
2093 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Create(void) {
2094 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2095 return iface->Create();
2096 }
2097
2098 static __attribute__((pnaclcall))
2099 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_Get(struct PP_Var dict, struct PP_ Var key) {
2100 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2101 return iface->Get(dict, key);
2102 }
2103
2104 static __attribute__((pnaclcall))
2105 PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_Set(struct PP_Var dict, struct PP_Var ke y, struct PP_Var value) {
2106 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2107 return iface->Set(dict, key, value);
2108 }
2109
2110 static __attribute__((pnaclcall))
2111 void Pnacl_M27_PPB_VarDictionary_Dev_Delete(struct PP_Var dict, struct PP_Var ke y) {
2112 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2113 iface->Delete(dict, key);
2114 }
2115
2116 static __attribute__((pnaclcall))
2117 PP_Bool Pnacl_M27_PPB_VarDictionary_Dev_HasKey(struct PP_Var dict, struct PP_Var key) {
2118 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2119 return iface->HasKey(dict, key);
2120 }
2121
2122 static __attribute__((pnaclcall))
2123 struct PP_Var Pnacl_M27_PPB_VarDictionary_Dev_GetKeys(struct PP_Var dict) {
2124 const struct PPB_VarDictionary_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarDicti onary_Dev_0_1.real_iface;
2125 return iface->GetKeys(dict);
2126 }
2127
2128 /* End wrapper methods for PPB_VarDictionary_Dev_0_1 */
2129
2088 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ 2130 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */
2089 2131
2090 static __attribute__((pnaclcall)) 2132 static __attribute__((pnaclcall))
2091 PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 2133 PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) {
2092 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface; 2134 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapt ure_Dev_0_2.real_iface;
2093 return iface->Create(instance); 2135 return iface->Create(instance);
2094 } 2136 }
2095 2137
2096 static __attribute__((pnaclcall)) 2138 static __attribute__((pnaclcall))
2097 PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture) { 2139 PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture) {
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
4173 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4215 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponent s_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize,
4174 .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, 4216 .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,
4175 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument, 4217 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB _URLUtil_Dev_ResolveRelativeToDocument,
4176 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4218 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_ b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin,
4177 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4219 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url)) &Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest,
4178 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4220 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance ta rget))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument,
4179 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4221 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL,
4180 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4222 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_U RLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL
4181 }; 4223 };
4182 4224
4225 struct PPB_VarDictionary_Dev_0_1 Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1 = {
4226 .Create = (struct PP_Var (*)(void))&Pnacl_M27_PPB_VarDictionary_Dev_Create,
4227 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_ PPB_VarDictionary_Dev_Get,
4228 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M27_PPB_VarDictionary_Dev_Set,
4229 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB_Va rDictionary_Dev_Delete,
4230 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M27_PPB _VarDictionary_Dev_HasKey,
4231 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M27_PPB_VarDictiona ry_Dev_GetKeys
4232 };
4233
4183 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { 4234 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = {
4184 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create, 4235 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture _Dev_Create,
4185 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture, 4236 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Vid eoCapture_Dev_IsVideoCapture,
4186 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices, 4237 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* dev ices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Enu merateDevices,
4187 .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, 4238 .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,
4188 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture, 4239 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_Video Capture_Dev_StartCapture,
4189 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer, 4240 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pna cl_M19_PPB_VideoCapture_Dev_ReuseBuffer,
4190 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture, 4241 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoC apture_Dev_StopCapture,
4191 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close 4242 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_De v_Close
4192 }; 4243 };
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after
5047 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5098 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1,
5048 .real_iface = NULL 5099 .real_iface = NULL
5049 }; 5100 };
5050 5101
5051 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = {
5052 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5103 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6,
5053 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5104 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6,
5054 .real_iface = NULL 5105 .real_iface = NULL
5055 }; 5106 };
5056 5107
5108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1 = {
5109 .iface_macro = PPB_VAR_DICTIONARY_DEV_INTERFACE_0_1,
5110 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_Dev_0_1,
5111 .real_iface = NULL
5112 };
5113
5057 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { 5114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = {
5058 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, 5115 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2,
5059 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, 5116 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2,
5060 .real_iface = NULL 5117 .real_iface = NULL
5061 }; 5118 };
5062 5119
5063 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { 5120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = {
5064 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, 5121 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3,
5065 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, 5122 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3,
5066 .real_iface = NULL 5123 .real_iface = NULL
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
5482 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5, 5539 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5,
5483 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, 5540 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7,
5484 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, 5541 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8,
5485 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 5542 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
5486 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 5543 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
5487 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 5544 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
5488 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 5545 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
5489 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1, 5546 &Pnacl_WrapperInfo_PPB_Trace_Event_Dev_0_1,
5490 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5547 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1,
5491 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5548 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
5549 &Pnacl_WrapperInfo_PPB_VarDictionary_Dev_0_1,
5492 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5550 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
5493 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5551 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3,
5494 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5552 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
5495 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 5553 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
5496 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 5554 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
5497 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 5555 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
5498 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 5556 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
5499 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6, 5557 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_6,
5500 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5558 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
5501 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5559 &Pnacl_WrapperInfo_PPB_Flash_12_4,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
5633 } 5691 }
5634 5692
5635 if (wrapper->wrapped_iface) { 5693 if (wrapper->wrapped_iface) {
5636 return wrapper->wrapped_iface; 5694 return wrapper->wrapped_iface;
5637 } else { 5695 } else {
5638 return wrapper->real_iface; 5696 return wrapper->real_iface;
5639 } 5697 }
5640 } 5698 }
5641 5699
5642 #endif 5700 #endif
OLDNEW
« no previous file with comments | « ppapi/cpp/var.cc ('k') | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698