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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "ppapi/c/ppb_instance.h" | 62 #include "ppapi/c/ppb_instance.h" |
63 #include "ppapi/c/ppb_message_loop.h" | 63 #include "ppapi/c/ppb_message_loop.h" |
64 #include "ppapi/c/ppb_messaging.h" | 64 #include "ppapi/c/ppb_messaging.h" |
65 #include "ppapi/c/ppb_mouse_cursor.h" | 65 #include "ppapi/c/ppb_mouse_cursor.h" |
66 #include "ppapi/c/ppb_mouse_lock.h" | 66 #include "ppapi/c/ppb_mouse_lock.h" |
67 #include "ppapi/c/ppb_url_loader.h" | 67 #include "ppapi/c/ppb_url_loader.h" |
68 #include "ppapi/c/ppb_url_request_info.h" | 68 #include "ppapi/c/ppb_url_request_info.h" |
69 #include "ppapi/c/ppb_url_response_info.h" | 69 #include "ppapi/c/ppb_url_response_info.h" |
70 #include "ppapi/c/ppb_var.h" | 70 #include "ppapi/c/ppb_var.h" |
71 #include "ppapi/c/ppb_var_array_buffer.h" | 71 #include "ppapi/c/ppb_var_array_buffer.h" |
| 72 #include "ppapi/c/ppb_video_reader.h" |
| 73 #include "ppapi/c/ppb_video_writer.h" |
72 #include "ppapi/c/ppb_view.h" | 74 #include "ppapi/c/ppb_view.h" |
73 #include "ppapi/c/ppb_websocket.h" | 75 #include "ppapi/c/ppb_websocket.h" |
74 #include "ppapi/c/ppp_graphics_3d.h" | 76 #include "ppapi/c/ppp_graphics_3d.h" |
75 #include "ppapi/c/ppp_input_event.h" | 77 #include "ppapi/c/ppp_input_event.h" |
76 #include "ppapi/c/ppp_instance.h" | 78 #include "ppapi/c/ppp_instance.h" |
77 #include "ppapi/c/ppp_messaging.h" | 79 #include "ppapi/c/ppp_messaging.h" |
78 #include "ppapi/c/ppp_mouse_lock.h" | 80 #include "ppapi/c/ppp_mouse_lock.h" |
79 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 81 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
80 #include "ppapi/c/private/ppb_file_io_private.h" | 82 #include "ppapi/c/private/ppb_file_io_private.h" |
81 #include "ppapi/c/private/ppb_file_ref_private.h" | 83 #include "ppapi/c/private/ppb_file_ref_private.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; | 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseCursor_1_0; |
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; | 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; |
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; |
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
| 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoReader_1_0; |
| 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoWriter_1_0; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; | 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Graphics3D_1_0; |
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; | 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_InputEvent_0_1; |
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; | 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_0; |
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; | 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_1_1; |
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; | 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MouseLock_1_0; |
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; | 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioTrusted_0_6; |
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; | 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2; |
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 } | 1124 } |
1121 | 1125 |
1122 static __attribute__((pnaclcall)) | 1126 static __attribute__((pnaclcall)) |
1123 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) { | 1127 void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var array) { |
1124 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; | 1128 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuf
fer_1_0.real_iface; |
1125 iface->Unmap(array); | 1129 iface->Unmap(array); |
1126 } | 1130 } |
1127 | 1131 |
1128 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ | 1132 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ |
1129 | 1133 |
| 1134 /* Begin wrapper methods for PPB_VideoReader_1_0 */ |
| 1135 |
| 1136 static __attribute__((pnaclcall)) |
| 1137 PP_Resource Pnacl_M28_PPB_VideoReader_Create(PP_Instance instance) { |
| 1138 const struct PPB_VideoReader_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoReader_1_
0.real_iface; |
| 1139 return iface->Create(instance); |
| 1140 } |
| 1141 |
| 1142 static __attribute__((pnaclcall)) |
| 1143 PP_Bool Pnacl_M28_PPB_VideoReader_IsVideoReader(PP_Resource resource) { |
| 1144 const struct PPB_VideoReader_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoReader_1_
0.real_iface; |
| 1145 return iface->IsVideoReader(resource); |
| 1146 } |
| 1147 |
| 1148 static __attribute__((pnaclcall)) |
| 1149 int32_t Pnacl_M28_PPB_VideoReader_Open(PP_Resource reader, struct PP_Var stream_
id, struct PP_CompletionCallback callback) { |
| 1150 const struct PPB_VideoReader_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoReader_1_
0.real_iface; |
| 1151 return iface->Open(reader, stream_id, callback); |
| 1152 } |
| 1153 |
| 1154 static __attribute__((pnaclcall)) |
| 1155 int32_t Pnacl_M28_PPB_VideoReader_GetNextFrame(PP_Resource reader, struct PP_Vid
eoFrame* frame, struct PP_CompletionCallback callback) { |
| 1156 const struct PPB_VideoReader_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoReader_1_
0.real_iface; |
| 1157 return iface->GetNextFrame(reader, frame, callback); |
| 1158 } |
| 1159 |
| 1160 static __attribute__((pnaclcall)) |
| 1161 void Pnacl_M28_PPB_VideoReader_Close(PP_Resource reader) { |
| 1162 const struct PPB_VideoReader_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoReader_1_
0.real_iface; |
| 1163 iface->Close(reader); |
| 1164 } |
| 1165 |
| 1166 /* End wrapper methods for PPB_VideoReader_1_0 */ |
| 1167 |
| 1168 /* Begin wrapper methods for PPB_VideoWriter_1_0 */ |
| 1169 |
| 1170 static __attribute__((pnaclcall)) |
| 1171 PP_Resource Pnacl_M28_PPB_VideoWriter_Create(PP_Instance instance) { |
| 1172 const struct PPB_VideoWriter_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_1_
0.real_iface; |
| 1173 return iface->Create(instance); |
| 1174 } |
| 1175 |
| 1176 static __attribute__((pnaclcall)) |
| 1177 PP_Bool Pnacl_M28_PPB_VideoWriter_IsVideoWriter(PP_Resource resource) { |
| 1178 const struct PPB_VideoWriter_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_1_
0.real_iface; |
| 1179 return iface->IsVideoWriter(resource); |
| 1180 } |
| 1181 |
| 1182 static __attribute__((pnaclcall)) |
| 1183 int32_t Pnacl_M28_PPB_VideoWriter_Open(PP_Resource writer, struct PP_Var stream_
id, struct PP_CompletionCallback callback) { |
| 1184 const struct PPB_VideoWriter_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_1_
0.real_iface; |
| 1185 return iface->Open(writer, stream_id, callback); |
| 1186 } |
| 1187 |
| 1188 static __attribute__((pnaclcall)) |
| 1189 int32_t Pnacl_M28_PPB_VideoWriter_PutNextFrame(PP_Resource writer, const struct
PP_VideoFrame* frame) { |
| 1190 const struct PPB_VideoWriter_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_1_
0.real_iface; |
| 1191 return iface->PutNextFrame(writer, frame); |
| 1192 } |
| 1193 |
| 1194 static __attribute__((pnaclcall)) |
| 1195 void Pnacl_M28_PPB_VideoWriter_Close(PP_Resource writer) { |
| 1196 const struct PPB_VideoWriter_1_0 *iface = Pnacl_WrapperInfo_PPB_VideoWriter_1_
0.real_iface; |
| 1197 iface->Close(writer); |
| 1198 } |
| 1199 |
| 1200 /* End wrapper methods for PPB_VideoWriter_1_0 */ |
| 1201 |
1130 /* Not generating wrapper methods for PPB_View_1_0 */ | 1202 /* Not generating wrapper methods for PPB_View_1_0 */ |
1131 | 1203 |
1132 /* Begin wrapper methods for PPB_WebSocket_1_0 */ | 1204 /* Begin wrapper methods for PPB_WebSocket_1_0 */ |
1133 | 1205 |
1134 static __attribute__((pnaclcall)) | 1206 static __attribute__((pnaclcall)) |
1135 PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { | 1207 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; | 1208 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re
al_iface; |
1137 return iface->Create(instance); | 1209 return iface->Create(instance); |
1138 } | 1210 } |
1139 | 1211 |
(...skipping 2864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4004 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P
PB_Var_VarToUtf8 | 4076 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_P
PB_Var_VarToUtf8 |
4005 }; | 4077 }; |
4006 | 4078 |
4007 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { | 4079 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { |
4008 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, | 4080 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArray
Buffer_Create, |
4009 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, | 4081 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnac
l_M18_PPB_VarArrayBuffer_ByteLength, |
4010 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, | 4082 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, |
4011 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap | 4083 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap |
4012 }; | 4084 }; |
4013 | 4085 |
| 4086 struct PPB_VideoReader_1_0 Pnacl_Wrappers_PPB_VideoReader_1_0 = { |
| 4087 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoReader_
Create, |
| 4088 .IsVideoReader = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoRead
er_IsVideoReader, |
| 4089 .Open = (int32_t (*)(PP_Resource reader, struct PP_Var stream_id, struct PP_
CompletionCallback callback))&Pnacl_M28_PPB_VideoReader_Open, |
| 4090 .GetNextFrame = (int32_t (*)(PP_Resource reader, struct PP_VideoFrame* frame
, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoReader_GetNextFrame
, |
| 4091 .Close = (void (*)(PP_Resource reader))&Pnacl_M28_PPB_VideoReader_Close |
| 4092 }; |
| 4093 |
| 4094 struct PPB_VideoWriter_1_0 Pnacl_Wrappers_PPB_VideoWriter_1_0 = { |
| 4095 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoWriter_
Create, |
| 4096 .IsVideoWriter = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoWrit
er_IsVideoWriter, |
| 4097 .Open = (int32_t (*)(PP_Resource writer, struct PP_Var stream_id, struct PP_
CompletionCallback callback))&Pnacl_M28_PPB_VideoWriter_Open, |
| 4098 .PutNextFrame = (int32_t (*)(PP_Resource writer, const struct PP_VideoFrame*
frame))&Pnacl_M28_PPB_VideoWriter_PutNextFrame, |
| 4099 .Close = (void (*)(PP_Resource writer))&Pnacl_M28_PPB_VideoWriter_Close |
| 4100 }; |
| 4101 |
4014 /* Not generating wrapper interface for PPB_View_1_0 */ | 4102 /* Not generating wrapper interface for PPB_View_1_0 */ |
4015 | 4103 |
4016 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { | 4104 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { |
4017 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, | 4105 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr
eate, |
4018 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, | 4106 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I
sWebSocket, |
4019 .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, | 4107 .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, |
4020 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, | 4108 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r
eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, |
4021 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, | 4109 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag
e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag
e, |
4022 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&
Pnacl_M18_PPB_WebSocket_SendMessage, | 4110 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&
Pnacl_M18_PPB_WebSocket_SendMessage, |
4023 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We
bSocket_GetBufferedAmount, | 4111 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_We
bSocket_GetBufferedAmount, |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4864 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, | 4952 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, |
4865 .real_iface = NULL | 4953 .real_iface = NULL |
4866 }; | 4954 }; |
4867 | 4955 |
4868 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { | 4956 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { |
4869 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, | 4957 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, |
4870 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, | 4958 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, |
4871 .real_iface = NULL | 4959 .real_iface = NULL |
4872 }; | 4960 }; |
4873 | 4961 |
| 4962 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoReader_1_0 = { |
| 4963 .iface_macro = PPB_VIDEOREADER_INTERFACE_1_0, |
| 4964 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoReader_1_0, |
| 4965 .real_iface = NULL |
| 4966 }; |
| 4967 |
| 4968 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoWriter_1_0 = { |
| 4969 .iface_macro = PPB_VIDEOWRITER_INTERFACE_1_0, |
| 4970 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoWriter_1_0, |
| 4971 .real_iface = NULL |
| 4972 }; |
| 4973 |
4874 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { | 4974 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_View_1_0 = { |
4875 .iface_macro = PPB_VIEW_INTERFACE_1_0, | 4975 .iface_macro = PPB_VIEW_INTERFACE_1_0, |
4876 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4976 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4877 .real_iface = NULL | 4977 .real_iface = NULL |
4878 }; | 4978 }; |
4879 | 4979 |
4880 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { | 4980 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { |
4881 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, | 4981 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, |
4882 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, | 4982 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, |
4883 .real_iface = NULL | 4983 .real_iface = NULL |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5568 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 5668 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
5569 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 5669 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
5570 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, | 5670 &Pnacl_WrapperInfo_PPB_MouseCursor_1_0, |
5571 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 5671 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
5572 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, | 5672 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, |
5573 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, | 5673 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, |
5574 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, | 5674 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, |
5575 &Pnacl_WrapperInfo_PPB_Var_1_0, | 5675 &Pnacl_WrapperInfo_PPB_Var_1_0, |
5576 &Pnacl_WrapperInfo_PPB_Var_1_1, | 5676 &Pnacl_WrapperInfo_PPB_Var_1_1, |
5577 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 5677 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
| 5678 &Pnacl_WrapperInfo_PPB_VideoReader_1_0, |
| 5679 &Pnacl_WrapperInfo_PPB_VideoWriter_1_0, |
5578 &Pnacl_WrapperInfo_PPB_View_1_0, | 5680 &Pnacl_WrapperInfo_PPB_View_1_0, |
5579 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 5681 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
5580 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, | 5682 &Pnacl_WrapperInfo_PPB_AudioTrusted_0_6, |
5581 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, | 5683 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_2, |
5582 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, | 5684 &Pnacl_WrapperInfo_PPB_BrokerTrusted_0_3, |
5583 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, | 5685 &Pnacl_WrapperInfo_PPB_BrowserFont_Trusted_1_0, |
5584 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, | 5686 &Pnacl_WrapperInfo_PPB_BufferTrusted_0_1, |
5585 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, | 5687 &Pnacl_WrapperInfo_PPB_CharSet_Trusted_1_0, |
5586 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, | 5688 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_5, |
5587 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, | 5689 &Pnacl_WrapperInfo_PPB_FileChooserTrusted_0_6, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5765 } | 5867 } |
5766 | 5868 |
5767 if (wrapper->wrapped_iface) { | 5869 if (wrapper->wrapped_iface) { |
5768 return wrapper->wrapped_iface; | 5870 return wrapper->wrapped_iface; |
5769 } else { | 5871 } else { |
5770 return wrapper->real_iface; | 5872 return wrapper->real_iface; |
5771 } | 5873 } |
5772 } | 5874 } |
5773 | 5875 |
5774 #endif | 5876 #endif |
OLD | NEW |