1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 /* NOTE: this is auto-generated from IDL */ 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" 8 9 #include "ppapi/c/ppb.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 11 #include "ppapi/c/dev/ppb_device_ref_dev.h" 12 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 13 #include "ppapi/c/dev/ppb_font_dev.h" 14 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 15 #include "ppapi/c/dev/ppb_printing_dev.h" 16 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 17 #include "ppapi/c/dev/ppb_url_util_dev.h" 18 #include "ppapi/c/dev/ppb_video_capture_dev.h" 19 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 20 #include "ppapi/c/dev/ppp_selection_dev.h" 21 #include "ppapi/c/ppb_compositor.h" 22 #include "ppapi/c/ppb_compositor_layer.h" 23 #include "ppapi/c/ppb_console.h" 24 #include "ppapi/c/ppb_core.h" 25 #include "ppapi/c/ppb_file_io.h" 26 #include "ppapi/c/ppb_file_mapping.h" 27 #include "ppapi/c/ppb_file_ref.h" 28 #include "ppapi/c/ppb_file_system.h" 29 #include "ppapi/c/ppb_graphics_2d.h" 30 #include "ppapi/c/ppb_graphics_3d.h" 31 #include "ppapi/c/ppb_host_resolver.h" 32 #include "ppapi/c/ppb_input_event.h" 33 #include "ppapi/c/ppb_media_stream_audio_track.h" 34 #include "ppapi/c/ppb_media_stream_video_track.h" 35 #include "ppapi/c/ppb_message_loop.h" 36 #include "ppapi/c/ppb_messaging.h" 37 #include "ppapi/c/ppb_mouse_lock.h" 38 #include "ppapi/c/ppb_net_address.h" 39 #include "ppapi/c/ppb_network_list.h" 40 #include "ppapi/c/ppb_network_monitor.h" 41 #include "ppapi/c/ppb_network_proxy.h" 42 #include "ppapi/c/ppb_tcp_socket.h" 43 #include "ppapi/c/ppb_text_input_controller.h" 44 #include "ppapi/c/ppb_udp_socket.h" 45 #include "ppapi/c/ppb_url_loader.h" 46 #include "ppapi/c/ppb_url_request_info.h" 47 #include "ppapi/c/ppb_url_response_info.h" 48 #include "ppapi/c/ppb_var.h" 49 #include "ppapi/c/ppb_var_array.h" 50 #include "ppapi/c/ppb_var_array_buffer.h" 51 #include "ppapi/c/ppb_var_dictionary.h" 52 #include "ppapi/c/ppb_video_decoder.h" 53 #include "ppapi/c/ppb_websocket.h" 54 #include "ppapi/c/ppp_messaging.h" 55 #include "ppapi/c/private/ppb_content_decryptor_private.h" 56 #include "ppapi/c/private/ppb_display_color_profile_private.h" 57 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 58 #include "ppapi/c/private/ppb_file_io_private.h" 59 #include "ppapi/c/private/ppb_file_ref_private.h" 60 #include "ppapi/c/private/ppb_flash.h" 61 #include "ppapi/c/private/ppb_flash_clipboard.h" 62 #include "ppapi/c/private/ppb_flash_device_id.h" 63 #include "ppapi/c/private/ppb_flash_drm.h" 64 #include "ppapi/c/private/ppb_flash_menu.h" 65 #include "ppapi/c/private/ppb_host_resolver_private.h" 66 #include "ppapi/c/private/ppb_instance_private.h" 67 #include "ppapi/c/private/ppb_isolated_file_system_private.h" 68 #include "ppapi/c/private/ppb_nacl_private.h" 69 #include "ppapi/c/private/ppb_net_address_private.h" 70 #include "ppapi/c/private/ppb_output_protection_private.h" 71 #include "ppapi/c/private/ppb_platform_verification_private.h" 72 #include "ppapi/c/private/ppb_talk_private.h" 73 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" 74 #include "ppapi/c/private/ppb_tcp_socket_private.h" 75 #include "ppapi/c/private/ppb_testing_private.h" 76 #include "ppapi/c/private/ppb_udp_socket_private.h" 77 #include "ppapi/c/private/ppb_uma_private.h" 78 #include "ppapi/c/private/ppb_video_destination_private.h" 79 #include "ppapi/c/private/ppb_video_source_private.h" 80 #include "ppapi/c/private/ppb_x509_certificate_private.h" 81 #include "ppapi/c/private/ppp_content_decryptor_private.h" 82 #include "ppapi/c/private/ppp_instance_private.h" 83 84 /* Use local strcmp to avoid dependency on libc. */ 85 static int mystrcmp(const char* s1, const char *s2) { 86 while (1) { 87 if (*s1 == 0) break; 88 if (*s2 == 0) break; 89 if (*s1 != *s2) break; 90 ++s1; 91 ++s2; 92 } 93 return (int)(*s1) - (int)(*s2); 94 } 95 96 /* BEGIN Declarations for all Wrapper Infos */ 97 98 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1; 99 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1; 100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; 101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; 102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; 103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; 104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1; 105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; 106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; 107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; 108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; 109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1; 121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1; 122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0; 123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1; 126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; 128 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; 129 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; 130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; 131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; 132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; 133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0; 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1; 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0; 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2; 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0; 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1; 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1; 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1; 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2; 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 204 /* END Declarations for all Wrapper Infos. */ 205 206 /* Not generating wrapper methods for PPB_Audio_1_0 */ 207 208 /* Not generating wrapper methods for PPB_Audio_1_1 */ 209 210 /* Not generating wrapper methods for PPB_AudioBuffer_0_1 */ 211 212 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 213 214 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ 215 216 /* Begin wrapper methods for PPB_Compositor_0_1 */ 217 218 static PP_Bool Pnacl_M37_PPB_Compositor_IsCompositor(PP_Resource resource) { 219 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.real_iface; 220 return iface->IsCompositor(resource); 221 } 222 223 static PP_Resource Pnacl_M37_PPB_Compositor_Create(PP_Instance instance) { 224 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.real_iface; 225 return iface->Create(instance); 226 } 227 228 static PP_Resource Pnacl_M37_PPB_Compositor_AddLayer(PP_Resource compositor) { 229 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.real_iface; 230 return iface->AddLayer(compositor); 231 } 232 233 static int32_t Pnacl_M37_PPB_Compositor_CommitLayers(PP_Resource compositor, struct PP_CompletionCallback* cc) { 234 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.real_iface; 235 return iface->CommitLayers(compositor, *cc); 236 } 237 238 static int32_t Pnacl_M37_PPB_Compositor_ResetLayers(PP_Resource compositor) { 239 const struct PPB_Compositor_0_1 *iface = Pnacl_WrapperInfo_PPB_Compositor_0_1.real_iface; 240 return iface->ResetLayers(compositor); 241 } 242 243 /* End wrapper methods for PPB_Compositor_0_1 */ 244 245 /* Begin wrapper methods for PPB_CompositorLayer_0_1 */ 246 247 static PP_Bool Pnacl_M37_PPB_CompositorLayer_IsCompositorLayer(PP_Resource resource) { 248 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 249 return iface->IsCompositorLayer(resource); 250 } 251 252 static int32_t Pnacl_M37_PPB_CompositorLayer_SetColor(PP_Resource layer, float red, float green, float blue, float alpha, const struct PP_Size* size) { 253 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 254 return iface->SetColor(layer, red, green, blue, alpha, size); 255 } 256 257 static int32_t Pnacl_M37_PPB_CompositorLayer_SetTexture(PP_Resource layer, PP_Resource context, uint32_t texture, const struct PP_Size* size, struct PP_CompletionCallback* cc) { 258 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 259 return iface->SetTexture(layer, context, texture, size, *cc); 260 } 261 262 static int32_t Pnacl_M37_PPB_CompositorLayer_SetImage(PP_Resource layer, PP_Resource image_data, const struct PP_Size* size, struct PP_CompletionCallback* cc) { 263 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 264 return iface->SetImage(layer, image_data, size, *cc); 265 } 266 267 static int32_t Pnacl_M37_PPB_CompositorLayer_SetClipRect(PP_Resource layer, const struct PP_Rect* rect) { 268 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 269 return iface->SetClipRect(layer, rect); 270 } 271 272 static int32_t Pnacl_M37_PPB_CompositorLayer_SetTransform(PP_Resource layer, const float matrix[16]) { 273 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 274 return iface->SetTransform(layer, matrix); 275 } 276 277 static int32_t Pnacl_M37_PPB_CompositorLayer_SetOpacity(PP_Resource layer, float opacity) { 278 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 279 return iface->SetOpacity(layer, opacity); 280 } 281 282 static int32_t Pnacl_M37_PPB_CompositorLayer_SetBlendMode(PP_Resource layer, PP_BlendMode mode) { 283 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 284 return iface->SetBlendMode(layer, mode); 285 } 286 287 static int32_t Pnacl_M37_PPB_CompositorLayer_SetSourceRect(PP_Resource layer, const struct PP_FloatRect* rect) { 288 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 289 return iface->SetSourceRect(layer, rect); 290 } 291 292 static int32_t Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha(PP_Resource layer, PP_Bool premult) { 293 const struct PPB_CompositorLayer_0_1 *iface = Pnacl_WrapperInfo_PPB_CompositorLayer_0_1.real_iface; 294 return iface->SetPremultipliedAlpha(layer, premult); 295 } 296 297 /* End wrapper methods for PPB_CompositorLayer_0_1 */ 298 299 /* Begin wrapper methods for PPB_Console_1_0 */ 300 301 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, struct PP_Var* value) { 302 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_iface; 303 iface->Log(instance, level, *value); 304 } 305 306 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLevel level, struct PP_Var* source, struct PP_Var* value) { 307 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_iface; 308 iface->LogWithSource(instance, level, *source, *value); 309 } 310 311 /* End wrapper methods for PPB_Console_1_0 */ 312 313 /* Begin wrapper methods for PPB_Core_1_0 */ 314 315 static void Pnacl_M14_PPB_Core_AddRefResource(PP_Resource resource) { 316 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 317 iface->AddRefResource(resource); 318 } 319 320 static void Pnacl_M14_PPB_Core_ReleaseResource(PP_Resource resource) { 321 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 322 iface->ReleaseResource(resource); 323 } 324 325 static PP_Time Pnacl_M14_PPB_Core_GetTime(void) { 326 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 327 return iface->GetTime(); 328 } 329 330 static PP_TimeTicks Pnacl_M14_PPB_Core_GetTimeTicks(void) { 331 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 332 return iface->GetTimeTicks(); 333 } 334 335 static void Pnacl_M14_PPB_Core_CallOnMainThread(int32_t delay_in_milliseconds, struct PP_CompletionCallback* callback, int32_t result) { 336 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 337 iface->CallOnMainThread(delay_in_milliseconds, *callback, result); 338 } 339 340 static PP_Bool Pnacl_M14_PPB_Core_IsMainThread(void) { 341 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 342 return iface->IsMainThread(); 343 } 344 345 /* End wrapper methods for PPB_Core_1_0 */ 346 347 /* Begin wrapper methods for PPB_FileIO_1_0 */ 348 349 static PP_Resource Pnacl_M14_PPB_FileIO_Create(PP_Instance instance) { 350 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 351 return iface->Create(instance); 352 } 353 354 static PP_Bool Pnacl_M14_PPB_FileIO_IsFileIO(PP_Resource resource) { 355 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 356 return iface->IsFileIO(resource); 357 } 358 359 static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { 360 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 361 return iface->Open(file_io, file_ref, open_flags, *callback); 362 } 363 364 static int32_t Pnacl_M14_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 365 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 366 return iface->Query(file_io, info, *callback); 367 } 368 369 static int32_t Pnacl_M14_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 370 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 371 return iface->Touch(file_io, last_access_time, last_modified_time, *callback); 372 } 373 374 static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 375 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 376 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); 377 } 378 379 static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 380 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 381 return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); 382 } 383 384 static int32_t Pnacl_M14_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) { 385 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 386 return iface->SetLength(file_io, length, *callback); 387 } 388 389 static int32_t Pnacl_M14_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) { 390 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 391 return iface->Flush(file_io, *callback); 392 } 393 394 static void Pnacl_M14_PPB_FileIO_Close(PP_Resource file_io) { 395 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 396 iface->Close(file_io); 397 } 398 399 /* End wrapper methods for PPB_FileIO_1_0 */ 400 401 /* Begin wrapper methods for PPB_FileIO_1_1 */ 402 403 static PP_Resource Pnacl_M25_PPB_FileIO_Create(PP_Instance instance) { 404 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 405 return iface->Create(instance); 406 } 407 408 static PP_Bool Pnacl_M25_PPB_FileIO_IsFileIO(PP_Resource resource) { 409 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 410 return iface->IsFileIO(resource); 411 } 412 413 static int32_t Pnacl_M25_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { 414 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 415 return iface->Open(file_io, file_ref, open_flags, *callback); 416 } 417 418 static int32_t Pnacl_M25_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 419 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 420 return iface->Query(file_io, info, *callback); 421 } 422 423 static int32_t Pnacl_M25_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 424 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 425 return iface->Touch(file_io, last_access_time, last_modified_time, *callback); 426 } 427 428 static int32_t Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 429 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 430 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); 431 } 432 433 static int32_t Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 434 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 435 return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); 436 } 437 438 static int32_t Pnacl_M25_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) { 439 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 440 return iface->SetLength(file_io, length, *callback); 441 } 442 443 static int32_t Pnacl_M25_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) { 444 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 445 return iface->Flush(file_io, *callback); 446 } 447 448 static void Pnacl_M25_PPB_FileIO_Close(PP_Resource file_io) { 449 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 450 iface->Close(file_io); 451 } 452 453 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 454 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 455 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback); 456 } 457 458 /* End wrapper methods for PPB_FileIO_1_1 */ 459 460 /* Begin wrapper methods for PPB_FileMapping_0_1 */ 461 462 static int32_t Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback* callback) { 463 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_1.real_iface; 464 return iface->Map(instance, file_io, length, map_protection, map_flags, offset, address, *callback); 465 } 466 467 static int32_t Pnacl_M34_PPB_FileMapping_Unmap(PP_Instance instance, const void* address, int64_t length, struct PP_CompletionCallback* callback) { 468 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_1.real_iface; 469 return iface->Unmap(instance, address, length, *callback); 470 } 471 472 static int64_t Pnacl_M34_PPB_FileMapping_GetMapPageSize(PP_Instance instance) { 473 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_1.real_iface; 474 return iface->GetMapPageSize(instance); 475 } 476 477 /* End wrapper methods for PPB_FileMapping_0_1 */ 478 479 /* Begin wrapper methods for PPB_FileRef_1_0 */ 480 481 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const char* path) { 482 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 483 return iface->Create(file_system, path); 484 } 485 486 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) { 487 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 488 return iface->IsFileRef(resource); 489 } 490 491 static PP_FileSystemType Pnacl_M14_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) { 492 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 493 return iface->GetFileSystemType(file_ref); 494 } 495 496 static void Pnacl_M14_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Resource file_ref) { 497 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 498 *_struct_result = iface->GetName(file_ref); 499 } 500 501 static void Pnacl_M14_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Resource file_ref) { 502 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 503 *_struct_result = iface->GetPath(file_ref); 504 } 505 506 static PP_Resource Pnacl_M14_PPB_FileRef_GetParent(PP_Resource file_ref) { 507 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 508 return iface->GetParent(file_ref); 509 } 510 511 static int32_t Pnacl_M14_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback* callback) { 512 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 513 return iface->MakeDirectory(directory_ref, make_ancestors, *callback); 514 } 515 516 static int32_t Pnacl_M14_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 517 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 518 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback); 519 } 520 521 static int32_t Pnacl_M14_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionCallback* callback) { 522 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 523 return iface->Delete(file_ref, *callback); 524 } 525 526 static int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback* callback) { 527 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 528 return iface->Rename(file_ref, new_file_ref, *callback); 529 } 530 531 /* End wrapper methods for PPB_FileRef_1_0 */ 532 533 /* Begin wrapper methods for PPB_FileRef_1_1 */ 534 535 static PP_Resource Pnacl_M28_PPB_FileRef_Create(PP_Resource file_system, const char* path) { 536 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 537 return iface->Create(file_system, path); 538 } 539 540 static PP_Bool Pnacl_M28_PPB_FileRef_IsFileRef(PP_Resource resource) { 541 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 542 return iface->IsFileRef(resource); 543 } 544 545 static PP_FileSystemType Pnacl_M28_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) { 546 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 547 return iface->GetFileSystemType(file_ref); 548 } 549 550 static void Pnacl_M28_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Resource file_ref) { 551 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 552 *_struct_result = iface->GetName(file_ref); 553 } 554 555 static void Pnacl_M28_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Resource file_ref) { 556 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 557 *_struct_result = iface->GetPath(file_ref); 558 } 559 560 static PP_Resource Pnacl_M28_PPB_FileRef_GetParent(PP_Resource file_ref) { 561 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 562 return iface->GetParent(file_ref); 563 } 564 565 static int32_t Pnacl_M28_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback* callback) { 566 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 567 return iface->MakeDirectory(directory_ref, make_ancestors, *callback); 568 } 569 570 static int32_t Pnacl_M28_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 571 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 572 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback); 573 } 574 575 static int32_t Pnacl_M28_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionCallback* callback) { 576 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 577 return iface->Delete(file_ref, *callback); 578 } 579 580 static int32_t Pnacl_M28_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback* callback) { 581 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 582 return iface->Rename(file_ref, new_file_ref, *callback); 583 } 584 585 static int32_t Pnacl_M28_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 586 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 587 return iface->Query(file_ref, info, *callback); 588 } 589 590 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 591 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 592 return iface->ReadDirectoryEntries(file_ref, *output, *callback); 593 } 594 595 /* End wrapper methods for PPB_FileRef_1_1 */ 596 597 /* Begin wrapper methods for PPB_FileRef_1_2 */ 598 599 static PP_Resource Pnacl_M34_PPB_FileRef_Create(PP_Resource file_system, const char* path) { 600 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 601 return iface->Create(file_system, path); 602 } 603 604 static PP_Bool Pnacl_M34_PPB_FileRef_IsFileRef(PP_Resource resource) { 605 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 606 return iface->IsFileRef(resource); 607 } 608 609 static PP_FileSystemType Pnacl_M34_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) { 610 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 611 return iface->GetFileSystemType(file_ref); 612 } 613 614 static void Pnacl_M34_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Resource file_ref) { 615 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 616 *_struct_result = iface->GetName(file_ref); 617 } 618 619 static void Pnacl_M34_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Resource file_ref) { 620 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 621 *_struct_result = iface->GetPath(file_ref); 622 } 623 624 static PP_Resource Pnacl_M34_PPB_FileRef_GetParent(PP_Resource file_ref) { 625 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 626 return iface->GetParent(file_ref); 627 } 628 629 static int32_t Pnacl_M34_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, int32_t make_directory_flags, struct PP_CompletionCallback* callback) { 630 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 631 return iface->MakeDirectory(directory_ref, make_directory_flags, *callback); 632 } 633 634 static int32_t Pnacl_M34_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 635 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 636 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback); 637 } 638 639 static int32_t Pnacl_M34_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionCallback* callback) { 640 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 641 return iface->Delete(file_ref, *callback); 642 } 643 644 static int32_t Pnacl_M34_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback* callback) { 645 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 646 return iface->Rename(file_ref, new_file_ref, *callback); 647 } 648 649 static int32_t Pnacl_M34_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 650 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 651 return iface->Query(file_ref, info, *callback); 652 } 653 654 static int32_t Pnacl_M34_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 655 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_iface; 656 return iface->ReadDirectoryEntries(file_ref, *output, *callback); 657 } 658 659 /* End wrapper methods for PPB_FileRef_1_2 */ 660 661 /* Begin wrapper methods for PPB_FileSystem_1_0 */ 662 663 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemType type) { 664 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 665 return iface->Create(instance, type); 666 } 667 668 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { 669 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 670 return iface->IsFileSystem(resource); 671 } 672 673 static int32_t Pnacl_M14_PPB_FileSystem_Open(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback* callback) { 674 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 675 return iface->Open(file_system, expected_size, *callback); 676 } 677 678 static PP_FileSystemType Pnacl_M14_PPB_FileSystem_GetType(PP_Resource file_system) { 679 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 680 return iface->GetType(file_system); 681 } 682 683 /* End wrapper methods for PPB_FileSystem_1_0 */ 684 685 /* Not generating wrapper methods for PPB_Fullscreen_1_0 */ 686 687 /* Not generating wrapper methods for PPB_Gamepad_1_0 */ 688 689 /* Begin wrapper methods for PPB_Graphics2D_1_0 */ 690 691 static PP_Resource Pnacl_M14_PPB_Graphics2D_Create(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque) { 692 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 693 return iface->Create(instance, size, is_always_opaque); 694 } 695 696 static PP_Bool Pnacl_M14_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { 697 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 698 return iface->IsGraphics2D(resource); 699 } 700 701 static PP_Bool Pnacl_M14_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque) { 702 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 703 return iface->Describe(graphics_2d, size, is_always_opaque); 704 } 705 706 static void Pnacl_M14_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) { 707 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 708 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); 709 } 710 711 static void Pnacl_M14_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount) { 712 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 713 iface->Scroll(graphics_2d, clip_rect, amount); 714 } 715 716 static void Pnacl_M14_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP_Resource image_data) { 717 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 718 iface->ReplaceContents(graphics_2d, image_data); 719 } 720 721 static int32_t Pnacl_M14_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_CompletionCallback* callback) { 722 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 723 return iface->Flush(graphics_2d, *callback); 724 } 725 726 /* End wrapper methods for PPB_Graphics2D_1_0 */ 727 728 /* Begin wrapper methods for PPB_Graphics2D_1_1 */ 729 730 static PP_Resource Pnacl_M27_PPB_Graphics2D_Create(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque) { 731 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 732 return iface->Create(instance, size, is_always_opaque); 733 } 734 735 static PP_Bool Pnacl_M27_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { 736 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 737 return iface->IsGraphics2D(resource); 738 } 739 740 static PP_Bool Pnacl_M27_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque) { 741 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 742 return iface->Describe(graphics_2d, size, is_always_opaque); 743 } 744 745 static void Pnacl_M27_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) { 746 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 747 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); 748 } 749 750 static void Pnacl_M27_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount) { 751 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 752 iface->Scroll(graphics_2d, clip_rect, amount); 753 } 754 755 static void Pnacl_M27_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP_Resource image_data) { 756 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 757 iface->ReplaceContents(graphics_2d, image_data); 758 } 759 760 static int32_t Pnacl_M27_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_CompletionCallback* callback) { 761 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 762 return iface->Flush(graphics_2d, *callback); 763 } 764 765 static PP_Bool Pnacl_M27_PPB_Graphics2D_SetScale(PP_Resource resource, float scale) { 766 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 767 return iface->SetScale(resource, scale); 768 } 769 770 static float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource) { 771 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 772 return iface->GetScale(resource); 773 } 774 775 /* End wrapper methods for PPB_Graphics2D_1_1 */ 776 777 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ 778 779 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance, int32_t attribute, int32_t* value) { 780 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 781 return iface->GetAttribMaxValue(instance, attribute, value); 782 } 783 784 static PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Resource share_context, const int32_t attrib_list[]) { 785 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 786 return iface->Create(instance, share_context, attrib_list); 787 } 788 789 static PP_Bool Pnacl_M15_PPB_Graphics3D_IsGraphics3D(PP_Resource resource) { 790 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 791 return iface->IsGraphics3D(resource); 792 } 793 794 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribs(PP_Resource context, int32_t attrib_list[]) { 795 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 796 return iface->GetAttribs(context, attrib_list); 797 } 798 799 static int32_t Pnacl_M15_PPB_Graphics3D_SetAttribs(PP_Resource context, const int32_t attrib_list[]) { 800 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 801 return iface->SetAttribs(context, attrib_list); 802 } 803 804 static int32_t Pnacl_M15_PPB_Graphics3D_GetError(PP_Resource context) { 805 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 806 return iface->GetError(context); 807 } 808 809 static int32_t Pnacl_M15_PPB_Graphics3D_ResizeBuffers(PP_Resource context, int32_t width, int32_t height) { 810 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 811 return iface->ResizeBuffers(context, width, height); 812 } 813 814 static int32_t Pnacl_M15_PPB_Graphics3D_SwapBuffers(PP_Resource context, struct PP_CompletionCallback* callback) { 815 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 816 return iface->SwapBuffers(context, *callback); 817 } 818 819 /* End wrapper methods for PPB_Graphics3D_1_0 */ 820 821 /* Begin wrapper methods for PPB_HostResolver_1_0 */ 822 823 static PP_Resource Pnacl_M29_PPB_HostResolver_Create(PP_Instance instance) { 824 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 825 return iface->Create(instance); 826 } 827 828 static PP_Bool Pnacl_M29_PPB_HostResolver_IsHostResolver(PP_Resource resource) { 829 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 830 return iface->IsHostResolver(resource); 831 } 832 833 static int32_t Pnacl_M29_PPB_HostResolver_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback* callback) { 834 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 835 return iface->Resolve(host_resolver, host, port, hint, *callback); 836 } 837 838 static void Pnacl_M29_PPB_HostResolver_GetCanonicalName(struct PP_Var* _struct_result, PP_Resource host_resolver) { 839 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 840 *_struct_result = iface->GetCanonicalName(host_resolver); 841 } 842 843 static uint32_t Pnacl_M29_PPB_HostResolver_GetNetAddressCount(PP_Resource host_resolver) { 844 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 845 return iface->GetNetAddressCount(host_resolver); 846 } 847 848 static PP_Resource Pnacl_M29_PPB_HostResolver_GetNetAddress(PP_Resource host_resolver, uint32_t index) { 849 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 850 return iface->GetNetAddress(host_resolver, index); 851 } 852 853 /* End wrapper methods for PPB_HostResolver_1_0 */ 854 855 /* Not generating wrapper methods for PPB_ImageData_1_0 */ 856 857 /* Not generating wrapper methods for PPB_InputEvent_1_0 */ 858 859 /* Begin wrapper methods for PPB_MouseInputEvent_1_0 */ 860 861 static PP_Resource Pnacl_M13_PPB_MouseInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count) { 862 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 863 return iface->Create(instance, type, time_stamp, modifiers, mouse_button, mouse_position, click_count); 864 } 865 866 static PP_Bool Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource) { 867 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 868 return iface->IsMouseInputEvent(resource); 869 } 870 871 static PP_InputEvent_MouseButton Pnacl_M13_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event) { 872 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 873 return iface->GetButton(mouse_event); 874 } 875 876 static void Pnacl_M13_PPB_MouseInputEvent_GetPosition(struct PP_Point* _struct_result, PP_Resource mouse_event) { 877 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 878 *_struct_result = iface->GetPosition(mouse_event); 879 } 880 881 static int32_t Pnacl_M13_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event) { 882 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 883 return iface->GetClickCount(mouse_event); 884 } 885 886 /* End wrapper methods for PPB_MouseInputEvent_1_0 */ 887 888 /* Begin wrapper methods for PPB_MouseInputEvent_1_1 */ 889 890 static PP_Resource Pnacl_M14_PPB_MouseInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count, const struct PP_Point* mouse_movement) { 891 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 892 return iface->Create(instance, type, time_stamp, modifiers, mouse_button, mouse_position, click_count, mouse_movement); 893 } 894 895 static PP_Bool Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource) { 896 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 897 return iface->IsMouseInputEvent(resource); 898 } 899 900 static PP_InputEvent_MouseButton Pnacl_M14_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event) { 901 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 902 return iface->GetButton(mouse_event); 903 } 904 905 static void Pnacl_M14_PPB_MouseInputEvent_GetPosition(struct PP_Point* _struct_result, PP_Resource mouse_event) { 906 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 907 *_struct_result = iface->GetPosition(mouse_event); 908 } 909 910 static int32_t Pnacl_M14_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event) { 911 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 912 return iface->GetClickCount(mouse_event); 913 } 914 915 static void Pnacl_M14_PPB_MouseInputEvent_GetMovement(struct PP_Point* _struct_result, PP_Resource mouse_event) { 916 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 917 *_struct_result = iface->GetMovement(mouse_event); 918 } 919 920 /* End wrapper methods for PPB_MouseInputEvent_1_1 */ 921 922 /* Begin wrapper methods for PPB_WheelInputEvent_1_0 */ 923 924 static PP_Resource Pnacl_M13_PPB_WheelInputEvent_Create(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint* wheel_delta, const struct PP_FloatPoint* wheel_ticks, PP_Bool scroll_by_page) { 925 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 926 return iface->Create(instance, time_stamp, modifiers, wheel_delta, wheel_ticks, scroll_by_page); 927 } 928 929 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent(PP_Resource resource) { 930 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 931 return iface->IsWheelInputEvent(resource); 932 } 933 934 static void Pnacl_M13_PPB_WheelInputEvent_GetDelta(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { 935 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 936 *_struct_result = iface->GetDelta(wheel_event); 937 } 938 939 static void Pnacl_M13_PPB_WheelInputEvent_GetTicks(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { 940 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 941 *_struct_result = iface->GetTicks(wheel_event); 942 } 943 944 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage(PP_Resource wheel_event) { 945 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 946 return iface->GetScrollByPage(wheel_event); 947 } 948 949 /* End wrapper methods for PPB_WheelInputEvent_1_0 */ 950 951 /* Begin wrapper methods for PPB_KeyboardInputEvent_1_0 */ 952 953 static PP_Resource Pnacl_M13_PPB_KeyboardInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var* character_text) { 954 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 955 return iface->Create(instance, type, time_stamp, modifiers, key_code, *character_text); 956 } 957 958 static PP_Bool Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent(PP_Resource resource) { 959 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 960 return iface->IsKeyboardInputEvent(resource); 961 } 962 963 static uint32_t Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode(PP_Resource key_event) { 964 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 965 return iface->GetKeyCode(key_event); 966 } 967 968 static void Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText(struct PP_Var* _struct_result, PP_Resource character_event) { 969 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 970 *_struct_result = iface->GetCharacterText(character_event); 971 } 972 973 /* End wrapper methods for PPB_KeyboardInputEvent_1_0 */ 974 975 /* Begin wrapper methods for PPB_KeyboardInputEvent_1_2 */ 976 977 static PP_Resource Pnacl_M34_PPB_KeyboardInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var* character_text, struct PP_Var* code) { 978 const struct PPB_KeyboardInputEvent_1_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2.real_iface; 979 return iface->Create(instance, type, time_stamp, modifiers, key_code, *character_text, *code); 980 } 981 982 static PP_Bool Pnacl_M34_PPB_KeyboardInputEvent_IsKeyboardInputEvent(PP_Resource resource) { 983 const struct PPB_KeyboardInputEvent_1_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2.real_iface; 984 return iface->IsKeyboardInputEvent(resource); 985 } 986 987 static uint32_t Pnacl_M34_PPB_KeyboardInputEvent_GetKeyCode(PP_Resource key_event) { 988 const struct PPB_KeyboardInputEvent_1_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2.real_iface; 989 return iface->GetKeyCode(key_event); 990 } 991 992 static void Pnacl_M34_PPB_KeyboardInputEvent_GetCharacterText(struct PP_Var* _struct_result, PP_Resource character_event) { 993 const struct PPB_KeyboardInputEvent_1_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2.real_iface; 994 *_struct_result = iface->GetCharacterText(character_event); 995 } 996 997 static void Pnacl_M34_PPB_KeyboardInputEvent_GetCode(struct PP_Var* _struct_result, PP_Resource key_event) { 998 const struct PPB_KeyboardInputEvent_1_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2.real_iface; 999 *_struct_result = iface->GetCode(key_event); 1000 } 1001 1002 /* End wrapper methods for PPB_KeyboardInputEvent_1_2 */ 1003 1004 /* Begin wrapper methods for PPB_TouchInputEvent_1_0 */ 1005 1006 static PP_Resource Pnacl_M13_PPB_TouchInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers) { 1007 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1008 return iface->Create(instance, type, time_stamp, modifiers); 1009 } 1010 1011 static void Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint(PP_Resource touch_event, PP_TouchListType list, const struct PP_TouchPoint* point) { 1012 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1013 iface->AddTouchPoint(touch_event, list, point); 1014 } 1015 1016 static PP_Bool Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent(PP_Resource resource) { 1017 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1018 return iface->IsTouchInputEvent(resource); 1019 } 1020 1021 static uint32_t Pnacl_M13_PPB_TouchInputEvent_GetTouchCount(PP_Resource resource, PP_TouchListType list) { 1022 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1023 return iface->GetTouchCount(resource, list); 1024 } 1025 1026 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex(struct PP_TouchPoint* _struct_result, PP_Resource resource, PP_TouchListType list, uint32_t index) { 1027 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1028 *_struct_result = iface->GetTouchByIndex(resource, list, index); 1029 } 1030 1031 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchById(struct PP_TouchPoint* _struct_result, PP_Resource resource, PP_TouchListType list, uint32_t touch_id) { 1032 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 1033 *_struct_result = iface->GetTouchById(resource, list, touch_id); 1034 } 1035 1036 /* End wrapper methods for PPB_TouchInputEvent_1_0 */ 1037 1038 /* Begin wrapper methods for PPB_IMEInputEvent_1_0 */ 1039 1040 static PP_Resource Pnacl_M13_PPB_IMEInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { 1041 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1042 return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); 1043 } 1044 1045 static PP_Bool Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent(PP_Resource resource) { 1046 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1047 return iface->IsIMEInputEvent(resource); 1048 } 1049 1050 static void Pnacl_M13_PPB_IMEInputEvent_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 1051 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1052 *_struct_result = iface->GetText(ime_event); 1053 } 1054 1055 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber(PP_Resource ime_event) { 1056 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1057 return iface->GetSegmentNumber(ime_event); 1058 } 1059 1060 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 1061 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1062 return iface->GetSegmentOffset(ime_event, index); 1063 } 1064 1065 static int32_t Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment(PP_Resource ime_event) { 1066 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1067 return iface->GetTargetSegment(ime_event); 1068 } 1069 1070 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 1071 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 1072 iface->GetSelection(ime_event, start, end); 1073 } 1074 1075 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ 1076 1077 /* Not generating wrapper methods for PPB_Instance_1_0 */ 1078 1079 /* Begin wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ 1080 1081 static PP_Bool Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack(PP_Resource resource) { 1082 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1083 return iface->IsMediaStreamAudioTrack(resource); 1084 } 1085 1086 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_Configure(PP_Resource audio_track, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { 1087 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1088 return iface->Configure(audio_track, attrib_list, *callback); 1089 } 1090 1091 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib(PP_Resource audio_track, PP_MediaStreamAudioTrack_Attrib attrib, int32_t* value) { 1092 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1093 return iface->GetAttrib(audio_track, attrib, value); 1094 } 1095 1096 static void Pnacl_M35_PPB_MediaStreamAudioTrack_GetId(struct PP_Var* _struct_result, PP_Resource audio_track) { 1097 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1098 *_struct_result = iface->GetId(audio_track); 1099 } 1100 1101 static PP_Bool Pnacl_M35_PPB_MediaStreamAudioTrack_HasEnded(PP_Resource audio_track) { 1102 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1103 return iface->HasEnded(audio_track); 1104 } 1105 1106 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer(PP_Resource audio_track, PP_Resource* buffer, struct PP_CompletionCallback* callback) { 1107 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1108 return iface->GetBuffer(audio_track, buffer, *callback); 1109 } 1110 1111 static int32_t Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer(PP_Resource audio_track, PP_Resource buffer) { 1112 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1113 return iface->RecycleBuffer(audio_track, buffer); 1114 } 1115 1116 static void Pnacl_M35_PPB_MediaStreamAudioTrack_Close(PP_Resource audio_track) { 1117 const struct PPB_MediaStreamAudioTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1.real_iface; 1118 iface->Close(audio_track); 1119 } 1120 1121 /* End wrapper methods for PPB_MediaStreamAudioTrack_0_1 */ 1122 1123 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */ 1124 1125 static PP_Bool Pnacl_M35_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Resource resource) { 1126 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1127 return iface->IsMediaStreamVideoTrack(resource); 1128 } 1129 1130 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_track, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { 1131 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1132 return iface->Configure(video_track, attrib_list, *callback); 1133 } 1134 1135 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_GetAttrib(PP_Resource video_track, PP_MediaStreamVideoTrack_Attrib attrib, int32_t* value) { 1136 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1137 return iface->GetAttrib(video_track, attrib, value); 1138 } 1139 1140 static void Pnacl_M35_PPB_MediaStreamVideoTrack_GetId(struct PP_Var* _struct_result, PP_Resource video_track) { 1141 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1142 *_struct_result = iface->GetId(video_track); 1143 } 1144 1145 static PP_Bool Pnacl_M35_PPB_MediaStreamVideoTrack_HasEnded(PP_Resource video_track) { 1146 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1147 return iface->HasEnded(video_track); 1148 } 1149 1150 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_GetFrame(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback* callback) { 1151 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1152 return iface->GetFrame(video_track, frame, *callback); 1153 } 1154 1155 static int32_t Pnacl_M35_PPB_MediaStreamVideoTrack_RecycleFrame(PP_Resource video_track, PP_Resource frame) { 1156 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1157 return iface->RecycleFrame(video_track, frame); 1158 } 1159 1160 static void Pnacl_M35_PPB_MediaStreamVideoTrack_Close(PP_Resource video_track) { 1161 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1.real_iface; 1162 iface->Close(video_track); 1163 } 1164 1165 /* End wrapper methods for PPB_MediaStreamVideoTrack_0_1 */ 1166 1167 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_1_0 */ 1168 1169 static PP_Resource Pnacl_M36_PPB_MediaStreamVideoTrack_Create(PP_Instance instance) { 1170 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1171 return iface->Create(instance); 1172 } 1173 1174 static PP_Bool Pnacl_M36_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Resource resource) { 1175 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1176 return iface->IsMediaStreamVideoTrack(resource); 1177 } 1178 1179 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_track, const int32_t attrib_list[], struct PP_CompletionCallback* callback) { 1180 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1181 return iface->Configure(video_track, attrib_list, *callback); 1182 } 1183 1184 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetAttrib(PP_Resource video_track, PP_MediaStreamVideoTrack_Attrib attrib, int32_t* value) { 1185 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1186 return iface->GetAttrib(video_track, attrib, value); 1187 } 1188 1189 static void Pnacl_M36_PPB_MediaStreamVideoTrack_GetId(struct PP_Var* _struct_result, PP_Resource video_track) { 1190 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1191 *_struct_result = iface->GetId(video_track); 1192 } 1193 1194 static PP_Bool Pnacl_M36_PPB_MediaStreamVideoTrack_HasEnded(PP_Resource video_track) { 1195 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1196 return iface->HasEnded(video_track); 1197 } 1198 1199 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetFrame(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback* callback) { 1200 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1201 return iface->GetFrame(video_track, frame, *callback); 1202 } 1203 1204 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_RecycleFrame(PP_Resource video_track, PP_Resource frame) { 1205 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1206 return iface->RecycleFrame(video_track, frame); 1207 } 1208 1209 static void Pnacl_M36_PPB_MediaStreamVideoTrack_Close(PP_Resource video_track) { 1210 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1211 iface->Close(video_track); 1212 } 1213 1214 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_GetEmptyFrame(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback* callback) { 1215 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1216 return iface->GetEmptyFrame(video_track, frame, *callback); 1217 } 1218 1219 static int32_t Pnacl_M36_PPB_MediaStreamVideoTrack_PutFrame(PP_Resource video_track, PP_Resource frame) { 1220 const struct PPB_MediaStreamVideoTrack_1_0 *iface = Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0.real_iface; 1221 return iface->PutFrame(video_track, frame); 1222 } 1223 1224 /* End wrapper methods for PPB_MediaStreamVideoTrack_1_0 */ 1225 1226 /* Begin wrapper methods for PPB_MessageLoop_1_0 */ 1227 1228 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) { 1229 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1230 return iface->Create(instance); 1231 } 1232 1233 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) { 1234 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1235 return iface->GetForMainThread(); 1236 } 1237 1238 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetCurrent(void) { 1239 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1240 return iface->GetCurrent(); 1241 } 1242 1243 static int32_t Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread(PP_Resource message_loop) { 1244 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1245 return iface->AttachToCurrentThread(message_loop); 1246 } 1247 1248 static int32_t Pnacl_M25_PPB_MessageLoop_Run(PP_Resource message_loop) { 1249 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1250 return iface->Run(message_loop); 1251 } 1252 1253 static int32_t Pnacl_M25_PPB_MessageLoop_PostWork(PP_Resource message_loop, struct PP_CompletionCallback* callback, int64_t delay_ms) { 1254 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1255 return iface->PostWork(message_loop, *callback, delay_ms); 1256 } 1257 1258 static int32_t Pnacl_M25_PPB_MessageLoop_PostQuit(PP_Resource message_loop, PP_Bool should_destroy) { 1259 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 1260 return iface->PostQuit(message_loop, should_destroy); 1261 } 1262 1263 /* End wrapper methods for PPB_MessageLoop_1_0 */ 1264 1265 /* Begin wrapper methods for PPB_Messaging_1_0 */ 1266 1267 static void Pnacl_M14_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_Var* message) { 1268 const struct PPB_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_0.real_iface; 1269 iface->PostMessage(instance, *message); 1270 } 1271 1272 /* End wrapper methods for PPB_Messaging_1_0 */ 1273 1274 /* Begin wrapper methods for PPB_Messaging_1_1 */ 1275 1276 static void Pnacl_M37_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_Var* message) { 1277 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.real_iface; 1278 iface->PostMessage(instance, *message); 1279 } 1280 1281 static int32_t Pnacl_M37_PPB_Messaging_RegisterMessageHandler(PP_Instance instance, void* user_data, const struct PPP_MessageHandler_0_1* handler, PP_Resource message_loop) { 1282 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.real_iface; 1283 return iface->RegisterMessageHandler(instance, user_data, handler, message_loop); 1284 } 1285 1286 static void Pnacl_M37_PPB_Messaging_UnregisterMessageHandler(PP_Instance instance) { 1287 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.real_iface; 1288 iface->UnregisterMessageHandler(instance); 1289 } 1290 1291 /* End wrapper methods for PPB_Messaging_1_1 */ 1292 1293 /* Not generating wrapper methods for PPB_MouseCursor_1_0 */ 1294 1295 /* Begin wrapper methods for PPB_MouseLock_1_0 */ 1296 1297 static int32_t Pnacl_M16_PPB_MouseLock_LockMouse(PP_Instance instance, struct PP_CompletionCallback* callback) { 1298 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.real_iface; 1299 return iface->LockMouse(instance, *callback); 1300 } 1301 1302 static void Pnacl_M16_PPB_MouseLock_UnlockMouse(PP_Instance instance) { 1303 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.real_iface; 1304 iface->UnlockMouse(instance); 1305 } 1306 1307 /* End wrapper methods for PPB_MouseLock_1_0 */ 1308 1309 /* Begin wrapper methods for PPB_NetAddress_1_0 */ 1310 1311 static PP_Resource Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr) { 1312 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1313 return iface->CreateFromIPv4Address(instance, ipv4_addr); 1314 } 1315 1316 static PP_Resource Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr) { 1317 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1318 return iface->CreateFromIPv6Address(instance, ipv6_addr); 1319 } 1320 1321 static PP_Bool Pnacl_M29_PPB_NetAddress_IsNetAddress(PP_Resource resource) { 1322 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1323 return iface->IsNetAddress(resource); 1324 } 1325 1326 static PP_NetAddress_Family Pnacl_M29_PPB_NetAddress_GetFamily(PP_Resource addr) { 1327 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1328 return iface->GetFamily(addr); 1329 } 1330 1331 static void Pnacl_M29_PPB_NetAddress_DescribeAsString(struct PP_Var* _struct_result, PP_Resource addr, PP_Bool include_port) { 1332 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1333 *_struct_result = iface->DescribeAsString(addr, include_port); 1334 } 1335 1336 static PP_Bool Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr) { 1337 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1338 return iface->DescribeAsIPv4Address(addr, ipv4_addr); 1339 } 1340 1341 static PP_Bool Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr) { 1342 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1343 return iface->DescribeAsIPv6Address(addr, ipv6_addr); 1344 } 1345 1346 /* End wrapper methods for PPB_NetAddress_1_0 */ 1347 1348 /* Begin wrapper methods for PPB_NetworkList_1_0 */ 1349 1350 static PP_Bool Pnacl_M31_PPB_NetworkList_IsNetworkList(PP_Resource resource) { 1351 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1352 return iface->IsNetworkList(resource); 1353 } 1354 1355 static uint32_t Pnacl_M31_PPB_NetworkList_GetCount(PP_Resource resource) { 1356 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1357 return iface->GetCount(resource); 1358 } 1359 1360 static void Pnacl_M31_PPB_NetworkList_GetName(struct PP_Var* _struct_result, PP_Resource resource, uint32_t index) { 1361 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1362 *_struct_result = iface->GetName(resource, index); 1363 } 1364 1365 static PP_NetworkList_Type Pnacl_M31_PPB_NetworkList_GetType(PP_Resource resource, uint32_t index) { 1366 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1367 return iface->GetType(resource, index); 1368 } 1369 1370 static PP_NetworkList_State Pnacl_M31_PPB_NetworkList_GetState(PP_Resource resource, uint32_t index) { 1371 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1372 return iface->GetState(resource, index); 1373 } 1374 1375 static int32_t Pnacl_M31_PPB_NetworkList_GetIpAddresses(PP_Resource resource, uint32_t index, struct PP_ArrayOutput* output) { 1376 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1377 return iface->GetIpAddresses(resource, index, *output); 1378 } 1379 1380 static void Pnacl_M31_PPB_NetworkList_GetDisplayName(struct PP_Var* _struct_result, PP_Resource resource, uint32_t index) { 1381 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1382 *_struct_result = iface->GetDisplayName(resource, index); 1383 } 1384 1385 static uint32_t Pnacl_M31_PPB_NetworkList_GetMTU(PP_Resource resource, uint32_t index) { 1386 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1387 return iface->GetMTU(resource, index); 1388 } 1389 1390 /* End wrapper methods for PPB_NetworkList_1_0 */ 1391 1392 /* Begin wrapper methods for PPB_NetworkMonitor_1_0 */ 1393 1394 static PP_Resource Pnacl_M31_PPB_NetworkMonitor_Create(PP_Instance instance) { 1395 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1396 return iface->Create(instance); 1397 } 1398 1399 static int32_t Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList(PP_Resource network_monitor, PP_Resource* network_list, struct PP_CompletionCallback* callback) { 1400 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1401 return iface->UpdateNetworkList(network_monitor, network_list, *callback); 1402 } 1403 1404 static PP_Bool Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor(PP_Resource resource) { 1405 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1406 return iface->IsNetworkMonitor(resource); 1407 } 1408 1409 /* End wrapper methods for PPB_NetworkMonitor_1_0 */ 1410 1411 /* Begin wrapper methods for PPB_NetworkProxy_1_0 */ 1412 1413 static int32_t Pnacl_M29_PPB_NetworkProxy_GetProxyForURL(PP_Instance instance, struct PP_Var* url, struct PP_Var* proxy_string, struct PP_CompletionCallback* callback) { 1414 const struct PPB_NetworkProxy_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkProxy_1_0.real_iface; 1415 return iface->GetProxyForURL(instance, *url, proxy_string, *callback); 1416 } 1417 1418 /* End wrapper methods for PPB_NetworkProxy_1_0 */ 1419 1420 /* Begin wrapper methods for PPB_TCPSocket_1_0 */ 1421 1422 static PP_Resource Pnacl_M29_PPB_TCPSocket_Create(PP_Instance instance) { 1423 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1424 return iface->Create(instance); 1425 } 1426 1427 static PP_Bool Pnacl_M29_PPB_TCPSocket_IsTCPSocket(PP_Resource resource) { 1428 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1429 return iface->IsTCPSocket(resource); 1430 } 1431 1432 static int32_t Pnacl_M29_PPB_TCPSocket_Connect(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1433 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1434 return iface->Connect(tcp_socket, addr, *callback); 1435 } 1436 1437 static PP_Resource Pnacl_M29_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket) { 1438 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1439 return iface->GetLocalAddress(tcp_socket); 1440 } 1441 1442 static PP_Resource Pnacl_M29_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket) { 1443 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1444 return iface->GetRemoteAddress(tcp_socket); 1445 } 1446 1447 static int32_t Pnacl_M29_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1448 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1449 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 1450 } 1451 1452 static int32_t Pnacl_M29_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 1453 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1454 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 1455 } 1456 1457 static void Pnacl_M29_PPB_TCPSocket_Close(PP_Resource tcp_socket) { 1458 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1459 iface->Close(tcp_socket); 1460 } 1461 1462 static int32_t Pnacl_M29_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1463 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1464 return iface->SetOption(tcp_socket, name, *value, *callback); 1465 } 1466 1467 /* End wrapper methods for PPB_TCPSocket_1_0 */ 1468 1469 /* Begin wrapper methods for PPB_TCPSocket_1_1 */ 1470 1471 static PP_Resource Pnacl_M31_PPB_TCPSocket_Create(PP_Instance instance) { 1472 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1473 return iface->Create(instance); 1474 } 1475 1476 static PP_Bool Pnacl_M31_PPB_TCPSocket_IsTCPSocket(PP_Resource resource) { 1477 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1478 return iface->IsTCPSocket(resource); 1479 } 1480 1481 static int32_t Pnacl_M31_PPB_TCPSocket_Bind(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1482 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1483 return iface->Bind(tcp_socket, addr, *callback); 1484 } 1485 1486 static int32_t Pnacl_M31_PPB_TCPSocket_Connect(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1487 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1488 return iface->Connect(tcp_socket, addr, *callback); 1489 } 1490 1491 static PP_Resource Pnacl_M31_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket) { 1492 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1493 return iface->GetLocalAddress(tcp_socket); 1494 } 1495 1496 static PP_Resource Pnacl_M31_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket) { 1497 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1498 return iface->GetRemoteAddress(tcp_socket); 1499 } 1500 1501 static int32_t Pnacl_M31_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1502 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1503 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 1504 } 1505 1506 static int32_t Pnacl_M31_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 1507 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1508 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 1509 } 1510 1511 static int32_t Pnacl_M31_PPB_TCPSocket_Listen(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback* callback) { 1512 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1513 return iface->Listen(tcp_socket, backlog, *callback); 1514 } 1515 1516 static int32_t Pnacl_M31_PPB_TCPSocket_Accept(PP_Resource tcp_socket, PP_Resource* accepted_tcp_socket, struct PP_CompletionCallback* callback) { 1517 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1518 return iface->Accept(tcp_socket, accepted_tcp_socket, *callback); 1519 } 1520 1521 static void Pnacl_M31_PPB_TCPSocket_Close(PP_Resource tcp_socket) { 1522 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1523 iface->Close(tcp_socket); 1524 } 1525 1526 static int32_t Pnacl_M31_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1527 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1528 return iface->SetOption(tcp_socket, name, *value, *callback); 1529 } 1530 1531 /* End wrapper methods for PPB_TCPSocket_1_1 */ 1532 1533 /* Begin wrapper methods for PPB_TextInputController_1_0 */ 1534 1535 static void Pnacl_M30_PPB_TextInputController_SetTextInputType(PP_Instance instance, PP_TextInput_Type type) { 1536 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1537 iface->SetTextInputType(instance, type); 1538 } 1539 1540 static void Pnacl_M30_PPB_TextInputController_UpdateCaretPosition(PP_Instance instance, const struct PP_Rect* caret) { 1541 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1542 iface->UpdateCaretPosition(instance, caret); 1543 } 1544 1545 static void Pnacl_M30_PPB_TextInputController_CancelCompositionText(PP_Instance instance) { 1546 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1547 iface->CancelCompositionText(instance); 1548 } 1549 1550 static void Pnacl_M30_PPB_TextInputController_UpdateSurroundingText(PP_Instance instance, struct PP_Var* text, uint32_t caret, uint32_t anchor) { 1551 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1552 iface->UpdateSurroundingText(instance, *text, caret, anchor); 1553 } 1554 1555 /* End wrapper methods for PPB_TextInputController_1_0 */ 1556 1557 /* Begin wrapper methods for PPB_UDPSocket_1_0 */ 1558 1559 static PP_Resource Pnacl_M29_PPB_UDPSocket_Create(PP_Instance instance) { 1560 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1561 return iface->Create(instance); 1562 } 1563 1564 static PP_Bool Pnacl_M29_PPB_UDPSocket_IsUDPSocket(PP_Resource resource) { 1565 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1566 return iface->IsUDPSocket(resource); 1567 } 1568 1569 static int32_t Pnacl_M29_PPB_UDPSocket_Bind(PP_Resource udp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1570 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1571 return iface->Bind(udp_socket, addr, *callback); 1572 } 1573 1574 static PP_Resource Pnacl_M29_PPB_UDPSocket_GetBoundAddress(PP_Resource udp_socket) { 1575 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1576 return iface->GetBoundAddress(udp_socket); 1577 } 1578 1579 static int32_t Pnacl_M29_PPB_UDPSocket_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback* callback) { 1580 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1581 return iface->RecvFrom(udp_socket, buffer, num_bytes, addr, *callback); 1582 } 1583 1584 static int32_t Pnacl_M29_PPB_UDPSocket_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback* callback) { 1585 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1586 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 1587 } 1588 1589 static void Pnacl_M29_PPB_UDPSocket_Close(PP_Resource udp_socket) { 1590 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1591 iface->Close(udp_socket); 1592 } 1593 1594 static int32_t Pnacl_M29_PPB_UDPSocket_SetOption(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1595 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1596 return iface->SetOption(udp_socket, name, *value, *callback); 1597 } 1598 1599 /* End wrapper methods for PPB_UDPSocket_1_0 */ 1600 1601 /* Begin wrapper methods for PPB_URLLoader_1_0 */ 1602 1603 static PP_Resource Pnacl_M14_PPB_URLLoader_Create(PP_Instance instance) { 1604 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1605 return iface->Create(instance); 1606 } 1607 1608 static PP_Bool Pnacl_M14_PPB_URLLoader_IsURLLoader(PP_Resource resource) { 1609 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1610 return iface->IsURLLoader(resource); 1611 } 1612 1613 static int32_t Pnacl_M14_PPB_URLLoader_Open(PP_Resource loader, PP_Resource request_info, struct PP_CompletionCallback* callback) { 1614 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1615 return iface->Open(loader, request_info, *callback); 1616 } 1617 1618 static int32_t Pnacl_M14_PPB_URLLoader_FollowRedirect(PP_Resource loader, struct PP_CompletionCallback* callback) { 1619 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1620 return iface->FollowRedirect(loader, *callback); 1621 } 1622 1623 static PP_Bool Pnacl_M14_PPB_URLLoader_GetUploadProgress(PP_Resource loader, int64_t* bytes_sent, int64_t* total_bytes_to_be_sent) { 1624 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1625 return iface->GetUploadProgress(loader, bytes_sent, total_bytes_to_be_sent); 1626 } 1627 1628 static PP_Bool Pnacl_M14_PPB_URLLoader_GetDownloadProgress(PP_Resource loader, int64_t* bytes_received, int64_t* total_bytes_to_be_received) { 1629 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1630 return iface->GetDownloadProgress(loader, bytes_received, total_bytes_to_be_received); 1631 } 1632 1633 static PP_Resource Pnacl_M14_PPB_URLLoader_GetResponseInfo(PP_Resource loader) { 1634 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1635 return iface->GetResponseInfo(loader); 1636 } 1637 1638 static int32_t Pnacl_M14_PPB_URLLoader_ReadResponseBody(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1639 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1640 return iface->ReadResponseBody(loader, buffer, bytes_to_read, *callback); 1641 } 1642 1643 static int32_t Pnacl_M14_PPB_URLLoader_FinishStreamingToFile(PP_Resource loader, struct PP_CompletionCallback* callback) { 1644 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1645 return iface->FinishStreamingToFile(loader, *callback); 1646 } 1647 1648 static void Pnacl_M14_PPB_URLLoader_Close(PP_Resource loader) { 1649 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1650 iface->Close(loader); 1651 } 1652 1653 /* End wrapper methods for PPB_URLLoader_1_0 */ 1654 1655 /* Begin wrapper methods for PPB_URLRequestInfo_1_0 */ 1656 1657 static PP_Resource Pnacl_M14_PPB_URLRequestInfo_Create(PP_Instance instance) { 1658 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1659 return iface->Create(instance); 1660 } 1661 1662 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo(PP_Resource resource) { 1663 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1664 return iface->IsURLRequestInfo(resource); 1665 } 1666 1667 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_SetProperty(PP_Resource request, PP_URLRequestProperty property, struct PP_Var* value) { 1668 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1669 return iface->SetProperty(request, property, *value); 1670 } 1671 1672 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { 1673 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1674 return iface->AppendDataToBody(request, data, len); 1675 } 1676 1677 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time) { 1678 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1679 return iface->AppendFileToBody(request, file_ref, start_offset, number_of_bytes, expected_last_modified_time); 1680 } 1681 1682 /* End wrapper methods for PPB_URLRequestInfo_1_0 */ 1683 1684 /* Begin wrapper methods for PPB_URLResponseInfo_1_0 */ 1685 1686 static PP_Bool Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo(PP_Resource resource) { 1687 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1688 return iface->IsURLResponseInfo(resource); 1689 } 1690 1691 static void Pnacl_M14_PPB_URLResponseInfo_GetProperty(struct PP_Var* _struct_result, PP_Resource response, PP_URLResponseProperty property) { 1692 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1693 *_struct_result = iface->GetProperty(response, property); 1694 } 1695 1696 static PP_Resource Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef(PP_Resource response) { 1697 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1698 return iface->GetBodyAsFileRef(response); 1699 } 1700 1701 /* End wrapper methods for PPB_URLResponseInfo_1_0 */ 1702 1703 /* Begin wrapper methods for PPB_Var_1_0 */ 1704 1705 static void Pnacl_M14_PPB_Var_AddRef(struct PP_Var* var) { 1706 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1707 iface->AddRef(*var); 1708 } 1709 1710 static void Pnacl_M14_PPB_Var_Release(struct PP_Var* var) { 1711 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1712 iface->Release(*var); 1713 } 1714 1715 static void Pnacl_M14_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, PP_Module module, const char* data, uint32_t len) { 1716 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1717 *_struct_result = iface->VarFromUtf8(module, data, len); 1718 } 1719 1720 static const char* Pnacl_M14_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { 1721 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1722 return iface->VarToUtf8(*var, len); 1723 } 1724 1725 /* End wrapper methods for PPB_Var_1_0 */ 1726 1727 /* Begin wrapper methods for PPB_Var_1_1 */ 1728 1729 static void Pnacl_M18_PPB_Var_AddRef(struct PP_Var* var) { 1730 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1731 iface->AddRef(*var); 1732 } 1733 1734 static void Pnacl_M18_PPB_Var_Release(struct PP_Var* var) { 1735 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1736 iface->Release(*var); 1737 } 1738 1739 static void Pnacl_M18_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { 1740 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1741 *_struct_result = iface->VarFromUtf8(data, len); 1742 } 1743 1744 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { 1745 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1746 return iface->VarToUtf8(*var, len); 1747 } 1748 1749 /* End wrapper methods for PPB_Var_1_1 */ 1750 1751 /* Begin wrapper methods for PPB_Var_1_2 */ 1752 1753 static void Pnacl_M34_PPB_Var_AddRef(struct PP_Var* var) { 1754 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1755 iface->AddRef(*var); 1756 } 1757 1758 static void Pnacl_M34_PPB_Var_Release(struct PP_Var* var) { 1759 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1760 iface->Release(*var); 1761 } 1762 1763 static void Pnacl_M34_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { 1764 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1765 *_struct_result = iface->VarFromUtf8(data, len); 1766 } 1767 1768 static const char* Pnacl_M34_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { 1769 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1770 return iface->VarToUtf8(*var, len); 1771 } 1772 1773 static PP_Resource Pnacl_M34_PPB_Var_VarToResource(struct PP_Var* var) { 1774 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1775 return iface->VarToResource(*var); 1776 } 1777 1778 static void Pnacl_M34_PPB_Var_VarFromResource(struct PP_Var* _struct_result, PP_Resource resource) { 1779 const struct PPB_Var_1_2 *iface = Pnacl_WrapperInfo_PPB_Var_1_2.real_iface; 1780 *_struct_result = iface->VarFromResource(resource); 1781 } 1782 1783 /* End wrapper methods for PPB_Var_1_2 */ 1784 1785 /* Begin wrapper methods for PPB_VarArray_1_0 */ 1786 1787 static void Pnacl_M29_PPB_VarArray_Create(struct PP_Var* _struct_result) { 1788 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1789 *_struct_result = iface->Create(); 1790 } 1791 1792 static void Pnacl_M29_PPB_VarArray_Get(struct PP_Var* _struct_result, struct PP_Var* array, uint32_t index) { 1793 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1794 *_struct_result = iface->Get(*array, index); 1795 } 1796 1797 static PP_Bool Pnacl_M29_PPB_VarArray_Set(struct PP_Var* array, uint32_t index, struct PP_Var* value) { 1798 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1799 return iface->Set(*array, index, *value); 1800 } 1801 1802 static uint32_t Pnacl_M29_PPB_VarArray_GetLength(struct PP_Var* array) { 1803 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1804 return iface->GetLength(*array); 1805 } 1806 1807 static PP_Bool Pnacl_M29_PPB_VarArray_SetLength(struct PP_Var* array, uint32_t length) { 1808 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1809 return iface->SetLength(*array, length); 1810 } 1811 1812 /* End wrapper methods for PPB_VarArray_1_0 */ 1813 1814 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */ 1815 1816 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, uint32_t size_in_bytes) { 1817 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1818 *_struct_result = iface->Create(size_in_bytes); 1819 } 1820 1821 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uint32_t* byte_length) { 1822 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1823 return iface->ByteLength(*array, byte_length); 1824 } 1825 1826 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) { 1827 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1828 return iface->Map(*array); 1829 } 1830 1831 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) { 1832 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1833 iface->Unmap(*array); 1834 } 1835 1836 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ 1837 1838 /* Begin wrapper methods for PPB_VarDictionary_1_0 */ 1839 1840 static void Pnacl_M29_PPB_VarDictionary_Create(struct PP_Var* _struct_result) { 1841 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1842 *_struct_result = iface->Create(); 1843 } 1844 1845 static void Pnacl_M29_PPB_VarDictionary_Get(struct PP_Var* _struct_result, struct PP_Var* dict, struct PP_Var* key) { 1846 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1847 *_struct_result = iface->Get(*dict, *key); 1848 } 1849 1850 static PP_Bool Pnacl_M29_PPB_VarDictionary_Set(struct PP_Var* dict, struct PP_Var* key, struct PP_Var* value) { 1851 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1852 return iface->Set(*dict, *key, *value); 1853 } 1854 1855 static void Pnacl_M29_PPB_VarDictionary_Delete(struct PP_Var* dict, struct PP_Var* key) { 1856 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1857 iface->Delete(*dict, *key); 1858 } 1859 1860 static PP_Bool Pnacl_M29_PPB_VarDictionary_HasKey(struct PP_Var* dict, struct PP_Var* key) { 1861 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1862 return iface->HasKey(*dict, *key); 1863 } 1864 1865 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, struct PP_Var* dict) { 1866 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1867 *_struct_result = iface->GetKeys(*dict); 1868 } 1869 1870 /* End wrapper methods for PPB_VarDictionary_1_0 */ 1871 1872 /* Begin wrapper methods for PPB_VideoDecoder_0_1 */ 1873 1874 static PP_Resource Pnacl_M36_PPB_VideoDecoder_Create(PP_Instance instance) { 1875 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1876 return iface->Create(instance); 1877 } 1878 1879 static PP_Bool Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder(PP_Resource resource) { 1880 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1881 return iface->IsVideoDecoder(resource); 1882 } 1883 1884 static int32_t Pnacl_M36_PPB_VideoDecoder_Initialize(PP_Resource video_decoder, PP_Resource graphics3d_context, PP_VideoProfile profile, PP_Bool allow_software_fallback, struct PP_CompletionCallback* callback) { 1885 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1886 return iface->Initialize(video_decoder, graphics3d_context, profile, allow_software_fallback, *callback); 1887 } 1888 1889 static int32_t Pnacl_M36_PPB_VideoDecoder_Decode(PP_Resource video_decoder, uint32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback* callback) { 1890 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1891 return iface->Decode(video_decoder, decode_id, size, buffer, *callback); 1892 } 1893 1894 static int32_t Pnacl_M36_PPB_VideoDecoder_GetPicture(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback* callback) { 1895 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1896 return iface->GetPicture(video_decoder, picture, *callback); 1897 } 1898 1899 static void Pnacl_M36_PPB_VideoDecoder_RecyclePicture(PP_Resource video_decoder, const struct PP_VideoPicture* picture) { 1900 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1901 iface->RecyclePicture(video_decoder, picture); 1902 } 1903 1904 static int32_t Pnacl_M36_PPB_VideoDecoder_Flush(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 1905 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1906 return iface->Flush(video_decoder, *callback); 1907 } 1908 1909 static int32_t Pnacl_M36_PPB_VideoDecoder_Reset(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 1910 const struct PPB_VideoDecoder_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_0_1.real_iface; 1911 return iface->Reset(video_decoder, *callback); 1912 } 1913 1914 /* End wrapper methods for PPB_VideoDecoder_0_1 */ 1915 1916 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */ 1917 1918 /* Not generating wrapper methods for PPB_View_1_0 */ 1919 1920 /* Not generating wrapper methods for PPB_View_1_1 */ 1921 1922 /* Not generating wrapper methods for PPB_View_1_2 */ 1923 1924 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1925 1926 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1927 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1928 return iface->Create(instance); 1929 } 1930 1931 static PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) { 1932 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1933 return iface->IsWebSocket(resource); 1934 } 1935 1936 static int32_t Pnacl_M18_PPB_WebSocket_Connect(PP_Resource web_socket, struct PP_Var* url, const struct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback* callback) { 1937 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1938 return iface->Connect(web_socket, *url, protocols, protocol_count, *callback); 1939 } 1940 1941 static int32_t Pnacl_M18_PPB_WebSocket_Close(PP_Resource web_socket, uint16_t code, struct PP_Var* reason, struct PP_CompletionCallback* callback) { 1942 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1943 return iface->Close(web_socket, code, *reason, *callback); 1944 } 1945 1946 static int32_t Pnacl_M18_PPB_WebSocket_ReceiveMessage(PP_Resource web_socket, struct PP_Var* message, struct PP_CompletionCallback* callback) { 1947 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1948 return iface->ReceiveMessage(web_socket, message, *callback); 1949 } 1950 1951 static int32_t Pnacl_M18_PPB_WebSocket_SendMessage(PP_Resource web_socket, struct PP_Var* message) { 1952 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1953 return iface->SendMessage(web_socket, *message); 1954 } 1955 1956 static uint64_t Pnacl_M18_PPB_WebSocket_GetBufferedAmount(PP_Resource web_socket) { 1957 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1958 return iface->GetBufferedAmount(web_socket); 1959 } 1960 1961 static uint16_t Pnacl_M18_PPB_WebSocket_GetCloseCode(PP_Resource web_socket) { 1962 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1963 return iface->GetCloseCode(web_socket); 1964 } 1965 1966 static void Pnacl_M18_PPB_WebSocket_GetCloseReason(struct PP_Var* _struct_result, PP_Resource web_socket) { 1967 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1968 *_struct_result = iface->GetCloseReason(web_socket); 1969 } 1970 1971 static PP_Bool Pnacl_M18_PPB_WebSocket_GetCloseWasClean(PP_Resource web_socket) { 1972 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1973 return iface->GetCloseWasClean(web_socket); 1974 } 1975 1976 static void Pnacl_M18_PPB_WebSocket_GetExtensions(struct PP_Var* _struct_result, PP_Resource web_socket) { 1977 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1978 *_struct_result = iface->GetExtensions(web_socket); 1979 } 1980 1981 static void Pnacl_M18_PPB_WebSocket_GetProtocol(struct PP_Var* _struct_result, PP_Resource web_socket) { 1982 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1983 *_struct_result = iface->GetProtocol(web_socket); 1984 } 1985 1986 static PP_WebSocketReadyState Pnacl_M18_PPB_WebSocket_GetReadyState(PP_Resource web_socket) { 1987 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1988 return iface->GetReadyState(web_socket); 1989 } 1990 1991 static void Pnacl_M18_PPB_WebSocket_GetURL(struct PP_Var* _struct_result, PP_Resource web_socket) { 1992 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1993 *_struct_result = iface->GetURL(web_socket); 1994 } 1995 1996 /* End wrapper methods for PPB_WebSocket_1_0 */ 1997 1998 /* Not generating wrapper methods for PPP_Graphics3D_1_0 */ 1999 2000 /* Not generating wrapper methods for PPP_InputEvent_0_1 */ 2001 2002 /* Not generating wrapper methods for PPP_Instance_1_0 */ 2003 2004 /* Not generating wrapper methods for PPP_Instance_1_1 */ 2005 2006 /* Not generating wrapper methods for PPP_MessageHandler_0_1 */ 2007 2008 /* Begin wrapper methods for PPP_Messaging_1_0 */ 2009 2010 static void Pnacl_M14_PPP_Messaging_HandleMessage(PP_Instance instance, struct PP_Var message) { 2011 const struct PPP_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPP_Messaging_1_0.real_iface; 2012 void (*temp_fp)(PP_Instance instance, struct PP_Var* message) = 2013 ((void (*)(PP_Instance instance, struct PP_Var* message))iface->HandleMessage); 2014 temp_fp(instance, &message); 2015 } 2016 2017 /* End wrapper methods for PPP_Messaging_1_0 */ 2018 2019 /* Not generating wrapper methods for PPP_MouseLock_1_0 */ 2020 2021 /* Not generating wrapper methods for PPB_BrokerTrusted_0_2 */ 2022 2023 /* Not generating wrapper methods for PPB_BrokerTrusted_0_3 */ 2024 2025 /* Not generating wrapper methods for PPB_BrowserFont_Trusted_1_0 */ 2026 2027 /* Not generating wrapper methods for PPB_CharSet_Trusted_1_0 */ 2028 2029 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_5 */ 2030 2031 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_6 */ 2032 2033 /* Not generating wrapper methods for PPB_URLLoaderTrusted_0_3 */ 2034 2035 /* Begin wrapper methods for PPB_AudioInput_Dev_0_3 */ 2036 2037 static PP_Resource Pnacl_M25_PPB_AudioInput_Dev_Create(PP_Instance instance) { 2038 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2039 return iface->Create(instance); 2040 } 2041 2042 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource) { 2043 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2044 return iface->IsAudioInput(resource); 2045 } 2046 2047 static int32_t Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2048 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2049 return iface->EnumerateDevices(audio_input, *output, *callback); 2050 } 2051 2052 static int32_t Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data) { 2053 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2054 return iface->MonitorDeviceChange(audio_input, callback, user_data); 2055 } 2056 2057 static int32_t Pnacl_M25_PPB_AudioInput_Dev_Open(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_3 audio_input_callback, void* user_data, struct PP_CompletionCallback* callback) { 2058 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2059 return iface->Open(audio_input, device_ref, config, audio_input_callback, user_data, *callback); 2060 } 2061 2062 static PP_Resource Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input) { 2063 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2064 return iface->GetCurrentConfig(audio_input); 2065 } 2066 2067 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input) { 2068 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2069 return iface->StartCapture(audio_input); 2070 } 2071 2072 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input) { 2073 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2074 return iface->StopCapture(audio_input); 2075 } 2076 2077 static void Pnacl_M25_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { 2078 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 2079 iface->Close(audio_input); 2080 } 2081 2082 /* End wrapper methods for PPB_AudioInput_Dev_0_3 */ 2083 2084 /* Begin wrapper methods for PPB_AudioInput_Dev_0_4 */ 2085 2086 static PP_Resource Pnacl_M30_PPB_AudioInput_Dev_Create(PP_Instance instance) { 2087 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2088 return iface->Create(instance); 2089 } 2090 2091 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource) { 2092 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2093 return iface->IsAudioInput(resource); 2094 } 2095 2096 static int32_t Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2097 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2098 return iface->EnumerateDevices(audio_input, *output, *callback); 2099 } 2100 2101 static int32_t Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data) { 2102 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2103 return iface->MonitorDeviceChange(audio_input, callback, user_data); 2104 } 2105 2106 static int32_t Pnacl_M30_PPB_AudioInput_Dev_Open(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, struct PP_CompletionCallback* callback) { 2107 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2108 return iface->Open(audio_input, device_ref, config, audio_input_callback, user_data, *callback); 2109 } 2110 2111 static PP_Resource Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input) { 2112 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2113 return iface->GetCurrentConfig(audio_input); 2114 } 2115 2116 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input) { 2117 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2118 return iface->StartCapture(audio_input); 2119 } 2120 2121 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input) { 2122 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2123 return iface->StopCapture(audio_input); 2124 } 2125 2126 static void Pnacl_M30_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { 2127 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 2128 iface->Close(audio_input); 2129 } 2130 2131 /* End wrapper methods for PPB_AudioInput_Dev_0_4 */ 2132 2133 /* Not generating wrapper methods for PPB_Buffer_Dev_0_4 */ 2134 2135 /* Not generating wrapper methods for PPB_Crypto_Dev_0_1 */ 2136 2137 /* Not generating wrapper methods for PPB_CursorControl_Dev_0_4 */ 2138 2139 /* Begin wrapper methods for PPB_DeviceRef_Dev_0_1 */ 2140 2141 static PP_Bool Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef(PP_Resource resource) { 2142 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 2143 return iface->IsDeviceRef(resource); 2144 } 2145 2146 static PP_DeviceType_Dev Pnacl_M18_PPB_DeviceRef_Dev_GetType(PP_Resource device_ref) { 2147 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 2148 return iface->GetType(device_ref); 2149 } 2150 2151 static void Pnacl_M18_PPB_DeviceRef_Dev_GetName(struct PP_Var* _struct_result, PP_Resource device_ref) { 2152 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 2153 *_struct_result = iface->GetName(device_ref); 2154 } 2155 2156 /* End wrapper methods for PPB_DeviceRef_Dev_0_1 */ 2157 2158 /* Begin wrapper methods for PPB_FileChooser_Dev_0_5 */ 2159 2160 static PP_Resource Pnacl_M16_PPB_FileChooser_Dev_Create(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var* accept_types) { 2161 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 2162 return iface->Create(instance, mode, *accept_types); 2163 } 2164 2165 static PP_Bool Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource) { 2166 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 2167 return iface->IsFileChooser(resource); 2168 } 2169 2170 static int32_t Pnacl_M16_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP_CompletionCallback* callback) { 2171 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 2172 return iface->Show(chooser, *callback); 2173 } 2174 2175 static PP_Resource Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile(PP_Resource chooser) { 2176 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 2177 return iface->GetNextChosenFile(chooser); 2178 } 2179 2180 /* End wrapper methods for PPB_FileChooser_Dev_0_5 */ 2181 2182 /* Begin wrapper methods for PPB_FileChooser_Dev_0_6 */ 2183 2184 static PP_Resource Pnacl_M19_PPB_FileChooser_Dev_Create(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var* accept_types) { 2185 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 2186 return iface->Create(instance, mode, *accept_types); 2187 } 2188 2189 static PP_Bool Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource) { 2190 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 2191 return iface->IsFileChooser(resource); 2192 } 2193 2194 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2195 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 2196 return iface->Show(chooser, *output, *callback); 2197 } 2198 2199 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ 2200 2201 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ 2202 2203 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result, PP_Instance instance) { 2204 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2205 *_struct_result = iface->GetFontFamilies(instance); 2206 } 2207 2208 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const struct PP_FontDescription_Dev* description) { 2209 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2210 return iface->Create(instance, description); 2211 } 2212 2213 static PP_Bool Pnacl_M14_PPB_Font_Dev_IsFont(PP_Resource resource) { 2214 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2215 return iface->IsFont(resource); 2216 } 2217 2218 static PP_Bool Pnacl_M14_PPB_Font_Dev_Describe(PP_Resource font, struct PP_FontDescription_Dev* description, struct PP_FontMetrics_Dev* metrics) { 2219 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2220 return iface->Describe(font, description, metrics); 2221 } 2222 2223 static PP_Bool Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque) { 2224 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2225 return iface->DrawTextAt(font, image_data, text, position, color, clip, image_data_is_opaque); 2226 } 2227 2228 static int32_t Pnacl_M14_PPB_Font_Dev_MeasureText(PP_Resource font, const struct PP_TextRun_Dev* text) { 2229 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2230 return iface->MeasureText(font, text); 2231 } 2232 2233 static uint32_t Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position) { 2234 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2235 return iface->CharacterOffsetForPixel(font, text, pixel_position); 2236 } 2237 2238 static int32_t Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset) { 2239 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 2240 return iface->PixelOffsetForCharacter(font, text, char_offset); 2241 } 2242 2243 /* End wrapper methods for PPB_Font_Dev_0_6 */ 2244 2245 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ 2246 2247 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource) { 2248 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2249 return iface->IsIMEInputEvent(resource); 2250 } 2251 2252 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 2253 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2254 *_struct_result = iface->GetText(ime_event); 2255 } 2256 2257 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event) { 2258 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2259 return iface->GetSegmentNumber(ime_event); 2260 } 2261 2262 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 2263 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2264 return iface->GetSegmentOffset(ime_event, index); 2265 } 2266 2267 static int32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event) { 2268 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2269 return iface->GetTargetSegment(ime_event); 2270 } 2271 2272 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 2273 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 2274 iface->GetSelection(ime_event, start, end); 2275 } 2276 2277 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ 2278 2279 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_2 */ 2280 2281 static PP_Resource Pnacl_M21_PPB_IMEInputEvent_Dev_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { 2282 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2283 return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); 2284 } 2285 2286 static PP_Bool Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource) { 2287 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2288 return iface->IsIMEInputEvent(resource); 2289 } 2290 2291 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 2292 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2293 *_struct_result = iface->GetText(ime_event); 2294 } 2295 2296 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event) { 2297 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2298 return iface->GetSegmentNumber(ime_event); 2299 } 2300 2301 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 2302 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2303 return iface->GetSegmentOffset(ime_event, index); 2304 } 2305 2306 static int32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event) { 2307 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2308 return iface->GetTargetSegment(ime_event); 2309 } 2310 2311 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 2312 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2313 iface->GetSelection(ime_event, start, end); 2314 } 2315 2316 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_2 */ 2317 2318 /* Not generating wrapper methods for PPB_Memory_Dev_0_1 */ 2319 2320 /* Begin wrapper methods for PPB_Printing_Dev_0_7 */ 2321 2322 static PP_Resource Pnacl_M23_PPB_Printing_Dev_Create(PP_Instance instance) { 2323 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_0_7.real_iface; 2324 return iface->Create(instance); 2325 } 2326 2327 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource resource, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback* callback) { 2328 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_0_7.real_iface; 2329 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); 2330 } 2331 2332 /* End wrapper methods for PPB_Printing_Dev_0_7 */ 2333 2334 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ 2335 2336 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ 2337 2338 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ 2339 2340 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ 2341 2342 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ 2343 2344 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 2345 2346 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2347 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2348 return iface->GetFontFamilies(instance, *output, *callback); 2349 } 2350 2351 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance instance, struct PP_Var* family, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2352 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2353 return iface->GetFontsInFamily(instance, *family, *output, *callback); 2354 } 2355 2356 static PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const struct PP_TrueTypeFontDesc_Dev* desc) { 2357 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2358 return iface->Create(instance, desc); 2359 } 2360 2361 static PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource) { 2362 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2363 return iface->IsTrueTypeFont(resource); 2364 } 2365 2366 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* desc, struct PP_CompletionCallback* callback) { 2367 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2368 return iface->Describe(font, desc, *callback); 2369 } 2370 2371 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2372 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2373 return iface->GetTableTags(font, *output, *callback); 2374 } 2375 2376 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2377 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2378 return iface->GetTable(font, table, offset, max_data_length, *output, *callback); 2379 } 2380 2381 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 2382 2383 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */ 2384 2385 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result, struct PP_Var* url, struct PP_URLComponents_Dev* components) { 2386 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2387 *_struct_result = iface->Canonicalize(*url, components); 2388 } 2389 2390 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struct_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2391 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2392 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, components); 2393 } 2394 2395 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2396 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2397 *_struct_result = iface->ResolveRelativeToDocument(instance, *relative_string, components); 2398 } 2399 2400 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var* url_a, struct PP_Var* url_b) { 2401 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2402 return iface->IsSameSecurityOrigin(*url_a, *url_b); 2403 } 2404 2405 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance, struct PP_Var* url) { 2406 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2407 return iface->DocumentCanRequest(instance, *url); 2408 } 2409 2410 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active, PP_Instance target) { 2411 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2412 return iface->DocumentCanAccessDocument(active, target); 2413 } 2414 2415 static void Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2416 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2417 *_struct_result = iface->GetDocumentURL(instance, components); 2418 } 2419 2420 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2421 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2422 *_struct_result = iface->GetPluginInstanceURL(instance, components); 2423 } 2424 2425 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 2426 2427 /* Begin wrapper methods for PPB_URLUtil_Dev_0_7 */ 2428 2429 static void Pnacl_M31_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result, struct PP_Var* url, struct PP_URLComponents_Dev* components) { 2430 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2431 *_struct_result = iface->Canonicalize(*url, components); 2432 } 2433 2434 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struct_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2435 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2436 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, components); 2437 } 2438 2439 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2440 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2441 *_struct_result = iface->ResolveRelativeToDocument(instance, *relative_string, components); 2442 } 2443 2444 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var* url_a, struct PP_Var* url_b) { 2445 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2446 return iface->IsSameSecurityOrigin(*url_a, *url_b); 2447 } 2448 2449 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance, struct PP_Var* url) { 2450 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2451 return iface->DocumentCanRequest(instance, *url); 2452 } 2453 2454 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active, PP_Instance target) { 2455 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2456 return iface->DocumentCanAccessDocument(active, target); 2457 } 2458 2459 static void Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2460 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2461 *_struct_result = iface->GetDocumentURL(instance, components); 2462 } 2463 2464 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2465 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2466 *_struct_result = iface->GetPluginInstanceURL(instance, components); 2467 } 2468 2469 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2470 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2471 *_struct_result = iface->GetPluginReferrerURL(instance, components); 2472 } 2473 2474 /* End wrapper methods for PPB_URLUtil_Dev_0_7 */ 2475 2476 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_3 */ 2477 2478 static PP_Resource Pnacl_M25_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 2479 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2480 return iface->Create(instance); 2481 } 2482 2483 static PP_Bool Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture) { 2484 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2485 return iface->IsVideoCapture(video_capture); 2486 } 2487 2488 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices(PP_Resource video_capture, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2489 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2490 return iface->EnumerateDevices(video_capture, *output, *callback); 2491 } 2492 2493 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange(PP_Resource video_capture, PP_MonitorDeviceChangeCallback callback, void* user_data) { 2494 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2495 return iface->MonitorDeviceChange(video_capture, callback, user_data); 2496 } 2497 2498 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_Open(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback* callback) { 2499 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2500 return iface->Open(video_capture, device_ref, requested_info, buffer_count, *callback); 2501 } 2502 2503 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StartCapture(PP_Resource video_capture) { 2504 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2505 return iface->StartCapture(video_capture); 2506 } 2507 2508 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer(PP_Resource video_capture, uint32_t buffer) { 2509 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2510 return iface->ReuseBuffer(video_capture, buffer); 2511 } 2512 2513 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StopCapture(PP_Resource video_capture) { 2514 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2515 return iface->StopCapture(video_capture); 2516 } 2517 2518 static void Pnacl_M25_PPB_VideoCapture_Dev_Close(PP_Resource video_capture) { 2519 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2520 iface->Close(video_capture); 2521 } 2522 2523 /* End wrapper methods for PPB_VideoCapture_Dev_0_3 */ 2524 2525 /* Begin wrapper methods for PPB_VideoDecoder_Dev_0_16 */ 2526 2527 static PP_Resource Pnacl_M14_PPB_VideoDecoder_Dev_Create(PP_Instance instance, PP_Resource context, PP_VideoDecoder_Profile profile) { 2528 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2529 return iface->Create(instance, context, profile); 2530 } 2531 2532 static PP_Bool Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder(PP_Resource resource) { 2533 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2534 return iface->IsVideoDecoder(resource); 2535 } 2536 2537 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Decode(PP_Resource video_decoder, const struct PP_VideoBitstreamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback* callback) { 2538 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2539 return iface->Decode(video_decoder, bitstream_buffer, *callback); 2540 } 2541 2542 static void Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers(PP_Resource video_decoder, uint32_t no_of_buffers, const struct PP_PictureBuffer_Dev buffers[]) { 2543 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2544 iface->AssignPictureBuffers(video_decoder, no_of_buffers, buffers); 2545 } 2546 2547 static void Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer(PP_Resource video_decoder, int32_t picture_buffer_id) { 2548 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2549 iface->ReusePictureBuffer(video_decoder, picture_buffer_id); 2550 } 2551 2552 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Flush(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 2553 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2554 return iface->Flush(video_decoder, *callback); 2555 } 2556 2557 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Reset(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 2558 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2559 return iface->Reset(video_decoder, *callback); 2560 } 2561 2562 static void Pnacl_M14_PPB_VideoDecoder_Dev_Destroy(PP_Resource video_decoder) { 2563 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2564 iface->Destroy(video_decoder); 2565 } 2566 2567 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */ 2568 2569 /* Not generating wrapper methods for PPB_View_Dev_0_1 */ 2570 2571 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */ 2572 2573 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */ 2574 2575 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */ 2576 2577 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */ 2578 2579 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */ 2580 2581 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_2 */ 2582 2583 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_3 */ 2584 2585 /* Begin wrapper methods for PPP_Selection_Dev_0_3 */ 2586 2587 static struct PP_Var Pnacl_M13_PPP_Selection_Dev_GetSelectedText(PP_Instance instance, PP_Bool html) { 2588 const struct PPP_Selection_Dev_0_3 *iface = Pnacl_WrapperInfo_PPP_Selection_Dev_0_3.real_iface; 2589 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool html) = 2590 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool html))iface->GetSelectedText); 2591 struct PP_Var _struct_result; 2592 temp_fp(&_struct_result, instance, html); 2593 return _struct_result; 2594 } 2595 2596 /* End wrapper methods for PPP_Selection_Dev_0_3 */ 2597 2598 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 2599 2600 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2601 2602 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2603 2604 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2605 2606 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2607 2608 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_12 */ 2609 2610 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance instance, uint32_t promise_id) { 2611 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2612 iface->PromiseResolved(instance, promise_id); 2613 } 2614 2615 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) { 2616 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2617 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); 2618 } 2619 2620 static void Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected(PP_Instance instance, uint32_t promise_id, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var* error_description) { 2621 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2622 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *error_description); 2623 } 2624 2625 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance instance, struct PP_Var* web_session_id, struct PP_Var* message, struct PP_Var* destination_url) { 2626 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2627 iface->SessionMessage(instance, *web_session_id, *message, *destination_url); 2628 } 2629 2630 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady(PP_Instance instance, struct PP_Var* web_session_id) { 2631 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2632 iface->SessionReady(instance, *web_session_id); 2633 } 2634 2635 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance instance, struct PP_Var* web_session_id) { 2636 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2637 iface->SessionClosed(instance, *web_session_id); 2638 } 2639 2640 static void Pnacl_M36_PPB_ContentDecryptor_Private_SessionError(PP_Instance instance, struct PP_Var* web_session_id, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var* error_description) { 2641 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2642 iface->SessionError(instance, *web_session_id, exception_code, system_code, *error_description); 2643 } 2644 2645 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info) { 2646 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2647 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2648 } 2649 2650 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2651 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2652 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2653 } 2654 2655 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2656 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2657 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2658 } 2659 2660 static void Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2661 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2662 iface->DecoderResetDone(instance, decoder_type, request_id); 2663 } 2664 2665 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info) { 2666 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2667 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2668 } 2669 2670 static void Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info) { 2671 const struct PPB_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12.real_iface; 2672 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2673 } 2674 2675 /* End wrapper methods for PPB_ContentDecryptor_Private_0_12 */ 2676 2677 /* Begin wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ 2678 2679 static PP_Resource Pnacl_M33_PPB_DisplayColorProfile_Private_Create(PP_Instance instance) { 2680 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1.real_iface; 2681 return iface->Create(instance); 2682 } 2683 2684 static PP_Bool Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile(PP_Resource resource) { 2685 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1.real_iface; 2686 return iface->IsDisplayColorProfile(resource); 2687 } 2688 2689 static int32_t Pnacl_M33_PPB_DisplayColorProfile_Private_GetColorProfile(PP_Resource display_color_profile_res, struct PP_ArrayOutput* color_profile, struct PP_CompletionCallback* callback) { 2690 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1.real_iface; 2691 return iface->GetColorProfile(display_color_profile_res, *color_profile, *callback); 2692 } 2693 2694 static int32_t Pnacl_M33_PPB_DisplayColorProfile_Private_RegisterColorProfileChangeCallback(PP_Resource display_color_profile_res, struct PP_CompletionCallback* callback) { 2695 const struct PPB_DisplayColorProfile_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1.real_iface; 2696 return iface->RegisterColorProfileChangeCallback(display_color_profile_res, *callback); 2697 } 2698 2699 /* End wrapper methods for PPB_DisplayColorProfile_Private_0_1 */ 2700 2701 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2702 2703 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback* callback) { 2704 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1.real_iface; 2705 return iface->Open(instance, file_system, *callback); 2706 } 2707 2708 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2709 2710 /* Begin wrapper methods for PPB_FileIO_Private_0_1 */ 2711 2712 static int32_t Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback* callback) { 2713 const struct PPB_FileIO_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Private_0_1.real_iface; 2714 return iface->RequestOSFileHandle(file_io, handle, *callback); 2715 } 2716 2717 /* End wrapper methods for PPB_FileIO_Private_0_1 */ 2718 2719 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */ 2720 2721 static void Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(struct PP_Var* _struct_result, PP_Resource file_ref) { 2722 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1.real_iface; 2723 *_struct_result = iface->GetAbsolutePath(file_ref); 2724 } 2725 2726 /* End wrapper methods for PPB_FileRefPrivate_0_1 */ 2727 2728 /* Not generating wrapper methods for PPB_Find_Private_0_3 */ 2729 2730 /* Begin wrapper methods for PPB_Flash_12_4 */ 2731 2732 static void Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2733 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2734 iface->SetInstanceAlwaysOnTop(instance, on_top); 2735 } 2736 2737 static PP_Bool Pnacl_M21_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2738 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2739 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2740 } 2741 2742 static void Pnacl_M21_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2743 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2744 *_struct_result = iface->GetProxyForURL(instance, url); 2745 } 2746 2747 static int32_t Pnacl_M21_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2748 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2749 return iface->Navigate(request_info, target, from_user_action); 2750 } 2751 2752 static void Pnacl_M21_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2753 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2754 iface->RunMessageLoop(instance); 2755 } 2756 2757 static void Pnacl_M21_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2758 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2759 iface->QuitMessageLoop(instance); 2760 } 2761 2762 static double Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2763 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2764 return iface->GetLocalTimeZoneOffset(instance, t); 2765 } 2766 2767 static void Pnacl_M21_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2768 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2769 *_struct_result = iface->GetCommandLineArgs(module); 2770 } 2771 2772 static void Pnacl_M21_PPB_Flash_PreloadFontWin(const void* logfontw) { 2773 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2774 iface->PreloadFontWin(logfontw); 2775 } 2776 2777 static PP_Bool Pnacl_M21_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2778 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2779 return iface->IsRectTopmost(instance, rect); 2780 } 2781 2782 static int32_t Pnacl_M21_PPB_Flash_InvokePrinting(PP_Instance instance) { 2783 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2784 return iface->InvokePrinting(instance); 2785 } 2786 2787 static void Pnacl_M21_PPB_Flash_UpdateActivity(PP_Instance instance) { 2788 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2789 iface->UpdateActivity(instance); 2790 } 2791 2792 static void Pnacl_M21_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2793 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2794 *_struct_result = iface->GetDeviceID(instance); 2795 } 2796 2797 static int32_t Pnacl_M21_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2798 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2799 return iface->GetSettingInt(instance, setting); 2800 } 2801 2802 static void Pnacl_M21_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2803 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2804 *_struct_result = iface->GetSetting(instance, setting); 2805 } 2806 2807 /* End wrapper methods for PPB_Flash_12_4 */ 2808 2809 /* Begin wrapper methods for PPB_Flash_12_5 */ 2810 2811 static void Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2812 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2813 iface->SetInstanceAlwaysOnTop(instance, on_top); 2814 } 2815 2816 static PP_Bool Pnacl_M22_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2817 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2818 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2819 } 2820 2821 static void Pnacl_M22_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2822 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2823 *_struct_result = iface->GetProxyForURL(instance, url); 2824 } 2825 2826 static int32_t Pnacl_M22_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2827 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2828 return iface->Navigate(request_info, target, from_user_action); 2829 } 2830 2831 static void Pnacl_M22_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2832 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2833 iface->RunMessageLoop(instance); 2834 } 2835 2836 static void Pnacl_M22_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2837 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2838 iface->QuitMessageLoop(instance); 2839 } 2840 2841 static double Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2842 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2843 return iface->GetLocalTimeZoneOffset(instance, t); 2844 } 2845 2846 static void Pnacl_M22_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2847 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2848 *_struct_result = iface->GetCommandLineArgs(module); 2849 } 2850 2851 static void Pnacl_M22_PPB_Flash_PreloadFontWin(const void* logfontw) { 2852 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2853 iface->PreloadFontWin(logfontw); 2854 } 2855 2856 static PP_Bool Pnacl_M22_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2857 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2858 return iface->IsRectTopmost(instance, rect); 2859 } 2860 2861 static int32_t Pnacl_M22_PPB_Flash_InvokePrinting(PP_Instance instance) { 2862 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2863 return iface->InvokePrinting(instance); 2864 } 2865 2866 static void Pnacl_M22_PPB_Flash_UpdateActivity(PP_Instance instance) { 2867 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2868 iface->UpdateActivity(instance); 2869 } 2870 2871 static void Pnacl_M22_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2872 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2873 *_struct_result = iface->GetDeviceID(instance); 2874 } 2875 2876 static int32_t Pnacl_M22_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2877 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2878 return iface->GetSettingInt(instance, setting); 2879 } 2880 2881 static void Pnacl_M22_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2882 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2883 *_struct_result = iface->GetSetting(instance, setting); 2884 } 2885 2886 static PP_Bool Pnacl_M22_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 2887 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2888 return iface->SetCrashData(instance, key, *value); 2889 } 2890 2891 /* End wrapper methods for PPB_Flash_12_5 */ 2892 2893 /* Begin wrapper methods for PPB_Flash_12_6 */ 2894 2895 static void Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2896 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2897 iface->SetInstanceAlwaysOnTop(instance, on_top); 2898 } 2899 2900 static PP_Bool Pnacl_M24_0_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2901 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2902 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2903 } 2904 2905 static void Pnacl_M24_0_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2906 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2907 *_struct_result = iface->GetProxyForURL(instance, url); 2908 } 2909 2910 static int32_t Pnacl_M24_0_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2911 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2912 return iface->Navigate(request_info, target, from_user_action); 2913 } 2914 2915 static void Pnacl_M24_0_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2916 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2917 iface->RunMessageLoop(instance); 2918 } 2919 2920 static void Pnacl_M24_0_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2921 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2922 iface->QuitMessageLoop(instance); 2923 } 2924 2925 static double Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2926 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2927 return iface->GetLocalTimeZoneOffset(instance, t); 2928 } 2929 2930 static void Pnacl_M24_0_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2931 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2932 *_struct_result = iface->GetCommandLineArgs(module); 2933 } 2934 2935 static void Pnacl_M24_0_PPB_Flash_PreloadFontWin(const void* logfontw) { 2936 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2937 iface->PreloadFontWin(logfontw); 2938 } 2939 2940 static PP_Bool Pnacl_M24_0_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2941 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2942 return iface->IsRectTopmost(instance, rect); 2943 } 2944 2945 static int32_t Pnacl_M24_0_PPB_Flash_InvokePrinting(PP_Instance instance) { 2946 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2947 return iface->InvokePrinting(instance); 2948 } 2949 2950 static void Pnacl_M24_0_PPB_Flash_UpdateActivity(PP_Instance instance) { 2951 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2952 iface->UpdateActivity(instance); 2953 } 2954 2955 static void Pnacl_M24_0_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2956 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2957 *_struct_result = iface->GetDeviceID(instance); 2958 } 2959 2960 static int32_t Pnacl_M24_0_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2961 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2962 return iface->GetSettingInt(instance, setting); 2963 } 2964 2965 static void Pnacl_M24_0_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2966 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2967 *_struct_result = iface->GetSetting(instance, setting); 2968 } 2969 2970 static PP_Bool Pnacl_M24_0_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 2971 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2972 return iface->SetCrashData(instance, key, *value); 2973 } 2974 2975 static int32_t Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput* devices) { 2976 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2977 return iface->EnumerateVideoCaptureDevices(instance, video_capture, *devices); 2978 } 2979 2980 /* End wrapper methods for PPB_Flash_12_6 */ 2981 2982 /* Begin wrapper methods for PPB_Flash_13_0 */ 2983 2984 static void Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2985 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2986 iface->SetInstanceAlwaysOnTop(instance, on_top); 2987 } 2988 2989 static PP_Bool Pnacl_M24_1_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2990 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2991 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2992 } 2993 2994 static void Pnacl_M24_1_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2995 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2996 *_struct_result = iface->GetProxyForURL(instance, url); 2997 } 2998 2999 static int32_t Pnacl_M24_1_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 3000 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3001 return iface->Navigate(request_info, target, from_user_action); 3002 } 3003 3004 static double Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 3005 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3006 return iface->GetLocalTimeZoneOffset(instance, t); 3007 } 3008 3009 static void Pnacl_M24_1_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 3010 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3011 *_struct_result = iface->GetCommandLineArgs(module); 3012 } 3013 3014 static void Pnacl_M24_1_PPB_Flash_PreloadFontWin(const void* logfontw) { 3015 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3016 iface->PreloadFontWin(logfontw); 3017 } 3018 3019 static PP_Bool Pnacl_M24_1_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 3020 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3021 return iface->IsRectTopmost(instance, rect); 3022 } 3023 3024 static void Pnacl_M24_1_PPB_Flash_UpdateActivity(PP_Instance instance) { 3025 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3026 iface->UpdateActivity(instance); 3027 } 3028 3029 static void Pnacl_M24_1_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 3030 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3031 *_struct_result = iface->GetSetting(instance, setting); 3032 } 3033 3034 static PP_Bool Pnacl_M24_1_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 3035 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3036 return iface->SetCrashData(instance, key, *value); 3037 } 3038 3039 static int32_t Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput* devices) { 3040 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 3041 return iface->EnumerateVideoCaptureDevices(instance, video_capture, *devices); 3042 } 3043 3044 /* End wrapper methods for PPB_Flash_13_0 */ 3045 3046 /* Begin wrapper methods for PPB_Flash_Clipboard_4_0 */ 3047 3048 static PP_Bool Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) { 3049 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 3050 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 3051 } 3052 3053 static void Pnacl_M19_PPB_Flash_Clipboard_ReadData(struct PP_Var* _struct_result, PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) { 3054 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 3055 *_struct_result = iface->ReadData(instance_id, clipboard_type, format); 3056 } 3057 3058 static int32_t Pnacl_M19_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats[], const struct PP_Var data_items[]) { 3059 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 3060 return iface->WriteData(instance_id, clipboard_type, data_item_count, formats, data_items); 3061 } 3062 3063 /* End wrapper methods for PPB_Flash_Clipboard_4_0 */ 3064 3065 /* Begin wrapper methods for PPB_Flash_Clipboard_5_0 */ 3066 3067 static uint32_t Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat(PP_Instance instance_id, const char* format_name) { 3068 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 3069 return iface->RegisterCustomFormat(instance_id, format_name); 3070 } 3071 3072 static PP_Bool Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 3073 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 3074 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 3075 } 3076 3077 static void Pnacl_M24_PPB_Flash_Clipboard_ReadData(struct PP_Var* _struct_result, PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 3078 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 3079 *_struct_result = iface->ReadData(instance_id, clipboard_type, format); 3080 } 3081 3082 static int32_t Pnacl_M24_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]) { 3083 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 3084 return iface->WriteData(instance_id, clipboard_type, data_item_count, formats, data_items); 3085 } 3086 3087 /* End wrapper methods for PPB_Flash_Clipboard_5_0 */ 3088 3089 /* Begin wrapper methods for PPB_Flash_Clipboard_5_1 */ 3090 3091 static uint32_t Pnacl_M34_PPB_Flash_Clipboard_RegisterCustomFormat(PP_Instance instance_id, const char* format_name) { 3092 const struct PPB_Flash_Clipboard_5_1 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1.real_iface; 3093 return iface->RegisterCustomFormat(instance_id, format_name); 3094 } 3095 3096 static PP_Bool Pnacl_M34_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 3097 const struct PPB_Flash_Clipboard_5_1 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1.real_iface; 3098 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 3099 } 3100 3101 static void Pnacl_M34_PPB_Flash_Clipboard_ReadData(struct PP_Var* _struct_result, PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 3102 const struct PPB_Flash_Clipboard_5_1 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1.real_iface; 3103 *_struct_result = iface->ReadData(instance_id, clipboard_type, format); 3104 } 3105 3106 static int32_t Pnacl_M34_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]) { 3107 const struct PPB_Flash_Clipboard_5_1 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1.real_iface; 3108 return iface->WriteData(instance_id, clipboard_type, data_item_count, formats, data_items); 3109 } 3110 3111 static PP_Bool Pnacl_M34_PPB_Flash_Clipboard_GetSequenceNumber(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint64_t* sequence_number) { 3112 const struct PPB_Flash_Clipboard_5_1 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1.real_iface; 3113 return iface->GetSequenceNumber(instance_id, clipboard_type, sequence_number); 3114 } 3115 3116 /* End wrapper methods for PPB_Flash_Clipboard_5_1 */ 3117 3118 /* Begin wrapper methods for PPB_Flash_DeviceID_1_0 */ 3119 3120 static PP_Resource Pnacl_M21_PPB_Flash_DeviceID_Create(PP_Instance instance) { 3121 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0.real_iface; 3122 return iface->Create(instance); 3123 } 3124 3125 static int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback* callback) { 3126 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0.real_iface; 3127 return iface->GetDeviceID(device_id, id, *callback); 3128 } 3129 3130 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */ 3131 3132 /* Begin wrapper methods for PPB_Flash_DRM_1_0 */ 3133 3134 static PP_Resource Pnacl_M29_PPB_Flash_DRM_Create(PP_Instance instance) { 3135 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 3136 return iface->Create(instance); 3137 } 3138 3139 static int32_t Pnacl_M29_PPB_Flash_DRM_GetDeviceID(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback* callback) { 3140 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 3141 return iface->GetDeviceID(drm, id, *callback); 3142 } 3143 3144 static PP_Bool Pnacl_M29_PPB_Flash_DRM_GetHmonitor(PP_Resource drm, int64_t* hmonitor) { 3145 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 3146 return iface->GetHmonitor(drm, hmonitor); 3147 } 3148 3149 static int32_t Pnacl_M29_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback* callback) { 3150 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 3151 return iface->GetVoucherFile(drm, file_ref, *callback); 3152 } 3153 3154 /* End wrapper methods for PPB_Flash_DRM_1_0 */ 3155 3156 /* Begin wrapper methods for PPB_Flash_DRM_1_1 */ 3157 3158 static PP_Resource Pnacl_M33_PPB_Flash_DRM_Create(PP_Instance instance) { 3159 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 3160 return iface->Create(instance); 3161 } 3162 3163 static int32_t Pnacl_M33_PPB_Flash_DRM_GetDeviceID(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback* callback) { 3164 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 3165 return iface->GetDeviceID(drm, id, *callback); 3166 } 3167 3168 static PP_Bool Pnacl_M33_PPB_Flash_DRM_GetHmonitor(PP_Resource drm, int64_t* hmonitor) { 3169 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 3170 return iface->GetHmonitor(drm, hmonitor); 3171 } 3172 3173 static int32_t Pnacl_M33_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback* callback) { 3174 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 3175 return iface->GetVoucherFile(drm, file_ref, *callback); 3176 } 3177 3178 static int32_t Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal(PP_Resource drm, PP_Bool* is_external, struct PP_CompletionCallback* callback) { 3179 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 3180 return iface->MonitorIsExternal(drm, is_external, *callback); 3181 } 3182 3183 /* End wrapper methods for PPB_Flash_DRM_1_1 */ 3184 3185 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */ 3186 3187 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ 3188 3189 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ 3190 3191 /* Begin wrapper methods for PPB_Flash_Menu_0_2 */ 3192 3193 static PP_Resource Pnacl_M14_PPB_Flash_Menu_Create(PP_Instance instance_id, const struct PP_Flash_Menu* menu_data) { 3194 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 3195 return iface->Create(instance_id, menu_data); 3196 } 3197 3198 static PP_Bool Pnacl_M14_PPB_Flash_Menu_IsFlashMenu(PP_Resource resource_id) { 3199 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 3200 return iface->IsFlashMenu(resource_id); 3201 } 3202 3203 static int32_t Pnacl_M14_PPB_Flash_Menu_Show(PP_Resource menu_id, const struct PP_Point* location, int32_t* selected_id, struct PP_CompletionCallback* callback) { 3204 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 3205 return iface->Show(menu_id, location, selected_id, *callback); 3206 } 3207 3208 /* End wrapper methods for PPB_Flash_Menu_0_2 */ 3209 3210 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */ 3211 3212 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ 3213 3214 /* Begin wrapper methods for PPB_HostResolver_Private_0_1 */ 3215 3216 static PP_Resource Pnacl_M19_PPB_HostResolver_Private_Create(PP_Instance instance) { 3217 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3218 return iface->Create(instance); 3219 } 3220 3221 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_IsHostResolver(PP_Resource resource) { 3222 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3223 return iface->IsHostResolver(resource); 3224 } 3225 3226 static int32_t Pnacl_M19_PPB_HostResolver_Private_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback* callback) { 3227 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3228 return iface->Resolve(host_resolver, host, port, hint, *callback); 3229 } 3230 3231 static void Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName(struct PP_Var* _struct_result, PP_Resource host_resolver) { 3232 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3233 *_struct_result = iface->GetCanonicalName(host_resolver); 3234 } 3235 3236 static uint32_t Pnacl_M19_PPB_HostResolver_Private_GetSize(PP_Resource host_resolver) { 3237 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3238 return iface->GetSize(host_resolver); 3239 } 3240 3241 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_GetNetAddress(PP_Resource host_resolver, uint32_t index, struct PP_NetAddress_Private* addr) { 3242 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 3243 return iface->GetNetAddress(host_resolver, index, addr); 3244 } 3245 3246 /* End wrapper methods for PPB_HostResolver_Private_0_1 */ 3247 3248 /* Not generating wrapper methods for PPB_InputEvent_Private_0_1 */ 3249 3250 /* Begin wrapper methods for PPB_Instance_Private_0_1 */ 3251 3252 static void Pnacl_M13_PPB_Instance_Private_GetWindowObject(struct PP_Var* _struct_result, PP_Instance instance) { 3253 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 3254 *_struct_result = iface->GetWindowObject(instance); 3255 } 3256 3257 static void Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject(struct PP_Var* _struct_result, PP_Instance instance) { 3258 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 3259 *_struct_result = iface->GetOwnerElementObject(instance); 3260 } 3261 3262 static void Pnacl_M13_PPB_Instance_Private_ExecuteScript(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* script, struct PP_Var* exception) { 3263 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 3264 *_struct_result = iface->ExecuteScript(instance, *script, exception); 3265 } 3266 3267 /* End wrapper methods for PPB_Instance_Private_0_1 */ 3268 3269 /* Begin wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */ 3270 3271 static int32_t Pnacl_M33_PPB_IsolatedFileSystem_Private_Open(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback* callback) { 3272 const struct PPB_IsolatedFileSystem_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2.real_iface; 3273 return iface->Open(instance, type, file_system, *callback); 3274 } 3275 3276 /* End wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */ 3277 3278 /* Not generating wrapper methods for PPP_ManifestService_1_0 */ 3279 3280 /* Begin wrapper methods for PPB_NaCl_Private_1_0 */ 3281 3282 static void Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr(PP_Instance instance, PP_Bool main_service_runtime, const char* alleged_url, PP_Bool uses_irt, PP_Bool uses_ppapi, PP_Bool uses_nonsfi_mode, PP_Bool enable_ppapi_dev, PP_Bool enable_dyncode_syscalls, PP_Bool enable_exception_handling, PP_Bool enable_crash_throttling, const struct PPP_ManifestService_1_0* manifest_service_interface, void* manifest_service_user_data, void* imc_handle, struct PP_CompletionCallback* callback) { 3283 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3284 iface->LaunchSelLdr(instance, main_service_runtime, alleged_url, uses_irt, uses_ppapi, uses_nonsfi_mode, enable_ppapi_dev, enable_dyncode_syscalls, enable_exception_handling, enable_crash_throttling, manifest_service_interface, manifest_service_user_data, imc_handle, *callback); 3285 } 3286 3287 static PP_Bool Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy(PP_Instance instance) { 3288 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3289 return iface->StartPpapiProxy(instance); 3290 } 3291 3292 static int32_t Pnacl_M25_PPB_NaCl_Private_UrandomFD(void) { 3293 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3294 return iface->UrandomFD(); 3295 } 3296 3297 static PP_Bool Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled(void) { 3298 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3299 return iface->Are3DInterfacesDisabled(); 3300 } 3301 3302 static int32_t Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle(PP_FileHandle source_handle, uint32_t process_id, PP_FileHandle* target_handle, uint32_t desired_access, uint32_t options) { 3303 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3304 return iface->BrokerDuplicateHandle(source_handle, process_id, target_handle, desired_access, options); 3305 } 3306 3307 static PP_FileHandle Pnacl_M25_PPB_NaCl_Private_GetReadonlyPnaclFd(const char* url) { 3308 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3309 return iface->GetReadonlyPnaclFd(url); 3310 } 3311 3312 static PP_FileHandle Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile(PP_Instance instance) { 3313 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3314 return iface->CreateTemporaryFile(instance); 3315 } 3316 3317 static int32_t Pnacl_M25_PPB_NaCl_Private_GetNumberOfProcessors(void) { 3318 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3319 return iface->GetNumberOfProcessors(); 3320 } 3321 3322 static PP_Bool Pnacl_M25_PPB_NaCl_Private_IsNonSFIModeEnabled(void) { 3323 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3324 return iface->IsNonSFIModeEnabled(); 3325 } 3326 3327 static int32_t Pnacl_M25_PPB_NaCl_Private_GetNexeFd(PP_Instance instance, const char* pexe_url, uint32_t abi_version, uint32_t opt_level, const char* headers, const char* extra_flags, PP_Bool* is_hit, PP_FileHandle* nexe_handle, struct PP_CompletionCallback* callback) { 3328 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3329 return iface->GetNexeFd(instance, pexe_url, abi_version, opt_level, headers, extra_flags, is_hit, nexe_handle, *callback); 3330 } 3331 3332 static void Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished(PP_Instance instance, PP_Bool success, int32_t opt_level, int64_t pexe_size, int64_t compile_time_us, int64_t total_time_us) { 3333 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3334 iface->ReportTranslationFinished(instance, success, opt_level, pexe_size, compile_time_us, total_time_us); 3335 } 3336 3337 static void Pnacl_M25_PPB_NaCl_Private_DispatchEvent(PP_Instance instance, PP_NaClEventType event_type, const char* resource_url, PP_Bool length_is_computable, uint64_t loaded_bytes, uint64_t total_bytes) { 3338 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3339 iface->DispatchEvent(instance, event_type, resource_url, length_is_computable, loaded_bytes, total_bytes); 3340 } 3341 3342 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadSuccess(PP_Instance instance, const char* url, uint64_t loaded_bytes, uint64_t total_bytes) { 3343 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3344 iface->ReportLoadSuccess(instance, url, loaded_bytes, total_bytes); 3345 } 3346 3347 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadError(PP_Instance instance, PP_NaClError error, const char* error_message) { 3348 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3349 iface->ReportLoadError(instance, error, error_message); 3350 } 3351 3352 static void Pnacl_M25_PPB_NaCl_Private_ReportLoadAbort(PP_Instance instance) { 3353 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3354 iface->ReportLoadAbort(instance); 3355 } 3356 3357 static void Pnacl_M25_PPB_NaCl_Private_NexeDidCrash(PP_Instance instance, const char* crash_log) { 3358 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3359 iface->NexeDidCrash(instance, crash_log); 3360 } 3361 3362 static void Pnacl_M25_PPB_NaCl_Private_InstanceCreated(PP_Instance instance) { 3363 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3364 iface->InstanceCreated(instance); 3365 } 3366 3367 static void Pnacl_M25_PPB_NaCl_Private_InstanceDestroyed(PP_Instance instance) { 3368 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3369 iface->InstanceDestroyed(instance); 3370 } 3371 3372 static PP_Bool Pnacl_M25_PPB_NaCl_Private_NaClDebugEnabledForURL(const char* alleged_nmf_url) { 3373 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3374 return iface->NaClDebugEnabledForURL(alleged_nmf_url); 3375 } 3376 3377 static const char* Pnacl_M25_PPB_NaCl_Private_GetSandboxArch(void) { 3378 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3379 return iface->GetSandboxArch(); 3380 } 3381 3382 static void Pnacl_M25_PPB_NaCl_Private_LogToConsole(PP_Instance instance, const char* message) { 3383 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3384 iface->LogToConsole(instance, message); 3385 } 3386 3387 static PP_NaClReadyState Pnacl_M25_PPB_NaCl_Private_GetNaClReadyState(PP_Instance instance) { 3388 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3389 return iface->GetNaClReadyState(instance); 3390 } 3391 3392 static int32_t Pnacl_M25_PPB_NaCl_Private_GetExitStatus(PP_Instance instance) { 3393 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3394 return iface->GetExitStatus(instance); 3395 } 3396 3397 static void Pnacl_M25_PPB_NaCl_Private_SetExitStatus(PP_Instance instance, int32_t exit_status) { 3398 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3399 iface->SetExitStatus(instance, exit_status); 3400 } 3401 3402 static void Pnacl_M25_PPB_NaCl_Private_Vlog(const char* message) { 3403 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3404 iface->Vlog(message); 3405 } 3406 3407 static void Pnacl_M25_PPB_NaCl_Private_InitializePlugin(PP_Instance instance, uint32_t argc, const char* argn[], const char* argv[]) { 3408 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3409 iface->InitializePlugin(instance, argc, argn, argv); 3410 } 3411 3412 static int64_t Pnacl_M25_PPB_NaCl_Private_GetNexeSize(PP_Instance instance) { 3413 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3414 return iface->GetNexeSize(instance); 3415 } 3416 3417 static void Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest(PP_Instance instance, struct PP_CompletionCallback* callback) { 3418 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3419 iface->RequestNaClManifest(instance, *callback); 3420 } 3421 3422 static void Pnacl_M25_PPB_NaCl_Private_GetManifestBaseURL(struct PP_Var* _struct_result, PP_Instance instance) { 3423 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3424 *_struct_result = iface->GetManifestBaseURL(instance); 3425 } 3426 3427 static void Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest(PP_Instance instance, const char* program_url) { 3428 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3429 iface->ProcessNaClManifest(instance, program_url); 3430 } 3431 3432 static PP_Bool Pnacl_M25_PPB_NaCl_Private_DevInterfacesEnabled(PP_Instance instance) { 3433 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3434 return iface->DevInterfacesEnabled(instance); 3435 } 3436 3437 static PP_Bool Pnacl_M25_PPB_NaCl_Private_GetManifestProgramURL(PP_Instance instance, struct PP_Var* full_url, struct PP_PNaClOptions* pnacl_options, PP_Bool* uses_nonsfi_mode) { 3438 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3439 return iface->GetManifestProgramURL(instance, full_url, pnacl_options, uses_nonsfi_mode); 3440 } 3441 3442 static PP_Bool Pnacl_M25_PPB_NaCl_Private_ManifestResolveKey(PP_Instance instance, PP_Bool helper_process, const char* key, struct PP_Var* full_url, struct PP_PNaClOptions* pnacl_options) { 3443 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3444 return iface->ManifestResolveKey(instance, helper_process, key, full_url, pnacl_options); 3445 } 3446 3447 static PP_Bool Pnacl_M25_PPB_NaCl_Private_GetPnaclResourceInfo(PP_Instance instance, const char* filename, struct PP_Var* llc_tool_name, struct PP_Var* ld_tool_name) { 3448 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3449 return iface->GetPnaclResourceInfo(instance, filename, llc_tool_name, ld_tool_name); 3450 } 3451 3452 static void Pnacl_M25_PPB_NaCl_Private_GetCpuFeatureAttrs(struct PP_Var* _struct_result) { 3453 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3454 *_struct_result = iface->GetCpuFeatureAttrs(); 3455 } 3456 3457 static void Pnacl_M25_PPB_NaCl_Private_PostMessageToJavaScript(PP_Instance instance, const char* message) { 3458 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3459 iface->PostMessageToJavaScript(instance, message); 3460 } 3461 3462 static void Pnacl_M25_PPB_NaCl_Private_DownloadNexe(PP_Instance instance, const char* url, struct PP_NaClFileInfo* file_info, struct PP_CompletionCallback* callback) { 3463 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3464 iface->DownloadNexe(instance, url, file_info, *callback); 3465 } 3466 3467 static void Pnacl_M25_PPB_NaCl_Private_DownloadFile(PP_Instance instance, const char* url, struct PP_NaClFileInfo* file_info, struct PP_CompletionCallback* callback) { 3468 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3469 iface->DownloadFile(instance, url, file_info, *callback); 3470 } 3471 3472 static void Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus(PP_Instance instance, int32_t load_status, int32_t max_status) { 3473 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3474 iface->ReportSelLdrStatus(instance, load_status, max_status); 3475 } 3476 3477 static void Pnacl_M25_PPB_NaCl_Private_LogTranslateTime(const char* histogram_name, int64_t time_us) { 3478 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3479 iface->LogTranslateTime(histogram_name, time_us); 3480 } 3481 3482 /* End wrapper methods for PPB_NaCl_Private_1_0 */ 3483 3484 /* Begin wrapper methods for PPB_NetAddress_Private_0_1 */ 3485 3486 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3487 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3488 return iface->AreEqual(addr1, addr2); 3489 } 3490 3491 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3492 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3493 return iface->AreHostsEqual(addr1, addr2); 3494 } 3495 3496 static void Pnacl_M17_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3497 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3498 *_struct_result = iface->Describe(module, addr, include_port); 3499 } 3500 3501 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3502 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3503 return iface->ReplacePort(src_addr, port, addr_out); 3504 } 3505 3506 static void Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3507 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3508 iface->GetAnyAddress(is_ipv6, addr); 3509 } 3510 3511 /* End wrapper methods for PPB_NetAddress_Private_0_1 */ 3512 3513 /* Begin wrapper methods for PPB_NetAddress_Private_1_0 */ 3514 3515 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3516 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3517 return iface->AreEqual(addr1, addr2); 3518 } 3519 3520 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3521 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3522 return iface->AreHostsEqual(addr1, addr2); 3523 } 3524 3525 static void Pnacl_M19_0_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3526 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3527 *_struct_result = iface->Describe(module, addr, include_port); 3528 } 3529 3530 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3531 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3532 return iface->ReplacePort(src_addr, port, addr_out); 3533 } 3534 3535 static void Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3536 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3537 iface->GetAnyAddress(is_ipv6, addr); 3538 } 3539 3540 static PP_NetAddressFamily_Private Pnacl_M19_0_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private* addr) { 3541 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3542 return iface->GetFamily(addr); 3543 } 3544 3545 static uint16_t Pnacl_M19_0_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private* addr) { 3546 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3547 return iface->GetPort(addr); 3548 } 3549 3550 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size) { 3551 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3552 return iface->GetAddress(addr, address, address_size); 3553 } 3554 3555 /* End wrapper methods for PPB_NetAddress_Private_1_0 */ 3556 3557 /* Begin wrapper methods for PPB_NetAddress_Private_1_1 */ 3558 3559 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3560 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3561 return iface->AreEqual(addr1, addr2); 3562 } 3563 3564 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3565 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3566 return iface->AreHostsEqual(addr1, addr2); 3567 } 3568 3569 static void Pnacl_M19_1_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3570 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3571 *_struct_result = iface->Describe(module, addr, include_port); 3572 } 3573 3574 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3575 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3576 return iface->ReplacePort(src_addr, port, addr_out); 3577 } 3578 3579 static void Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3580 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3581 iface->GetAnyAddress(is_ipv6, addr); 3582 } 3583 3584 static PP_NetAddressFamily_Private Pnacl_M19_1_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private* addr) { 3585 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3586 return iface->GetFamily(addr); 3587 } 3588 3589 static uint16_t Pnacl_M19_1_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private* addr) { 3590 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3591 return iface->GetPort(addr); 3592 } 3593 3594 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size) { 3595 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3596 return iface->GetAddress(addr, address, address_size); 3597 } 3598 3599 static uint32_t Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID(const struct PP_NetAddress_Private* addr) { 3600 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3601 return iface->GetScopeID(addr); 3602 } 3603 3604 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out) { 3605 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3606 iface->CreateFromIPv4Address(ip, port, addr_out); 3607 } 3608 3609 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3610 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3611 iface->CreateFromIPv6Address(ip, scope_id, port, addr_out); 3612 } 3613 3614 /* End wrapper methods for PPB_NetAddress_Private_1_1 */ 3615 3616 /* Begin wrapper methods for PPB_OutputProtection_Private_0_1 */ 3617 3618 static PP_Resource Pnacl_M31_PPB_OutputProtection_Private_Create(PP_Instance instance) { 3619 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3620 return iface->Create(instance); 3621 } 3622 3623 static PP_Bool Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection(PP_Resource resource) { 3624 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3625 return iface->IsOutputProtection(resource); 3626 } 3627 3628 static int32_t Pnacl_M31_PPB_OutputProtection_Private_QueryStatus(PP_Resource resource, uint32_t* link_mask, uint32_t* protection_mask, struct PP_CompletionCallback* callback) { 3629 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3630 return iface->QueryStatus(resource, link_mask, protection_mask, *callback); 3631 } 3632 3633 static int32_t Pnacl_M31_PPB_OutputProtection_Private_EnableProtection(PP_Resource resource, uint32_t desired_protection_mask, struct PP_CompletionCallback* callback) { 3634 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3635 return iface->EnableProtection(resource, desired_protection_mask, *callback); 3636 } 3637 3638 /* End wrapper methods for PPB_OutputProtection_Private_0_1 */ 3639 3640 /* Begin wrapper methods for PPB_PlatformVerification_Private_0_2 */ 3641 3642 static PP_Resource Pnacl_M32_PPB_PlatformVerification_Private_Create(PP_Instance instance) { 3643 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3644 return iface->Create(instance); 3645 } 3646 3647 static PP_Bool Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification(PP_Resource resource) { 3648 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3649 return iface->IsPlatformVerification(resource); 3650 } 3651 3652 static int32_t Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform(PP_Resource instance, struct PP_Var* service_id, struct PP_Var* challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback* callback) { 3653 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3654 return iface->ChallengePlatform(instance, *service_id, *challenge, signed_data, signed_data_signature, platform_key_certificate, *callback); 3655 } 3656 3657 /* End wrapper methods for PPB_PlatformVerification_Private_0_2 */ 3658 3659 /* Begin wrapper methods for PPB_Talk_Private_1_0 */ 3660 3661 static PP_Resource Pnacl_M19_PPB_Talk_Private_Create(PP_Instance instance) { 3662 const struct PPB_Talk_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_1_0.real_iface; 3663 return iface->Create(instance); 3664 } 3665 3666 static int32_t Pnacl_M19_PPB_Talk_Private_GetPermission(PP_Resource talk_resource, struct PP_CompletionCallback* callback) { 3667 const struct PPB_Talk_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_1_0.real_iface; 3668 return iface->GetPermission(talk_resource, *callback); 3669 } 3670 3671 /* End wrapper methods for PPB_Talk_Private_1_0 */ 3672 3673 /* Begin wrapper methods for PPB_Talk_Private_2_0 */ 3674 3675 static PP_Resource Pnacl_M29_PPB_Talk_Private_Create(PP_Instance instance) { 3676 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3677 return iface->Create(instance); 3678 } 3679 3680 static int32_t Pnacl_M29_PPB_Talk_Private_RequestPermission(PP_Resource talk_resource, PP_TalkPermission permission, struct PP_CompletionCallback* callback) { 3681 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3682 return iface->RequestPermission(talk_resource, permission, *callback); 3683 } 3684 3685 static int32_t Pnacl_M29_PPB_Talk_Private_StartRemoting(PP_Resource talk_resource, PP_TalkEventCallback event_callback, void* user_data, struct PP_CompletionCallback* callback) { 3686 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3687 return iface->StartRemoting(talk_resource, event_callback, user_data, *callback); 3688 } 3689 3690 static int32_t Pnacl_M29_PPB_Talk_Private_StopRemoting(PP_Resource talk_resource, struct PP_CompletionCallback* callback) { 3691 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3692 return iface->StopRemoting(talk_resource, *callback); 3693 } 3694 3695 /* End wrapper methods for PPB_Talk_Private_2_0 */ 3696 3697 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_1 */ 3698 3699 static PP_Resource Pnacl_M18_PPB_TCPServerSocket_Private_Create(PP_Instance instance) { 3700 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3701 return iface->Create(instance); 3702 } 3703 3704 static PP_Bool Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource) { 3705 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3706 return iface->IsTCPServerSocket(resource); 3707 } 3708 3709 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback* callback) { 3710 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3711 return iface->Listen(tcp_server_socket, addr, backlog, *callback); 3712 } 3713 3714 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback* callback) { 3715 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3716 return iface->Accept(tcp_server_socket, tcp_socket, *callback); 3717 } 3718 3719 static void Pnacl_M18_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket) { 3720 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3721 iface->StopListening(tcp_server_socket); 3722 } 3723 3724 /* End wrapper methods for PPB_TCPServerSocket_Private_0_1 */ 3725 3726 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_2 */ 3727 3728 static PP_Resource Pnacl_M28_PPB_TCPServerSocket_Private_Create(PP_Instance instance) { 3729 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3730 return iface->Create(instance); 3731 } 3732 3733 static PP_Bool Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource) { 3734 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3735 return iface->IsTCPServerSocket(resource); 3736 } 3737 3738 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback* callback) { 3739 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3740 return iface->Listen(tcp_server_socket, addr, backlog, *callback); 3741 } 3742 3743 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback* callback) { 3744 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3745 return iface->Accept(tcp_server_socket, tcp_socket, *callback); 3746 } 3747 3748 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress(PP_Resource tcp_server_socket, struct PP_NetAddress_Private* addr) { 3749 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3750 return iface->GetLocalAddress(tcp_server_socket, addr); 3751 } 3752 3753 static void Pnacl_M28_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket) { 3754 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3755 iface->StopListening(tcp_server_socket); 3756 } 3757 3758 /* End wrapper methods for PPB_TCPServerSocket_Private_0_2 */ 3759 3760 /* Begin wrapper methods for PPB_TCPSocket_Private_0_3 */ 3761 3762 static PP_Resource Pnacl_M17_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3763 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3764 return iface->Create(instance); 3765 } 3766 3767 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3768 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3769 return iface->IsTCPSocket(resource); 3770 } 3771 3772 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3773 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3774 return iface->Connect(tcp_socket, host, port, *callback); 3775 } 3776 3777 static int32_t Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3778 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3779 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3780 } 3781 3782 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3783 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3784 return iface->GetLocalAddress(tcp_socket, local_addr); 3785 } 3786 3787 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3788 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3789 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3790 } 3791 3792 static int32_t Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3793 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3794 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3795 } 3796 3797 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3798 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3799 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3800 } 3801 3802 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3803 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3804 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3805 } 3806 3807 static void Pnacl_M17_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3808 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3809 iface->Disconnect(tcp_socket); 3810 } 3811 3812 /* End wrapper methods for PPB_TCPSocket_Private_0_3 */ 3813 3814 /* Begin wrapper methods for PPB_TCPSocket_Private_0_4 */ 3815 3816 static PP_Resource Pnacl_M20_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3817 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3818 return iface->Create(instance); 3819 } 3820 3821 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3822 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3823 return iface->IsTCPSocket(resource); 3824 } 3825 3826 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3827 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3828 return iface->Connect(tcp_socket, host, port, *callback); 3829 } 3830 3831 static int32_t Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3832 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3833 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3834 } 3835 3836 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3837 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3838 return iface->GetLocalAddress(tcp_socket, local_addr); 3839 } 3840 3841 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3842 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3843 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3844 } 3845 3846 static int32_t Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3847 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3848 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3849 } 3850 3851 static PP_Resource Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket) { 3852 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3853 return iface->GetServerCertificate(tcp_socket); 3854 } 3855 3856 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted) { 3857 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3858 return iface->AddChainBuildingCertificate(tcp_socket, certificate, is_trusted); 3859 } 3860 3861 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3862 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3863 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3864 } 3865 3866 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3867 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3868 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3869 } 3870 3871 static void Pnacl_M20_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3872 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3873 iface->Disconnect(tcp_socket); 3874 } 3875 3876 /* End wrapper methods for PPB_TCPSocket_Private_0_4 */ 3877 3878 /* Begin wrapper methods for PPB_TCPSocket_Private_0_5 */ 3879 3880 static PP_Resource Pnacl_M27_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3881 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3882 return iface->Create(instance); 3883 } 3884 3885 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3886 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3887 return iface->IsTCPSocket(resource); 3888 } 3889 3890 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3891 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3892 return iface->Connect(tcp_socket, host, port, *callback); 3893 } 3894 3895 static int32_t Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3896 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3897 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3898 } 3899 3900 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3901 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3902 return iface->GetLocalAddress(tcp_socket, local_addr); 3903 } 3904 3905 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3906 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3907 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3908 } 3909 3910 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3911 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3912 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3913 } 3914 3915 static PP_Resource Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket) { 3916 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3917 return iface->GetServerCertificate(tcp_socket); 3918 } 3919 3920 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted) { 3921 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3922 return iface->AddChainBuildingCertificate(tcp_socket, certificate, is_trusted); 3923 } 3924 3925 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3926 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3927 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3928 } 3929 3930 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3931 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3932 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3933 } 3934 3935 static void Pnacl_M27_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3936 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3937 iface->Disconnect(tcp_socket); 3938 } 3939 3940 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SetOption(PP_Resource tcp_socket, PP_TCPSocketOption_Private name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 3941 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3942 return iface->SetOption(tcp_socket, name, *value, *callback); 3943 } 3944 3945 /* End wrapper methods for PPB_TCPSocket_Private_0_5 */ 3946 3947 /* Begin wrapper methods for PPB_Testing_Private_1_0 */ 3948 3949 static PP_Bool Pnacl_M33_PPB_Testing_Private_ReadImageData(PP_Resource device_context_2d, PP_Resource image, const struct PP_Point* top_left) { 3950 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3951 return iface->ReadImageData(device_context_2d, image, top_left); 3952 } 3953 3954 static void Pnacl_M33_PPB_Testing_Private_RunMessageLoop(PP_Instance instance) { 3955 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3956 iface->RunMessageLoop(instance); 3957 } 3958 3959 static void Pnacl_M33_PPB_Testing_Private_QuitMessageLoop(PP_Instance instance) { 3960 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3961 iface->QuitMessageLoop(instance); 3962 } 3963 3964 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance(PP_Instance instance) { 3965 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3966 return iface->GetLiveObjectsForInstance(instance); 3967 } 3968 3969 static PP_Bool Pnacl_M33_PPB_Testing_Private_IsOutOfProcess(void) { 3970 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3971 return iface->IsOutOfProcess(); 3972 } 3973 3974 static void Pnacl_M33_PPB_Testing_Private_SimulateInputEvent(PP_Instance instance, PP_Resource input_event) { 3975 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3976 iface->SimulateInputEvent(instance, input_event); 3977 } 3978 3979 static void Pnacl_M33_PPB_Testing_Private_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 3980 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3981 *_struct_result = iface->GetDocumentURL(instance, components); 3982 } 3983 3984 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveVars(struct PP_Var live_vars[], uint32_t array_size) { 3985 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3986 return iface->GetLiveVars(live_vars, array_size); 3987 } 3988 3989 static void Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem(PP_Instance instance, uint32_t threshold) { 3990 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3991 iface->SetMinimumArrayBufferSizeForShmem(instance, threshold); 3992 } 3993 3994 /* End wrapper methods for PPB_Testing_Private_1_0 */ 3995 3996 /* Begin wrapper methods for PPB_UDPSocket_Private_0_2 */ 3997 3998 static PP_Resource Pnacl_M17_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 3999 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4000 return iface->Create(instance_id); 4001 } 4002 4003 static PP_Bool Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 4004 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4005 return iface->IsUDPSocket(resource_id); 4006 } 4007 4008 static int32_t Pnacl_M17_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4009 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4010 return iface->Bind(udp_socket, addr, *callback); 4011 } 4012 4013 static int32_t Pnacl_M17_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 4014 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4015 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 4016 } 4017 4018 static PP_Bool Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 4019 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4020 return iface->GetRecvFromAddress(udp_socket, addr); 4021 } 4022 4023 static int32_t Pnacl_M17_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4024 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4025 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 4026 } 4027 4028 static void Pnacl_M17_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 4029 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 4030 iface->Close(udp_socket); 4031 } 4032 4033 /* End wrapper methods for PPB_UDPSocket_Private_0_2 */ 4034 4035 /* Begin wrapper methods for PPB_UDPSocket_Private_0_3 */ 4036 4037 static PP_Resource Pnacl_M19_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 4038 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4039 return iface->Create(instance_id); 4040 } 4041 4042 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 4043 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4044 return iface->IsUDPSocket(resource_id); 4045 } 4046 4047 static int32_t Pnacl_M19_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4048 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4049 return iface->Bind(udp_socket, addr, *callback); 4050 } 4051 4052 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 4053 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4054 return iface->GetBoundAddress(udp_socket, addr); 4055 } 4056 4057 static int32_t Pnacl_M19_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 4058 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4059 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 4060 } 4061 4062 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 4063 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4064 return iface->GetRecvFromAddress(udp_socket, addr); 4065 } 4066 4067 static int32_t Pnacl_M19_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4068 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4069 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 4070 } 4071 4072 static void Pnacl_M19_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 4073 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 4074 iface->Close(udp_socket); 4075 } 4076 4077 /* End wrapper methods for PPB_UDPSocket_Private_0_3 */ 4078 4079 /* Begin wrapper methods for PPB_UDPSocket_Private_0_4 */ 4080 4081 static PP_Resource Pnacl_M23_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 4082 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4083 return iface->Create(instance_id); 4084 } 4085 4086 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 4087 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4088 return iface->IsUDPSocket(resource_id); 4089 } 4090 4091 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature(PP_Resource udp_socket, PP_UDPSocketFeature_Private name, struct PP_Var* value) { 4092 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4093 return iface->SetSocketFeature(udp_socket, name, *value); 4094 } 4095 4096 static int32_t Pnacl_M23_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4097 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4098 return iface->Bind(udp_socket, addr, *callback); 4099 } 4100 4101 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 4102 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4103 return iface->GetBoundAddress(udp_socket, addr); 4104 } 4105 4106 static int32_t Pnacl_M23_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 4107 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4108 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 4109 } 4110 4111 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 4112 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4113 return iface->GetRecvFromAddress(udp_socket, addr); 4114 } 4115 4116 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 4117 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4118 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 4119 } 4120 4121 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 4122 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 4123 iface->Close(udp_socket); 4124 } 4125 4126 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */ 4127 4128 /* Begin wrapper methods for PPB_UMA_Private_0_3 */ 4129 4130 static void Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes(PP_Instance instance, struct PP_Var* name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) { 4131 const struct PPB_UMA_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_3.real_iface; 4132 iface->HistogramCustomTimes(instance, *name, sample, min, max, bucket_count); 4133 } 4134 4135 static void Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts(PP_Instance instance, struct PP_Var* name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) { 4136 const struct PPB_UMA_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_3.real_iface; 4137 iface->HistogramCustomCounts(instance, *name, sample, min, max, bucket_count); 4138 } 4139 4140 static void Pnacl_M35_PPB_UMA_Private_HistogramEnumeration(PP_Instance instance, struct PP_Var* name, int32_t sample, int32_t boundary_value) { 4141 const struct PPB_UMA_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_3.real_iface; 4142 iface->HistogramEnumeration(instance, *name, sample, boundary_value); 4143 } 4144 4145 static int32_t Pnacl_M35_PPB_UMA_Private_IsCrashReportingEnabled(PP_Instance instance, struct PP_CompletionCallback* callback) { 4146 const struct PPB_UMA_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_3.real_iface; 4147 return iface->IsCrashReportingEnabled(instance, *callback); 4148 } 4149 4150 /* End wrapper methods for PPB_UMA_Private_0_3 */ 4151 4152 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */ 4153 4154 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance instance) { 4155 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 4156 return iface->Create(instance); 4157 } 4158 4159 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Resource resource) { 4160 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 4161 return iface->IsVideoDestination(resource); 4162 } 4163 4164 static int32_t Pnacl_M28_PPB_VideoDestination_Private_Open(PP_Resource destination, struct PP_Var* stream_url, struct PP_CompletionCallback* callback) { 4165 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 4166 return iface->Open(destination, *stream_url, *callback); 4167 } 4168 4169 static int32_t Pnacl_M28_PPB_VideoDestination_Private_PutFrame(PP_Resource destination, const struct PP_VideoFrame_Private* frame) { 4170 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 4171 return iface->PutFrame(destination, frame); 4172 } 4173 4174 static void Pnacl_M28_PPB_VideoDestination_Private_Close(PP_Resource destination) { 4175 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 4176 iface->Close(destination); 4177 } 4178 4179 /* End wrapper methods for PPB_VideoDestination_Private_0_1 */ 4180 4181 /* Begin wrapper methods for PPB_VideoSource_Private_0_1 */ 4182 4183 static PP_Resource Pnacl_M28_PPB_VideoSource_Private_Create(PP_Instance instance) { 4184 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 4185 return iface->Create(instance); 4186 } 4187 4188 static PP_Bool Pnacl_M28_PPB_VideoSource_Private_IsVideoSource(PP_Resource resource) { 4189 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 4190 return iface->IsVideoSource(resource); 4191 } 4192 4193 static int32_t Pnacl_M28_PPB_VideoSource_Private_Open(PP_Resource source, struct PP_Var* stream_url, struct PP_CompletionCallback* callback) { 4194 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 4195 return iface->Open(source, *stream_url, *callback); 4196 } 4197 4198 static int32_t Pnacl_M28_PPB_VideoSource_Private_GetFrame(PP_Resource source, struct PP_VideoFrame_Private* frame, struct PP_CompletionCallback* callback) { 4199 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 4200 return iface->GetFrame(source, frame, *callback); 4201 } 4202 4203 static void Pnacl_M28_PPB_VideoSource_Private_Close(PP_Resource source) { 4204 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 4205 iface->Close(source); 4206 } 4207 4208 /* End wrapper methods for PPB_VideoSource_Private_0_1 */ 4209 4210 /* Begin wrapper methods for PPB_X509Certificate_Private_0_1 */ 4211 4212 static PP_Resource Pnacl_M19_PPB_X509Certificate_Private_Create(PP_Instance instance) { 4213 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 4214 return iface->Create(instance); 4215 } 4216 4217 static PP_Bool Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate(PP_Resource resource) { 4218 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 4219 return iface->IsX509CertificatePrivate(resource); 4220 } 4221 4222 static PP_Bool Pnacl_M19_PPB_X509Certificate_Private_Initialize(PP_Resource resource, const char* bytes, uint32_t length) { 4223 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 4224 return iface->Initialize(resource, bytes, length); 4225 } 4226 4227 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struct_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 4228 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 4229 *_struct_result = iface->GetField(resource, field); 4230 } 4231 4232 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 4233 4234 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_12 */ 4235 4236 static void Pnacl_M36_PPP_ContentDecryptor_Private_Initialize(PP_Instance instance, struct PP_Var key_system) { 4237 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4238 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = 4239 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initialize); 4240 temp_fp(instance, &key_system); 4241 } 4242 4243 static void Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession(PP_Instance instance, uint32_t promise_id, struct PP_Var init_data_type, struct PP_Var init_data, PP_SessionType session_type) { 4244 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4245 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_data_type, struct PP_Var* init_data, PP_SessionType session_type) = 4246 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_data_type, struct PP_Var* init_data, PP_SessionType session_type))iface->CreateSession); 4247 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); 4248 } 4249 4250 static void Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession(PP_Instance instance, uint32_t promise_id, struct PP_Var web_session_id) { 4251 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4252 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) = 4253 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id))iface->LoadSession); 4254 temp_fp(instance, promise_id, &web_session_id); 4255 } 4256 4257 static void Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance instance, uint32_t promise_id, struct PP_Var web_session_id, struct PP_Var response) { 4258 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4259 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id, struct PP_Var* response) = 4260 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id, struct PP_Var* response))iface->UpdateSession); 4261 temp_fp(instance, promise_id, &web_session_id, &response); 4262 } 4263 4264 static void Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance instance, uint32_t promise_id, struct PP_Var web_session_id) { 4265 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4266 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id) = 4267 ((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* web_session_id))iface->ReleaseSession); 4268 temp_fp(instance, promise_id, &web_session_id); 4269 } 4270 4271 static void Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) { 4272 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4273 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = 4274 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 4275 temp_fp(instance, encrypted_block, encrypted_block_info); 4276 } 4277 4278 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4279 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4280 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) = 4281 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 4282 temp_fp(instance, decoder_config, codec_extra_data); 4283 } 4284 4285 static void Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 4286 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4287 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) = 4288 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 4289 temp_fp(instance, decoder_config, codec_extra_data); 4290 } 4291 4292 static void Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4293 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4294 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) = 4295 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))iface->DeinitializeDecoder); 4296 temp_fp(instance, decoder_type, request_id); 4297 } 4298 4299 static void Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 4300 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4301 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) = 4302 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))iface->ResetDecoder); 4303 temp_fp(instance, decoder_type, request_id); 4304 } 4305 4306 static void Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info) { 4307 const struct PPP_ContentDecryptor_Private_0_12 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12.real_iface; 4308 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info) = 4309 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->DecryptAndDecode); 4310 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 4311 } 4312 4313 /* End wrapper methods for PPP_ContentDecryptor_Private_0_12 */ 4314 4315 /* Not generating wrapper methods for PPP_Find_Private_0_3 */ 4316 4317 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 4318 4319 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 4320 4321 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 4322 4323 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 4324 4325 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instance instance) { 4326 const struct PPP_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_Instance_Private_0_1.real_iface; 4327 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance) = 4328 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance))iface->GetInstanceObject); 4329 struct PP_Var _struct_result; 4330 temp_fp(&_struct_result, instance); 4331 return _struct_result; 4332 } 4333 4334 /* End wrapper methods for PPP_Instance_Private_0_1 */ 4335 4336 /* Not generating wrapper interface for PPB_Audio_1_0 */ 4337 4338 /* Not generating wrapper interface for PPB_Audio_1_1 */ 4339 4340 /* Not generating wrapper interface for PPB_AudioBuffer_0_1 */ 4341 4342 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 4343 4344 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ 4345 4346 static const struct PPB_Compositor_0_1 Pnacl_Wrappers_PPB_Compositor_0_1 = { 4347 .IsCompositor = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_Compositor_IsCompositor, 4348 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M37_PPB_Compositor_Create, 4349 .AddLayer = (PP_Resource (*)(PP_Resource compositor))&Pnacl_M37_PPB_Compositor_AddLayer, 4350 .CommitLayers = (int32_t (*)(PP_Resource compositor, struct PP_CompletionCallback cc))&Pnacl_M37_PPB_Compositor_CommitLayers, 4351 .ResetLayers = (int32_t (*)(PP_Resource compositor))&Pnacl_M37_PPB_Compositor_ResetLayers 4352 }; 4353 4354 static const struct PPB_CompositorLayer_0_1 Pnacl_Wrappers_PPB_CompositorLayer_0_1 = { 4355 .IsCompositorLayer = (PP_Bool (*)(PP_Resource resource))&Pnacl_M37_PPB_CompositorLayer_IsCompositorLayer, 4356 .SetColor = (int32_t (*)(PP_Resource layer, float red, float green, float blue, float alpha, const struct PP_Size* size))&Pnacl_M37_PPB_CompositorLayer_SetColor, 4357 .SetTexture = (int32_t (*)(PP_Resource layer, PP_Resource context, uint32_t texture, const struct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37_PPB_CompositorLayer_SetTexture, 4358 .SetImage = (int32_t (*)(PP_Resource layer, PP_Resource image_data, const struct PP_Size* size, struct PP_CompletionCallback cc))&Pnacl_M37_PPB_CompositorLayer_SetImage, 4359 .SetClipRect = (int32_t (*)(PP_Resource layer, const struct PP_Rect* rect))&Pnacl_M37_PPB_CompositorLayer_SetClipRect, 4360 .SetTransform = (int32_t (*)(PP_Resource layer, const float matrix[16]))&Pnacl_M37_PPB_CompositorLayer_SetTransform, 4361 .SetOpacity = (int32_t (*)(PP_Resource layer, float opacity))&Pnacl_M37_PPB_CompositorLayer_SetOpacity, 4362 .SetBlendMode = (int32_t (*)(PP_Resource layer, PP_BlendMode mode))&Pnacl_M37_PPB_CompositorLayer_SetBlendMode, 4363 .SetSourceRect = (int32_t (*)(PP_Resource layer, const struct PP_FloatRect* rect))&Pnacl_M37_PPB_CompositorLayer_SetSourceRect, 4364 .SetPremultipliedAlpha = (int32_t (*)(PP_Resource layer, PP_Bool premult))&Pnacl_M37_PPB_CompositorLayer_SetPremultipliedAlpha 4365 }; 4366 4367 static const struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { 4368 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var value))&Pnacl_M25_PPB_Console_Log, 4369 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource 4370 }; 4371 4372 static const struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { 4373 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRefResource, 4374 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_ReleaseResource, 4375 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, 4376 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, 4377 .CallOnMainThread = (void (*)(int32_t delay_in_milliseconds, struct PP_CompletionCallback callback, int32_t result))&Pnacl_M14_PPB_Core_CallOnMainThread, 4378 .IsMainThread = (PP_Bool (*)(void))&Pnacl_M14_PPB_Core_IsMainThread 4379 }; 4380 4381 static const struct PPB_FileIO_1_0 Pnacl_Wrappers_PPB_FileIO_1_0 = { 4382 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_FileIO_Create, 4383 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileIO_IsFileIO, 4384 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Open, 4385 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Query, 4386 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Touch, 4387 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Read, 4388 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Write, 4389 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_SetLength, 4390 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Flush, 4391 .Close = (void (*)(PP_Resource file_io))&Pnacl_M14_PPB_FileIO_Close 4392 }; 4393 4394 static const struct PPB_FileIO_1_1 Pnacl_Wrappers_PPB_FileIO_1_1 = { 4395 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_FileIO_Create, 4396 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M25_PPB_FileIO_IsFileIO, 4397 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Open, 4398 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query, 4399 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Touch, 4400 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Read, 4401 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Write, 4402 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength, 4403 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Flush, 4404 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close, 4405 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_ReadToArray 4406 }; 4407 4408 static const struct PPB_FileMapping_0_1 Pnacl_Wrappers_PPB_FileMapping_0_1 = { 4409 .Map = (int32_t (*)(PP_Instance instance, PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Map, 4410 .Unmap = (int32_t (*)(PP_Instance instance, const void* address, int64_t length, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Unmap, 4411 .GetMapPageSize = (int64_t (*)(PP_Instance instance))&Pnacl_M34_PPB_FileMapping_GetMapPageSize 4412 }; 4413 4414 static const struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = { 4415 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl_M14_PPB_FileRef_Create, 4416 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFileRef, 4417 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetFileSystemType, 4418 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetName, 4419 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetPath, 4420 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetParent, 4421 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory, 4422 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Touch, 4423 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Delete, 4424 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename 4425 }; 4426 4427 static const struct PPB_FileRef_1_1 Pnacl_Wrappers_PPB_FileRef_1_1 = { 4428 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl_M28_PPB_FileRef_Create, 4429 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_FileRef_IsFileRef, 4430 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetFileSystemType, 4431 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetName, 4432 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetPath, 4433 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetParent, 4434 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory, 4435 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Touch, 4436 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Delete, 4437 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename, 4438 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query, 4439 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadDirectoryEntries 4440 }; 4441 4442 static const struct PPB_FileRef_1_2 Pnacl_Wrappers_PPB_FileRef_1_2 = { 4443 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl_M34_PPB_FileRef_Create, 4444 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB_FileRef_IsFileRef, 4445 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_GetFileSystemType, 4446 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_GetName, 4447 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_GetPath, 4448 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_GetParent, 4449 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, int32_t make_directory_flags, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_MakeDirectory, 4450 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Touch, 4451 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Delete, 4452 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Rename, 4453 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Query, 4454 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_ReadDirectoryEntries 4455 }; 4456 4457 static const struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { 4458 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pnacl_M14_PPB_FileSystem_Create, 4459 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem_IsFileSystem, 4460 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, 4461 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_FileSystem_GetType 4462 }; 4463 4464 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ 4465 4466 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ 4467 4468 static const struct PPB_Graphics2D_1_0 Pnacl_Wrappers_PPB_Graphics2D_1_0 = { 4469 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Create, 4470 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Graphics2D_IsGraphics2D, 4471 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Describe, 4472 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M14_PPB_Graphics2D_PaintImageData, 4473 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount))&Pnacl_M14_PPB_Graphics2D_Scroll, 4474 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data))&Pnacl_M14_PPB_Graphics2D_ReplaceContents, 4475 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Graphics2D_Flush 4476 }; 4477 4478 static const struct PPB_Graphics2D_1_1 Pnacl_Wrappers_PPB_Graphics2D_1_1 = { 4479 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Create, 4480 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_IsGraphics2D, 4481 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Describe, 4482 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M27_PPB_Graphics2D_PaintImageData, 4483 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount))&Pnacl_M27_PPB_Graphics2D_Scroll, 4484 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data))&Pnacl_M27_PPB_Graphics2D_ReplaceContents, 4485 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_Graphics2D_Flush, 4486 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_Graphics2D_SetScale, 4487 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_GetScale 4488 }; 4489 4490 static const struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { 4491 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, int32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, 4492 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context, const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, 4493 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D_IsGraphics3D, 4494 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_GetAttribs, 4495 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_SetAttribs, 4496 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetError, 4497 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t height))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, 4498 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallback callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers 4499 }; 4500 4501 static const struct PPB_HostResolver_1_0 Pnacl_Wrappers_PPB_HostResolver_1_0 = { 4502 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_HostResolver_Create, 4503 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_HostResolver_IsHostResolver, 4504 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_HostResolver_Resolve, 4505 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M29_PPB_HostResolver_GetCanonicalName, 4506 .GetNetAddressCount = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M29_PPB_HostResolver_GetNetAddressCount, 4507 .GetNetAddress = (PP_Resource (*)(PP_Resource host_resolver, uint32_t index))&Pnacl_M29_PPB_HostResolver_GetNetAddress 4508 }; 4509 4510 /* Not generating wrapper interface for PPB_ImageData_1_0 */ 4511 4512 /* Not generating wrapper interface for PPB_InputEvent_1_0 */ 4513 4514 static const struct PPB_MouseInputEvent_1_0 Pnacl_Wrappers_PPB_MouseInputEvent_1_0 = { 4515 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count))&Pnacl_M13_PPB_MouseInputEvent_Create, 4516 .IsMouseInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent, 4517 .GetButton = (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetButton, 4518 .GetPosition = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetPosition, 4519 .GetClickCount = (int32_t (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetClickCount 4520 }; 4521 4522 static const struct PPB_MouseInputEvent_1_1 Pnacl_Wrappers_PPB_MouseInputEvent_1_1 = { 4523 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count, const struct PP_Point* mouse_movement))&Pnacl_M14_PPB_MouseInputEvent_Create, 4524 .IsMouseInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent, 4525 .GetButton = (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetButton, 4526 .GetPosition = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetPosition, 4527 .GetClickCount = (int32_t (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetClickCount, 4528 .GetMovement = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetMovement 4529 }; 4530 4531 static const struct PPB_WheelInputEvent_1_0 Pnacl_Wrappers_PPB_WheelInputEvent_1_0 = { 4532 .Create = (PP_Resource (*)(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint* wheel_delta, const struct PP_FloatPoint* wheel_ticks, PP_Bool scroll_by_page))&Pnacl_M13_PPB_WheelInputEvent_Create, 4533 .IsWheelInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent, 4534 .GetDelta = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetDelta, 4535 .GetTicks = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetTicks, 4536 .GetScrollByPage = (PP_Bool (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage 4537 }; 4538 4539 static const struct PPB_KeyboardInputEvent_1_0 Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0 = { 4540 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var character_text))&Pnacl_M13_PPB_KeyboardInputEvent_Create, 4541 .IsKeyboardInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent, 4542 .GetKeyCode = (uint32_t (*)(PP_Resource key_event))&Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode, 4543 .GetCharacterText = (struct PP_Var (*)(PP_Resource character_event))&Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText 4544 }; 4545 4546 static const struct PPB_KeyboardInputEvent_1_2 Pnacl_Wrappers_PPB_KeyboardInputEvent_1_2 = { 4547 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var character_text, struct PP_Var code))&Pnacl_M34_PPB_KeyboardInputEvent_Create, 4548 .IsKeyboardInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB_KeyboardInputEvent_IsKeyboardInputEvent, 4549 .GetKeyCode = (uint32_t (*)(PP_Resource key_event))&Pnacl_M34_PPB_KeyboardInputEvent_GetKeyCode, 4550 .GetCharacterText = (struct PP_Var (*)(PP_Resource character_event))&Pnacl_M34_PPB_KeyboardInputEvent_GetCharacterText, 4551 .GetCode = (struct PP_Var (*)(PP_Resource key_event))&Pnacl_M34_PPB_KeyboardInputEvent_GetCode 4552 }; 4553 4554 static const struct PPB_TouchInputEvent_1_0 Pnacl_Wrappers_PPB_TouchInputEvent_1_0 = { 4555 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers))&Pnacl_M13_PPB_TouchInputEvent_Create, 4556 .AddTouchPoint = (void (*)(PP_Resource touch_event, PP_TouchListType list, const struct PP_TouchPoint* point))&Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint, 4557 .IsTouchInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent, 4558 .GetTouchCount = (uint32_t (*)(PP_Resource resource, PP_TouchListType list))&Pnacl_M13_PPB_TouchInputEvent_GetTouchCount, 4559 .GetTouchByIndex = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchListType list, uint32_t index))&Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex, 4560 .GetTouchById = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchListType list, uint32_t touch_id))&Pnacl_M13_PPB_TouchInputEvent_GetTouchById 4561 }; 4562 4563 static const struct PPB_IMEInputEvent_1_0 Pnacl_Wrappers_PPB_IMEInputEvent_1_0 = { 4564 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M13_PPB_IMEInputEvent_Create, 4565 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent, 4566 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetText, 4567 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber, 4568 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset, 4569 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment, 4570 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection 4571 }; 4572 4573 /* Not generating wrapper interface for PPB_Instance_1_0 */ 4574 4575 static const struct PPB_MediaStreamAudioTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1 = { 4576 .IsMediaStreamAudioTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M35_PPB_MediaStreamAudioTrack_IsMediaStreamAudioTrack, 4577 .Configure = (int32_t (*)(PP_Resource audio_track, const int32_t attrib_list[], struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_Configure, 4578 .GetAttrib = (int32_t (*)(PP_Resource audio_track, PP_MediaStreamAudioTrack_Attrib attrib, int32_t* value))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetAttrib, 4579 .GetId = (struct PP_Var (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetId, 4580 .HasEnded = (PP_Bool (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStreamAudioTrack_HasEnded, 4581 .GetBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource* buffer, struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamAudioTrack_GetBuffer, 4582 .RecycleBuffer = (int32_t (*)(PP_Resource audio_track, PP_Resource buffer))&Pnacl_M35_PPB_MediaStreamAudioTrack_RecycleBuffer, 4583 .Close = (void (*)(PP_Resource audio_track))&Pnacl_M35_PPB_MediaStreamAudioTrack_Close 4584 }; 4585 4586 static const struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1 = { 4587 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M35_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack, 4588 .Configure = (int32_t (*)(PP_Resource video_track, const int32_t attrib_list[], struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamVideoTrack_Configure, 4589 .GetAttrib = (int32_t (*)(PP_Resource video_track, PP_MediaStreamVideoTrack_Attrib attrib, int32_t* value))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetAttrib, 4590 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetId, 4591 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M35_PPB_MediaStreamVideoTrack_HasEnded, 4592 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M35_PPB_MediaStreamVideoTrack_GetFrame, 4593 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pnacl_M35_PPB_MediaStreamVideoTrack_RecycleFrame, 4594 .Close = (void (*)(PP_Resource video_track))&Pnacl_M35_PPB_MediaStreamVideoTrack_Close 4595 }; 4596 4597 static const struct PPB_MediaStreamVideoTrack_1_0 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_1_0 = { 4598 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_MediaStreamVideoTrack_Create, 4599 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack, 4600 .Configure = (int32_t (*)(PP_Resource video_track, const int32_t attrib_list[], struct PP_CompletionCallback callback))&Pnacl_M36_PPB_MediaStreamVideoTrack_Configure, 4601 .GetAttrib = (int32_t (*)(PP_Resource video_track, PP_MediaStreamVideoTrack_Attrib attrib, int32_t* value))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetAttrib, 4602 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetId, 4603 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M36_PPB_MediaStreamVideoTrack_HasEnded, 4604 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetFrame, 4605 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pnacl_M36_PPB_MediaStreamVideoTrack_RecycleFrame, 4606 .Close = (void (*)(PP_Resource video_track))&Pnacl_M36_PPB_MediaStreamVideoTrack_Close, 4607 .GetEmptyFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_MediaStreamVideoTrack_GetEmptyFrame, 4608 .PutFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pnacl_M36_PPB_MediaStreamVideoTrack_PutFrame 4609 }; 4610 4611 static const struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = { 4612 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_Create, 4613 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetForMainThread, 4614 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent, 4615 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread, 4616 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run, 4617 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallback callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, 4618 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&Pnacl_M25_PPB_MessageLoop_PostQuit 4619 }; 4620 4621 static const struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = { 4622 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl_M14_PPB_Messaging_PostMessage 4623 }; 4624 4625 static const struct PPB_Messaging_1_1 Pnacl_Wrappers_PPB_Messaging_1_1 = { 4626 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl_M37_PPB_Messaging_PostMessage, 4627 .RegisterMessageHandler = (int32_t (*)(PP_Instance instance, void* user_data, const struct PPP_MessageHandler_0_1* handler, PP_Resource message_loop))&Pnacl_M37_PPB_Messaging_RegisterMessageHandler, 4628 .UnregisterMessageHandler = (void (*)(PP_Instance instance))&Pnacl_M37_PPB_Messaging_UnregisterMessageHandler 4629 }; 4630 4631 /* Not generating wrapper interface for PPB_MouseCursor_1_0 */ 4632 4633 static const struct PPB_MouseLock_1_0 Pnacl_Wrappers_PPB_MouseLock_1_0 = { 4634 .LockMouse = (int32_t (*)(PP_Instance instance, struct PP_CompletionCallback callback))&Pnacl_M16_PPB_MouseLock_LockMouse, 4635 .UnlockMouse = (void (*)(PP_Instance instance))&Pnacl_M16_PPB_MouseLock_UnlockMouse 4636 }; 4637 4638 static const struct PPB_NetAddress_1_0 Pnacl_Wrappers_PPB_NetAddress_1_0 = { 4639 .CreateFromIPv4Address = (PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address, 4640 .CreateFromIPv6Address = (PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address, 4641 .IsNetAddress = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_NetAddress_IsNetAddress, 4642 .GetFamily = (PP_NetAddress_Family (*)(PP_Resource addr))&Pnacl_M29_PPB_NetAddress_GetFamily, 4643 .DescribeAsString = (struct PP_Var (*)(PP_Resource addr, PP_Bool include_port))&Pnacl_M29_PPB_NetAddress_DescribeAsString, 4644 .DescribeAsIPv4Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address, 4645 .DescribeAsIPv6Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address 4646 }; 4647 4648 static const struct PPB_NetworkList_1_0 Pnacl_Wrappers_PPB_NetworkList_1_0 = { 4649 .IsNetworkList = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkList_IsNetworkList, 4650 .GetCount = (uint32_t (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkList_GetCount, 4651 .GetName = (struct PP_Var (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetName, 4652 .GetType = (PP_NetworkList_Type (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetType, 4653 .GetState = (PP_NetworkList_State (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetState, 4654 .GetIpAddresses = (int32_t (*)(PP_Resource resource, uint32_t index, struct PP_ArrayOutput output))&Pnacl_M31_PPB_NetworkList_GetIpAddresses, 4655 .GetDisplayName = (struct PP_Var (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetDisplayName, 4656 .GetMTU = (uint32_t (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetMTU 4657 }; 4658 4659 static const struct PPB_NetworkMonitor_1_0 Pnacl_Wrappers_PPB_NetworkMonitor_1_0 = { 4660 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_NetworkMonitor_Create, 4661 .UpdateNetworkList = (int32_t (*)(PP_Resource network_monitor, PP_Resource* network_list, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList, 4662 .IsNetworkMonitor = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor 4663 }; 4664 4665 static const struct PPB_NetworkProxy_1_0 Pnacl_Wrappers_PPB_NetworkProxy_1_0 = { 4666 .GetProxyForURL = (int32_t (*)(PP_Instance instance, struct PP_Var url, struct PP_Var* proxy_string, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_NetworkProxy_GetProxyForURL 4667 }; 4668 4669 static const struct PPB_TCPSocket_1_0 Pnacl_Wrappers_PPB_TCPSocket_1_0 = { 4670 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_TCPSocket_Create, 4671 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_TCPSocket_IsTCPSocket, 4672 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Connect, 4673 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_GetLocalAddress, 4674 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_GetRemoteAddress, 4675 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Read, 4676 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Write, 4677 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_Close, 4678 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_SetOption 4679 }; 4680 4681 static const struct PPB_TCPSocket_1_1 Pnacl_Wrappers_PPB_TCPSocket_1_1 = { 4682 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_TCPSocket_Create, 4683 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_TCPSocket_IsTCPSocket, 4684 .Bind = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Bind, 4685 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Connect, 4686 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_GetLocalAddress, 4687 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_GetRemoteAddress, 4688 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Read, 4689 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Write, 4690 .Listen = (int32_t (*)(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Listen, 4691 .Accept = (int32_t (*)(PP_Resource tcp_socket, PP_Resource* accepted_tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Accept, 4692 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_Close, 4693 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_SetOption 4694 }; 4695 4696 static const struct PPB_TextInputController_1_0 Pnacl_Wrappers_PPB_TextInputController_1_0 = { 4697 .SetTextInputType = (void (*)(PP_Instance instance, PP_TextInput_Type type))&Pnacl_M30_PPB_TextInputController_SetTextInputType, 4698 .UpdateCaretPosition = (void (*)(PP_Instance instance, const struct PP_Rect* caret))&Pnacl_M30_PPB_TextInputController_UpdateCaretPosition, 4699 .CancelCompositionText = (void (*)(PP_Instance instance))&Pnacl_M30_PPB_TextInputController_CancelCompositionText, 4700 .UpdateSurroundingText = (void (*)(PP_Instance instance, struct PP_Var text, uint32_t caret, uint32_t anchor))&Pnacl_M30_PPB_TextInputController_UpdateSurroundingText 4701 }; 4702 4703 static const struct PPB_UDPSocket_1_0 Pnacl_Wrappers_PPB_UDPSocket_1_0 = { 4704 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_Create, 4705 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_IsUDPSocket, 4706 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Bind, 4707 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_GetBoundAddress, 4708 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_RecvFrom, 4709 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_SendTo, 4710 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Close, 4711 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_SetOption 4712 }; 4713 4714 static const struct PPB_URLLoader_1_0 Pnacl_Wrappers_PPB_URLLoader_1_0 = { 4715 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLLoader_Create, 4716 .IsURLLoader = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLLoader_IsURLLoader, 4717 .Open = (int32_t (*)(PP_Resource loader, PP_Resource request_info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Open, 4718 .FollowRedirect = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_FollowRedirect, 4719 .GetUploadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_sent, int64_t* total_bytes_to_be_sent))&Pnacl_M14_PPB_URLLoader_GetUploadProgress, 4720 .GetDownloadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_received, int64_t* total_bytes_to_be_received))&Pnacl_M14_PPB_URLLoader_GetDownloadProgress, 4721 .GetResponseInfo = (PP_Resource (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_GetResponseInfo, 4722 .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_ReadResponseBody, 4723 .FinishStreamingToFile = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_FinishStreamingToFile, 4724 .Close = (void (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_Close 4725 }; 4726 4727 static const struct PPB_URLRequestInfo_1_0 Pnacl_Wrappers_PPB_URLRequestInfo_1_0 = { 4728 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLRequestInfo_Create, 4729 .IsURLRequestInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo, 4730 .SetProperty = (PP_Bool (*)(PP_Resource request, PP_URLRequestProperty property, struct PP_Var value))&Pnacl_M14_PPB_URLRequestInfo_SetProperty, 4731 .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody, 4732 .AppendFileToBody = (PP_Bool (*)(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time))&Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody 4733 }; 4734 4735 static const struct PPB_URLResponseInfo_1_0 Pnacl_Wrappers_PPB_URLResponseInfo_1_0 = { 4736 .IsURLResponseInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo, 4737 .GetProperty = (struct PP_Var (*)(PP_Resource response, PP_URLResponseProperty property))&Pnacl_M14_PPB_URLResponseInfo_GetProperty, 4738 .GetBodyAsFileRef = (PP_Resource (*)(PP_Resource response))&Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef 4739 }; 4740 4741 static const struct PPB_Var_1_0 Pnacl_Wrappers_PPB_Var_1_0 = { 4742 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M14_PPB_Var_AddRef, 4743 .Release = (void (*)(struct PP_Var var))&Pnacl_M14_PPB_Var_Release, 4744 .VarFromUtf8 = (struct PP_Var (*)(PP_Module module, const char* data, uint32_t len))&Pnacl_M14_PPB_Var_VarFromUtf8, 4745 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_PPB_Var_VarToUtf8 4746 }; 4747 4748 static const struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = { 4749 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef, 4750 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release, 4751 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18_PPB_Var_VarFromUtf8, 4752 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_PPB_Var_VarToUtf8 4753 }; 4754 4755 static const struct PPB_Var_1_2 Pnacl_Wrappers_PPB_Var_1_2 = { 4756 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M34_PPB_Var_AddRef, 4757 .Release = (void (*)(struct PP_Var var))&Pnacl_M34_PPB_Var_Release, 4758 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M34_PPB_Var_VarFromUtf8, 4759 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M34_PPB_Var_VarToUtf8, 4760 .VarToResource = (PP_Resource (*)(struct PP_Var var))&Pnacl_M34_PPB_Var_VarToResource, 4761 .VarFromResource = (struct PP_Var (*)(PP_Resource resource))&Pnacl_M34_PPB_Var_VarFromResource 4762 }; 4763 4764 static const struct PPB_VarArray_1_0 Pnacl_Wrappers_PPB_VarArray_1_0 = { 4765 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarArray_Create, 4766 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M29_PPB_VarArray_Get, 4767 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value))&Pnacl_M29_PPB_VarArray_Set, 4768 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M29_PPB_VarArray_GetLength, 4769 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M29_PPB_VarArray_SetLength 4770 }; 4771 4772 static const struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { 4773 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArrayBuffer_Create, 4774 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnacl_M18_PPB_VarArrayBuffer_ByteLength, 4775 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, 4776 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap 4777 }; 4778 4779 static const struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { 4780 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, 4781 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_Get, 4782 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var value))&Pnacl_M29_PPB_VarDictionary_Set, 4783 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_Delete, 4784 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_HasKey, 4785 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictionary_GetKeys 4786 }; 4787 4788 static const struct PPB_VideoDecoder_0_1 Pnacl_Wrappers_PPB_VideoDecoder_0_1 = { 4789 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M36_PPB_VideoDecoder_Create, 4790 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M36_PPB_VideoDecoder_IsVideoDecoder, 4791 .Initialize = (int32_t (*)(PP_Resource video_decoder, PP_Resource graphics3d_context, PP_VideoProfile profile, PP_Bool allow_software_fallback, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Initialize, 4792 .Decode = (int32_t (*)(PP_Resource video_decoder, uint32_t decode_id, uint32_t size, const void* buffer, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Decode, 4793 .GetPicture = (int32_t (*)(PP_Resource video_decoder, struct PP_VideoPicture* picture, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_GetPicture, 4794 .RecyclePicture = (void (*)(PP_Resource video_decoder, const struct PP_VideoPicture* picture))&Pnacl_M36_PPB_VideoDecoder_RecyclePicture, 4795 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Flush, 4796 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M36_PPB_VideoDecoder_Reset 4797 }; 4798 4799 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */ 4800 4801 /* Not generating wrapper interface for PPB_View_1_0 */ 4802 4803 /* Not generating wrapper interface for PPB_View_1_1 */ 4804 4805 /* Not generating wrapper interface for PPB_View_1_2 */ 4806 4807 static const struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 4808 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Create, 4809 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_IsWebSocket, 4810 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const struct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Connect, 4811 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var reason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 4812 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* message, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessage, 4813 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&Pnacl_M18_PPB_WebSocket_SendMessage, 4814 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetBufferedAmount, 4815 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseCode, 4816 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseReason, 4817 .GetCloseWasClean = (PP_Bool (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseWasClean, 4818 .GetExtensions = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetExtensions, 4819 .GetProtocol = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetProtocol, 4820 .GetReadyState = (PP_WebSocketReadyState (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetReadyState, 4821 .GetURL = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetURL 4822 }; 4823 4824 /* Not generating wrapper interface for PPP_Graphics3D_1_0 */ 4825 4826 /* Not generating wrapper interface for PPP_InputEvent_0_1 */ 4827 4828 /* Not generating wrapper interface for PPP_Instance_1_0 */ 4829 4830 /* Not generating wrapper interface for PPP_Instance_1_1 */ 4831 4832 /* Not generating wrapper interface for PPP_MessageHandler_0_1 */ 4833 4834 static const struct PPP_Messaging_1_0 Pnacl_Wrappers_PPP_Messaging_1_0 = { 4835 .HandleMessage = &Pnacl_M14_PPP_Messaging_HandleMessage 4836 }; 4837 4838 /* Not generating wrapper interface for PPP_MouseLock_1_0 */ 4839 4840 /* Not generating wrapper interface for PPB_BrokerTrusted_0_2 */ 4841 4842 /* Not generating wrapper interface for PPB_BrokerTrusted_0_3 */ 4843 4844 /* Not generating wrapper interface for PPB_BrowserFont_Trusted_1_0 */ 4845 4846 /* Not generating wrapper interface for PPB_CharSet_Trusted_1_0 */ 4847 4848 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_5 */ 4849 4850 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_6 */ 4851 4852 /* Not generating wrapper interface for PPB_URLLoaderTrusted_0_3 */ 4853 4854 static const struct PPB_AudioInput_Dev_0_3 Pnacl_Wrappers_PPB_AudioInput_Dev_0_3 = { 4855 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_AudioInput_Dev_Create, 4856 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput, 4857 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices, 4858 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange, 4859 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_3 audio_input_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_AudioInput_Dev_Open, 4860 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig, 4861 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_StartCapture, 4862 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_StopCapture, 4863 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_Close 4864 }; 4865 4866 static const struct PPB_AudioInput_Dev_0_4 Pnacl_Wrappers_PPB_AudioInput_Dev_0_4 = { 4867 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M30_PPB_AudioInput_Dev_Create, 4868 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput, 4869 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices, 4870 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange, 4871 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_Open, 4872 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig, 4873 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_StartCapture, 4874 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_StopCapture, 4875 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_Close 4876 }; 4877 4878 /* Not generating wrapper interface for PPB_Buffer_Dev_0_4 */ 4879 4880 /* Not generating wrapper interface for PPB_Crypto_Dev_0_1 */ 4881 4882 /* Not generating wrapper interface for PPB_CursorControl_Dev_0_4 */ 4883 4884 static const struct PPB_DeviceRef_Dev_0_1 Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1 = { 4885 .IsDeviceRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef, 4886 .GetType = (PP_DeviceType_Dev (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceRef_Dev_GetType, 4887 .GetName = (struct PP_Var (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceRef_Dev_GetName 4888 }; 4889 4890 static const struct PPB_FileChooser_Dev_0_5 Pnacl_Wrappers_PPB_FileChooser_Dev_0_5 = { 4891 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var accept_types))&Pnacl_M16_PPB_FileChooser_Dev_Create, 4892 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser, 4893 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callback))&Pnacl_M16_PPB_FileChooser_Dev_Show, 4894 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile 4895 }; 4896 4897 static const struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = { 4898 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, 4899 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser, 4900 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show 4901 }; 4902 4903 static const struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { 4904 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_Font_Dev_GetFontFamilies, 4905 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescription_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, 4906 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, 4907 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* description, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, 4908 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_DrawTextAt, 4909 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text))&Pnacl_M14_PPB_Font_Dev_MeasureText, 4910 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel, 4911 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter 4912 }; 4913 4914 static const struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1 = { 4915 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent, 4916 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetText, 4917 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber, 4918 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, 4919 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment, 4920 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection 4921 }; 4922 4923 static const struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2 = { 4924 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M21_PPB_IMEInputEvent_Dev_Create, 4925 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent, 4926 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetText, 4927 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber, 4928 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset, 4929 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment, 4930 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection 4931 }; 4932 4933 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ 4934 4935 static const struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { 4936 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev_Create, 4937 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings 4938 }; 4939 4940 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ 4941 4942 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ 4943 4944 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ 4945 4946 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ 4947 4948 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ 4949 4950 static const struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { 4951 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies, 4952 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily, 4953 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFontDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, 4954 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont, 4955 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* desc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Describe, 4956 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags, 4957 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable 4958 }; 4959 4960 static const struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { 4961 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4962 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL, 4963 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument, 4964 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4965 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4966 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance target))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4967 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4968 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4969 }; 4970 4971 static const struct PPB_URLUtil_Dev_0_7 Pnacl_Wrappers_PPB_URLUtil_Dev_0_7 = { 4972 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_Canonicalize, 4973 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL, 4974 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument, 4975 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_b))&Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4976 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest, 4977 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance target))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4978 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL, 4979 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL, 4980 .GetPluginReferrerURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL 4981 }; 4982 4983 static const struct PPB_VideoCapture_Dev_0_3 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3 = { 4984 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_VideoCapture_Dev_Create, 4985 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture, 4986 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices, 4987 .MonitorDeviceChange = (int32_t (*)(PP_Resource video_capture, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange, 4988 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_VideoCapture_Dev_Open, 4989 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_StartCapture, 4990 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer, 4991 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_StopCapture, 4992 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_Close 4993 }; 4994 4995 static const struct PPB_VideoDecoder_Dev_0_16 Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16 = { 4996 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource context, PP_VideoDecoder_Profile profile))&Pnacl_M14_PPB_VideoDecoder_Dev_Create, 4997 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder, 4998 .Decode = (int32_t (*)(PP_Resource video_decoder, const struct PP_VideoBitstreamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Decode, 4999 .AssignPictureBuffers = (void (*)(PP_Resource video_decoder, uint32_t no_of_buffers, const struct PP_PictureBuffer_Dev buffers[]))&Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers, 5000 .ReusePictureBuffer = (void (*)(PP_Resource video_decoder, int32_t picture_buffer_id))&Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer, 5001 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Flush, 5002 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Reset, 5003 .Destroy = (void (*)(PP_Resource video_decoder))&Pnacl_M14_PPB_VideoDecoder_Dev_Destroy 5004 }; 5005 5006 /* Not generating wrapper interface for PPB_View_Dev_0_1 */ 5007 5008 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */ 5009 5010 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */ 5011 5012 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */ 5013 5014 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */ 5015 5016 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */ 5017 5018 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_2 */ 5019 5020 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_3 */ 5021 5022 static const struct PPP_Selection_Dev_0_3 Pnacl_Wrappers_PPP_Selection_Dev_0_3 = { 5023 .GetSelectedText = &Pnacl_M13_PPP_Selection_Dev_GetSelectedText 5024 }; 5025 5026 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 5027 5028 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 5029 5030 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 5031 5032 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 5033 5034 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 5035 5036 static const struct PPB_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_12 = { 5037 .PromiseResolved = (void (*)(PP_Instance instance, uint32_t promise_id))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved, 5038 .PromiseResolvedWithSession = (void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession, 5039 .PromiseRejected = (void (*)(PP_Instance instance, uint32_t promise_id, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_description))&Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected, 5040 .SessionMessage = (void (*)(PP_Instance instance, struct PP_Var web_session_id, struct PP_Var message, struct PP_Var destination_url))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionMessage, 5041 .SessionReady = (void (*)(PP_Instance instance, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionReady, 5042 .SessionClosed = (void (*)(PP_Instance instance, struct PP_Var web_session_id))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionClosed, 5043 .SessionError = (void (*)(PP_Instance instance, struct PP_Var web_session_id, PP_CdmExceptionCode exception_code, uint32_t system_code, struct PP_Var error_description))&Pnacl_M36_PPB_ContentDecryptor_Private_SessionError, 5044 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverBlock, 5045 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderInitializeDone, 5046 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderDeinitializeDone, 5047 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))&Pnacl_M36_PPB_ContentDecryptor_Private_DecoderResetDone, 5048 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverFrame, 5049 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M36_PPB_ContentDecryptor_Private_DeliverSamples 5050 }; 5051 5052 static const struct PPB_DisplayColorProfile_Private_0_1 Pnacl_Wrappers_PPB_DisplayColorProfile_Private_0_1 = { 5053 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_DisplayColorProfile_Private_Create, 5054 .IsDisplayColorProfile = (PP_Bool (*)(PP_Resource resource))&Pnacl_M33_PPB_DisplayColorProfile_Private_IsDisplayColorProfile, 5055 .GetColorProfile = (int32_t (*)(PP_Resource display_color_profile_res, struct PP_ArrayOutput color_profile, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColorProfile_Private_GetColorProfile, 5056 .RegisterColorProfileChangeCallback = (int32_t (*)(PP_Resource display_color_profile_res, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_DisplayColorProfile_Private_RegisterColorProfileChangeCallback 5057 }; 5058 5059 static const struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1 = { 5060 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open 5061 }; 5062 5063 static const struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { 5064 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle 5065 }; 5066 5067 static const struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = { 5068 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath 5069 }; 5070 5071 /* Not generating wrapper interface for PPB_Find_Private_0_3 */ 5072 5073 static const struct PPB_Flash_12_4 Pnacl_Wrappers_PPB_Flash_12_4 = { 5074 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop, 5075 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M21_PPB_Flash_DrawGlyphs, 5076 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M21_PPB_Flash_GetProxyForURL, 5077 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M21_PPB_Flash_Navigate, 5078 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_RunMessageLoop, 5079 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_QuitMessageLoop, 5080 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset, 5081 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M21_PPB_Flash_GetCommandLineArgs, 5082 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M21_PPB_Flash_PreloadFontWin, 5083 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M21_PPB_Flash_IsRectTopmost, 5084 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_InvokePrinting, 5085 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_UpdateActivity, 5086 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_GetDeviceID, 5087 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M21_PPB_Flash_GetSettingInt, 5088 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M21_PPB_Flash_GetSetting 5089 }; 5090 5091 static const struct PPB_Flash_12_5 Pnacl_Wrappers_PPB_Flash_12_5 = { 5092 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop, 5093 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M22_PPB_Flash_DrawGlyphs, 5094 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M22_PPB_Flash_GetProxyForURL, 5095 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M22_PPB_Flash_Navigate, 5096 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_RunMessageLoop, 5097 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_QuitMessageLoop, 5098 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset, 5099 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M22_PPB_Flash_GetCommandLineArgs, 5100 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M22_PPB_Flash_PreloadFontWin, 5101 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M22_PPB_Flash_IsRectTopmost, 5102 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_InvokePrinting, 5103 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_UpdateActivity, 5104 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_GetDeviceID, 5105 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M22_PPB_Flash_GetSettingInt, 5106 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M22_PPB_Flash_GetSetting, 5107 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M22_PPB_Flash_SetCrashData 5108 }; 5109 5110 static const struct PPB_Flash_12_6 Pnacl_Wrappers_PPB_Flash_12_6 = { 5111 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop, 5112 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_0_PPB_Flash_DrawGlyphs, 5113 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M24_0_PPB_Flash_GetProxyForURL, 5114 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M24_0_PPB_Flash_Navigate, 5115 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_RunMessageLoop, 5116 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_QuitMessageLoop, 5117 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset, 5118 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M24_0_PPB_Flash_GetCommandLineArgs, 5119 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M24_0_PPB_Flash_PreloadFontWin, 5120 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M24_0_PPB_Flash_IsRectTopmost, 5121 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_InvokePrinting, 5122 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_UpdateActivity, 5123 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_GetDeviceID, 5124 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_0_PPB_Flash_GetSettingInt, 5125 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_0_PPB_Flash_GetSetting, 5126 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M24_0_PPB_Flash_SetCrashData, 5127 .EnumerateVideoCaptureDevices = (int32_t (*)(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput devices))&Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices 5128 }; 5129 5130 static const struct PPB_Flash_13_0 Pnacl_Wrappers_PPB_Flash_13_0 = { 5131 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop, 5132 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_1_PPB_Flash_DrawGlyphs, 5133 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M24_1_PPB_Flash_GetProxyForURL, 5134 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M24_1_PPB_Flash_Navigate, 5135 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset, 5136 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M24_1_PPB_Flash_GetCommandLineArgs, 5137 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M24_1_PPB_Flash_PreloadFontWin, 5138 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M24_1_PPB_Flash_IsRectTopmost, 5139 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M24_1_PPB_Flash_UpdateActivity, 5140 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_1_PPB_Flash_GetSetting, 5141 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M24_1_PPB_Flash_SetCrashData, 5142 .EnumerateVideoCaptureDevices = (int32_t (*)(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput devices))&Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices 5143 }; 5144 5145 static const struct PPB_Flash_Clipboard_4_0 Pnacl_Wrappers_PPB_Flash_Clipboard_4_0 = { 5146 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable, 5147 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipboard_ReadData, 5148 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats[], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData 5149 }; 5150 5151 static const struct PPB_Flash_Clipboard_5_0 Pnacl_Wrappers_PPB_Flash_Clipboard_5_0 = { 5152 .RegisterCustomFormat = (uint32_t (*)(PP_Instance instance_id, const char* format_name))&Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat, 5153 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable, 5154 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_ReadData, 5155 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]))&Pnacl_M24_PPB_Flash_Clipboard_WriteData 5156 }; 5157 5158 static const struct PPB_Flash_Clipboard_5_1 Pnacl_Wrappers_PPB_Flash_Clipboard_5_1 = { 5159 .RegisterCustomFormat = (uint32_t (*)(PP_Instance instance_id, const char* format_name))&Pnacl_M34_PPB_Flash_Clipboard_RegisterCustomFormat, 5160 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M34_PPB_Flash_Clipboard_IsFormatAvailable, 5161 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M34_PPB_Flash_Clipboard_ReadData, 5162 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]))&Pnacl_M34_PPB_Flash_Clipboard_WriteData, 5163 .GetSequenceNumber = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint64_t* sequence_number))&Pnacl_M34_PPB_Flash_Clipboard_GetSequenceNumber 5164 }; 5165 5166 static const struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { 5167 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_DeviceID_Create, 5168 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID 5169 }; 5170 5171 static const struct PPB_Flash_DRM_1_0 Pnacl_Wrappers_PPB_Flash_DRM_1_0 = { 5172 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Flash_DRM_Create, 5173 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetDeviceID, 5174 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M29_PPB_Flash_DRM_GetHmonitor, 5175 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetVoucherFile 5176 }; 5177 5178 static const struct PPB_Flash_DRM_1_1 Pnacl_Wrappers_PPB_Flash_DRM_1_1 = { 5179 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_Flash_DRM_Create, 5180 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetDeviceID, 5181 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M33_PPB_Flash_DRM_GetHmonitor, 5182 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetVoucherFile, 5183 .MonitorIsExternal = (int32_t (*)(PP_Resource drm, PP_Bool* is_external, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal 5184 }; 5185 5186 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ 5187 5188 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ 5189 5190 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ 5191 5192 static const struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2 = { 5193 .Create = (PP_Resource (*)(PP_Instance instance_id, const struct PP_Flash_Menu* menu_data))&Pnacl_M14_PPB_Flash_Menu_Create, 5194 .IsFlashMenu = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M14_PPB_Flash_Menu_IsFlashMenu, 5195 .Show = (int32_t (*)(PP_Resource menu_id, const struct PP_Point* location, int32_t* selected_id, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Flash_Menu_Show 5196 }; 5197 5198 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */ 5199 5200 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ 5201 5202 static const struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver_Private_0_1 = { 5203 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_HostResolver_Private_Create, 5204 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_HostResolver_Private_IsHostResolver, 5205 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_HostResolver_Private_Resolve, 5206 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName, 5207 .GetSize = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResolver_Private_GetSize, 5208 .GetNetAddress = (PP_Bool (*)(PP_Resource host_resolver, uint32_t index, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_HostResolver_Private_GetNetAddress 5209 }; 5210 5211 /* Not generating wrapper interface for PPB_InputEvent_Private_0_1 */ 5212 5213 static const struct PPB_Instance_Private_0_1 Pnacl_Wrappers_PPB_Instance_Private_0_1 = { 5214 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Private_GetWindowObject, 5215 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject, 5216 .ExecuteScript = (struct PP_Var (*)(PP_Instance instance, struct PP_Var script, struct PP_Var* exception))&Pnacl_M13_PPB_Instance_Private_ExecuteScript 5217 }; 5218 5219 static const struct PPB_IsolatedFileSystem_Private_0_2 Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2 = { 5220 .Open = (int32_t (*)(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_IsolatedFileSystem_Private_Open 5221 }; 5222 5223 /* Not generating wrapper interface for PPP_ManifestService_1_0 */ 5224 5225 static const struct PPB_NaCl_Private_1_0 Pnacl_Wrappers_PPB_NaCl_Private_1_0 = { 5226 .LaunchSelLdr = (void (*)(PP_Instance instance, PP_Bool main_service_runtime, const char* alleged_url, PP_Bool uses_irt, PP_Bool uses_ppapi, PP_Bool uses_nonsfi_mode, PP_Bool enable_ppapi_dev, PP_Bool enable_dyncode_syscalls, PP_Bool enable_exception_handling, PP_Bool enable_crash_throttling, const struct PPP_ManifestService_1_0* manifest_service_interface, void* manifest_service_user_data, void* imc_handle, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr, 5227 .StartPpapiProxy = (PP_Bool (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy, 5228 .UrandomFD = (int32_t (*)(void))&Pnacl_M25_PPB_NaCl_Private_UrandomFD, 5229 .Are3DInterfacesDisabled = (PP_Bool (*)(void))&Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled, 5230 .BrokerDuplicateHandle = (int32_t (*)(PP_FileHandle source_handle, uint32_t process_id, PP_FileHandle* target_handle, uint32_t desired_access, uint32_t options))&Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle, 5231 .GetReadonlyPnaclFd = (PP_FileHandle (*)(const char* url))&Pnacl_M25_PPB_NaCl_Private_GetReadonlyPnaclFd, 5232 .CreateTemporaryFile = (PP_FileHandle (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile, 5233 .GetNumberOfProcessors = (int32_t (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetNumberOfProcessors, 5234 .IsNonSFIModeEnabled = (PP_Bool (*)(void))&Pnacl_M25_PPB_NaCl_Private_IsNonSFIModeEnabled, 5235 .GetNexeFd = (int32_t (*)(PP_Instance instance, const char* pexe_url, uint32_t abi_version, uint32_t opt_level, const char* headers, const char* extra_flags, PP_Bool* is_hit, PP_FileHandle* nexe_handle, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_GetNexeFd, 5236 .ReportTranslationFinished = (void (*)(PP_Instance instance, PP_Bool success, int32_t opt_level, int64_t pexe_size, int64_t compile_time_us, int64_t total_time_us))&Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished, 5237 .DispatchEvent = (void (*)(PP_Instance instance, PP_NaClEventType event_type, const char* resource_url, PP_Bool length_is_computable, uint64_t loaded_bytes, uint64_t total_bytes))&Pnacl_M25_PPB_NaCl_Private_DispatchEvent, 5238 .ReportLoadSuccess = (void (*)(PP_Instance instance, const char* url, uint64_t loaded_bytes, uint64_t total_bytes))&Pnacl_M25_PPB_NaCl_Private_ReportLoadSuccess, 5239 .ReportLoadError = (void (*)(PP_Instance instance, PP_NaClError error, const char* error_message))&Pnacl_M25_PPB_NaCl_Private_ReportLoadError, 5240 .ReportLoadAbort = (void (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_ReportLoadAbort, 5241 .NexeDidCrash = (void (*)(PP_Instance instance, const char* crash_log))&Pnacl_M25_PPB_NaCl_Private_NexeDidCrash, 5242 .InstanceCreated = (void (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_InstanceCreated, 5243 .InstanceDestroyed = (void (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_InstanceDestroyed, 5244 .NaClDebugEnabledForURL = (PP_Bool (*)(const char* alleged_nmf_url))&Pnacl_M25_PPB_NaCl_Private_NaClDebugEnabledForURL, 5245 .GetSandboxArch = (const char* (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetSandboxArch, 5246 .LogToConsole = (void (*)(PP_Instance instance, const char* message))&Pnacl_M25_PPB_NaCl_Private_LogToConsole, 5247 .GetNaClReadyState = (PP_NaClReadyState (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_GetNaClReadyState, 5248 .GetExitStatus = (int32_t (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_GetExitStatus, 5249 .SetExitStatus = (void (*)(PP_Instance instance, int32_t exit_status))&Pnacl_M25_PPB_NaCl_Private_SetExitStatus, 5250 .Vlog = (void (*)(const char* message))&Pnacl_M25_PPB_NaCl_Private_Vlog, 5251 .InitializePlugin = (void (*)(PP_Instance instance, uint32_t argc, const char* argn[], const char* argv[]))&Pnacl_M25_PPB_NaCl_Private_InitializePlugin, 5252 .GetNexeSize = (int64_t (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_GetNexeSize, 5253 .RequestNaClManifest = (void (*)(PP_Instance instance, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_RequestNaClManifest, 5254 .GetManifestBaseURL = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_GetManifestBaseURL, 5255 .ProcessNaClManifest = (void (*)(PP_Instance instance, const char* program_url))&Pnacl_M25_PPB_NaCl_Private_ProcessNaClManifest, 5256 .DevInterfacesEnabled = (PP_Bool (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_DevInterfacesEnabled, 5257 .GetManifestProgramURL = (PP_Bool (*)(PP_Instance instance, struct PP_Var* full_url, struct PP_PNaClOptions* pnacl_options, PP_Bool* uses_nonsfi_mode))&Pnacl_M25_PPB_NaCl_Private_GetManifestProgramURL, 5258 .ManifestResolveKey = (PP_Bool (*)(PP_Instance instance, PP_Bool helper_process, const char* key, struct PP_Var* full_url, struct PP_PNaClOptions* pnacl_options))&Pnacl_M25_PPB_NaCl_Private_ManifestResolveKey, 5259 .GetPnaclResourceInfo = (PP_Bool (*)(PP_Instance instance, const char* filename, struct PP_Var* llc_tool_name, struct PP_Var* ld_tool_name))&Pnacl_M25_PPB_NaCl_Private_GetPnaclResourceInfo, 5260 .GetCpuFeatureAttrs = (struct PP_Var (*)(void))&Pnacl_M25_PPB_NaCl_Private_GetCpuFeatureAttrs, 5261 .PostMessageToJavaScript = (void (*)(PP_Instance instance, const char* message))&Pnacl_M25_PPB_NaCl_Private_PostMessageToJavaScript, 5262 .DownloadNexe = (void (*)(PP_Instance instance, const char* url, struct PP_NaClFileInfo* file_info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_DownloadNexe, 5263 .DownloadFile = (void (*)(PP_Instance instance, const char* url, struct PP_NaClFileInfo* file_info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_DownloadFile, 5264 .ReportSelLdrStatus = (void (*)(PP_Instance instance, int32_t load_status, int32_t max_status))&Pnacl_M25_PPB_NaCl_Private_ReportSelLdrStatus, 5265 .LogTranslateTime = (void (*)(const char* histogram_name, int64_t time_us))&Pnacl_M25_PPB_NaCl_Private_LogTranslateTime 5266 }; 5267 5268 static const struct PPB_NetAddress_Private_0_1 Pnacl_Wrappers_PPB_NetAddress_Private_0_1 = { 5269 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreEqual, 5270 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual, 5271 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M17_PPB_NetAddress_Private_Describe, 5272 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M17_PPB_NetAddress_Private_ReplacePort, 5273 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress 5274 }; 5275 5276 static const struct PPB_NetAddress_Private_1_0 Pnacl_Wrappers_PPB_NetAddress_Private_1_0 = { 5277 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_0_PPB_NetAddress_Private_AreEqual, 5278 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual, 5279 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M19_0_PPB_NetAddress_Private_Describe, 5280 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort, 5281 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress, 5282 .GetFamily = (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetFamily, 5283 .GetPort = (uint16_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetPort, 5284 .GetAddress = (PP_Bool (*)(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size))&Pnacl_M19_0_PPB_NetAddress_Private_GetAddress 5285 }; 5286 5287 static const struct PPB_NetAddress_Private_1_1 Pnacl_Wrappers_PPB_NetAddress_Private_1_1 = { 5288 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_1_PPB_NetAddress_Private_AreEqual, 5289 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual, 5290 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M19_1_PPB_NetAddress_Private_Describe, 5291 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort, 5292 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress, 5293 .GetFamily = (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetFamily, 5294 .GetPort = (uint16_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetPort, 5295 .GetAddress = (PP_Bool (*)(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size))&Pnacl_M19_1_PPB_NetAddress_Private_GetAddress, 5296 .GetScopeID = (uint32_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID, 5297 .CreateFromIPv4Address = (void (*)(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address, 5298 .CreateFromIPv6Address = (void (*)(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address 5299 }; 5300 5301 static const struct PPB_OutputProtection_Private_0_1 Pnacl_Wrappers_PPB_OutputProtection_Private_0_1 = { 5302 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_OutputProtection_Private_Create, 5303 .IsOutputProtection = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection, 5304 .QueryStatus = (int32_t (*)(PP_Resource resource, uint32_t* link_mask, uint32_t* protection_mask, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_OutputProtection_Private_QueryStatus, 5305 .EnableProtection = (int32_t (*)(PP_Resource resource, uint32_t desired_protection_mask, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_OutputProtection_Private_EnableProtection 5306 }; 5307 5308 static const struct PPB_PlatformVerification_Private_0_2 Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2 = { 5309 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M32_PPB_PlatformVerification_Private_Create, 5310 .IsPlatformVerification = (PP_Bool (*)(PP_Resource resource))&Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification, 5311 .ChallengePlatform = (int32_t (*)(PP_Resource instance, struct PP_Var service_id, struct PP_Var challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback callback))&Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform 5312 }; 5313 5314 static const struct PPB_Talk_Private_1_0 Pnacl_Wrappers_PPB_Talk_Private_1_0 = { 5315 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_Talk_Private_Create, 5316 .GetPermission = (int32_t (*)(PP_Resource talk_resource, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_Talk_Private_GetPermission 5317 }; 5318 5319 static const struct PPB_Talk_Private_2_0 Pnacl_Wrappers_PPB_Talk_Private_2_0 = { 5320 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Talk_Private_Create, 5321 .RequestPermission = (int32_t (*)(PP_Resource talk_resource, PP_TalkPermission permission, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_RequestPermission, 5322 .StartRemoting = (int32_t (*)(PP_Resource talk_resource, PP_TalkEventCallback event_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_StartRemoting, 5323 .StopRemoting = (int32_t (*)(PP_Resource talk_resource, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_StopRemoting 5324 }; 5325 5326 static const struct PPB_TCPServerSocket_Private_0_1 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1 = { 5327 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_TCPServerSocket_Private_Create, 5328 .IsTCPServerSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket, 5329 .Listen = (int32_t (*)(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_TCPServerSocket_Private_Listen, 5330 .Accept = (int32_t (*)(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_TCPServerSocket_Private_Accept, 5331 .StopListening = (void (*)(PP_Resource tcp_server_socket))&Pnacl_M18_PPB_TCPServerSocket_Private_StopListening 5332 }; 5333 5334 static const struct PPB_TCPServerSocket_Private_0_2 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2 = { 5335 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_TCPServerSocket_Private_Create, 5336 .IsTCPServerSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket, 5337 .Listen = (int32_t (*)(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_TCPServerSocket_Private_Listen, 5338 .Accept = (int32_t (*)(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_TCPServerSocket_Private_Accept, 5339 .GetLocalAddress = (int32_t (*)(PP_Resource tcp_server_socket, struct PP_NetAddress_Private* addr))&Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress, 5340 .StopListening = (void (*)(PP_Resource tcp_server_socket))&Pnacl_M28_PPB_TCPServerSocket_Private_StopListening 5341 }; 5342 5343 static const struct PPB_TCPSocket_Private_0_3 Pnacl_Wrappers_PPB_TCPSocket_Private_0_3 = { 5344 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M17_PPB_TCPSocket_Private_Create, 5345 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket, 5346 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Connect, 5347 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress, 5348 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress, 5349 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress, 5350 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake, 5351 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Read, 5352 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Write, 5353 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M17_PPB_TCPSocket_Private_Disconnect 5354 }; 5355 5356 static const struct PPB_TCPSocket_Private_0_4 Pnacl_Wrappers_PPB_TCPSocket_Private_0_4 = { 5357 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M20_PPB_TCPSocket_Private_Create, 5358 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket, 5359 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Connect, 5360 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress, 5361 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress, 5362 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress, 5363 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake, 5364 .GetServerCertificate = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate, 5365 .AddChainBuildingCertificate = (PP_Bool (*)(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted))&Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate, 5366 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Read, 5367 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Write, 5368 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M20_PPB_TCPSocket_Private_Disconnect 5369 }; 5370 5371 static const struct PPB_TCPSocket_Private_0_5 Pnacl_Wrappers_PPB_TCPSocket_Private_0_5 = { 5372 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M27_PPB_TCPSocket_Private_Create, 5373 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket, 5374 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Connect, 5375 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress, 5376 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress, 5377 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress, 5378 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake, 5379 .GetServerCertificate = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate, 5380 .AddChainBuildingCertificate = (PP_Bool (*)(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted))&Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate, 5381 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Read, 5382 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Write, 5383 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M27_PPB_TCPSocket_Private_Disconnect, 5384 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocketOption_Private name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_SetOption 5385 }; 5386 5387 static const struct PPB_Testing_Private_1_0 Pnacl_Wrappers_PPB_Testing_Private_1_0 = { 5388 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource image, const struct PP_Point* top_left))&Pnacl_M33_PPB_Testing_Private_ReadImageData, 5389 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_RunMessageLoop, 5390 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_QuitMessageLoop, 5391 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance, 5392 .IsOutOfProcess = (PP_Bool (*)(void))&Pnacl_M33_PPB_Testing_Private_IsOutOfProcess, 5393 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_event))&Pnacl_M33_PPB_Testing_Private_SimulateInputEvent, 5394 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M33_PPB_Testing_Private_GetDocumentURL, 5395 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size))&Pnacl_M33_PPB_Testing_Private_GetLiveVars, 5396 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_t threshold))&Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem 5397 }; 5398 5399 static const struct PPB_UDPSocket_Private_0_2 Pnacl_Wrappers_PPB_UDPSocket_Private_0_2 = { 5400 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M17_PPB_UDPSocket_Private_Create, 5401 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket, 5402 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_Bind, 5403 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_RecvFrom, 5404 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress, 5405 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_SendTo, 5406 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M17_PPB_UDPSocket_Private_Close 5407 }; 5408 5409 static const struct PPB_UDPSocket_Private_0_3 Pnacl_Wrappers_PPB_UDPSocket_Private_0_3 = { 5410 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M19_PPB_UDPSocket_Private_Create, 5411 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket, 5412 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_Bind, 5413 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress, 5414 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_RecvFrom, 5415 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress, 5416 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_SendTo, 5417 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M19_PPB_UDPSocket_Private_Close 5418 }; 5419 5420 static const struct PPB_UDPSocket_Private_0_4 Pnacl_Wrappers_PPB_UDPSocket_Private_0_4 = { 5421 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M23_PPB_UDPSocket_Private_Create, 5422 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket, 5423 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature_Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature, 5424 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_Bind, 5425 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress, 5426 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_RecvFrom, 5427 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress, 5428 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_SendTo, 5429 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_Close 5430 }; 5431 5432 static const struct PPB_UMA_Private_0_3 Pnacl_Wrappers_PPB_UMA_Private_0_3 = { 5433 .HistogramCustomTimes = (void (*)(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count))&Pnacl_M35_PPB_UMA_Private_HistogramCustomTimes, 5434 .HistogramCustomCounts = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count))&Pnacl_M35_PPB_UMA_Private_HistogramCustomCounts, 5435 .HistogramEnumeration = (void (*)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value))&Pnacl_M35_PPB_UMA_Private_HistogramEnumeration, 5436 .IsCrashReportingEnabled = (int32_t (*)(PP_Instance instance, struct PP_CompletionCallback callback))&Pnacl_M35_PPB_UMA_Private_IsCrashReportingEnabled 5437 }; 5438 5439 static const struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestination_Private_0_1 = { 5440 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestination_Private_Create, 5441 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination, 5442 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open, 5443 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame_Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame, 5444 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_Private_Close 5445 }; 5446 5447 static const struct PPB_VideoSource_Private_0_1 Pnacl_Wrappers_PPB_VideoSource_Private_0_1 = { 5448 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoSource_Private_Create, 5449 .IsVideoSource = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoSource_Private_IsVideoSource, 5450 .Open = (int32_t (*)(PP_Resource source, struct PP_Var stream_url, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoSource_Private_Open, 5451 .GetFrame = (int32_t (*)(PP_Resource source, struct PP_VideoFrame_Private* frame, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoSource_Private_GetFrame, 5452 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Close 5453 }; 5454 5455 static const struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Private_0_1 = { 5456 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certificate_Private_Create, 5457 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate, 5458 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5459 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Private_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5460 }; 5461 5462 static const struct PPP_ContentDecryptor_Private_0_12 Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_12 = { 5463 .Initialize = &Pnacl_M36_PPP_ContentDecryptor_Private_Initialize, 5464 .CreateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession, 5465 .LoadSession = &Pnacl_M36_PPP_ContentDecryptor_Private_LoadSession, 5466 .UpdateSession = &Pnacl_M36_PPP_ContentDecryptor_Private_UpdateSession, 5467 .ReleaseSession = &Pnacl_M36_PPP_ContentDecryptor_Private_ReleaseSession, 5468 .Decrypt = &Pnacl_M36_PPP_ContentDecryptor_Private_Decrypt, 5469 .InitializeAudioDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_InitializeAudioDecoder, 5470 .InitializeVideoDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_InitializeVideoDecoder, 5471 .DeinitializeDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_DeinitializeDecoder, 5472 .ResetDecoder = &Pnacl_M36_PPP_ContentDecryptor_Private_ResetDecoder, 5473 .DecryptAndDecode = &Pnacl_M36_PPP_ContentDecryptor_Private_DecryptAndDecode 5474 }; 5475 5476 /* Not generating wrapper interface for PPP_Find_Private_0_3 */ 5477 5478 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5479 5480 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5481 5482 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5483 5484 static const struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 5485 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject 5486 }; 5487 5488 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Compositor_0_1 = { 5489 .iface_macro = PPB_COMPOSITOR_INTERFACE_0_1, 5490 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Compositor_0_1, 5491 .real_iface = NULL 5492 }; 5493 5494 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_CompositorLayer_0_1 = { 5495 .iface_macro = PPB_COMPOSITORLAYER_INTERFACE_0_1, 5496 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_CompositorLayer_0_1, 5497 .real_iface = NULL 5498 }; 5499 5500 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0 = { 5501 .iface_macro = PPB_CONSOLE_INTERFACE_1_0, 5502 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Console_1_0, 5503 .real_iface = NULL 5504 }; 5505 5506 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0 = { 5507 .iface_macro = PPB_CORE_INTERFACE_1_0, 5508 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Core_1_0, 5509 .real_iface = NULL 5510 }; 5511 5512 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0 = { 5513 .iface_macro = PPB_FILEIO_INTERFACE_1_0, 5514 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileIO_1_0, 5515 .real_iface = NULL 5516 }; 5517 5518 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = { 5519 .iface_macro = PPB_FILEIO_INTERFACE_1_1, 5520 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileIO_1_1, 5521 .real_iface = NULL 5522 }; 5523 5524 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1 = { 5525 .iface_macro = PPB_FILEMAPPING_INTERFACE_0_1, 5526 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileMapping_0_1, 5527 .real_iface = NULL 5528 }; 5529 5530 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { 5531 .iface_macro = PPB_FILEREF_INTERFACE_1_0, 5532 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 5533 .real_iface = NULL 5534 }; 5535 5536 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { 5537 .iface_macro = PPB_FILEREF_INTERFACE_1_1, 5538 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileRef_1_1, 5539 .real_iface = NULL 5540 }; 5541 5542 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2 = { 5543 .iface_macro = PPB_FILEREF_INTERFACE_1_2, 5544 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileRef_1_2, 5545 .real_iface = NULL 5546 }; 5547 5548 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { 5549 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, 5550 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, 5551 .real_iface = NULL 5552 }; 5553 5554 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { 5555 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, 5556 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, 5557 .real_iface = NULL 5558 }; 5559 5560 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1 = { 5561 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_1, 5562 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1, 5563 .real_iface = NULL 5564 }; 5565 5566 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { 5567 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, 5568 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, 5569 .real_iface = NULL 5570 }; 5571 5572 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0 = { 5573 .iface_macro = PPB_HOSTRESOLVER_INTERFACE_1_0, 5574 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_HostResolver_1_0, 5575 .real_iface = NULL 5576 }; 5577 5578 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0 = { 5579 .iface_macro = PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0, 5580 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_0, 5581 .real_iface = NULL 5582 }; 5583 5584 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1 = { 5585 .iface_macro = PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1, 5586 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_1, 5587 .real_iface = NULL 5588 }; 5589 5590 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0 = { 5591 .iface_macro = PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0, 5592 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WheelInputEvent_1_0, 5593 .real_iface = NULL 5594 }; 5595 5596 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0 = { 5597 .iface_macro = PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0, 5598 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0, 5599 .real_iface = NULL 5600 }; 5601 5602 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2 = { 5603 .iface_macro = PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_2, 5604 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_2, 5605 .real_iface = NULL 5606 }; 5607 5608 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0 = { 5609 .iface_macro = PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0, 5610 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, 5611 .real_iface = NULL 5612 }; 5613 5614 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { 5615 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, 5616 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, 5617 .real_iface = NULL 5618 }; 5619 5620 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1 = { 5621 .iface_macro = PPB_MEDIASTREAMAUDIOTRACK_INTERFACE_0_1, 5622 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamAudioTrack_0_1, 5623 .real_iface = NULL 5624 }; 5625 5626 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 = { 5627 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1, 5628 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1, 5629 .real_iface = NULL 5630 }; 5631 5632 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0 = { 5633 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_1_0, 5634 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_1_0, 5635 .real_iface = NULL 5636 }; 5637 5638 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { 5639 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, 5640 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, 5641 .real_iface = NULL 5642 }; 5643 5644 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { 5645 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, 5646 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Messaging_1_0, 5647 .real_iface = NULL 5648 }; 5649 5650 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1 = { 5651 .iface_macro = PPB_MESSAGING_INTERFACE_1_1, 5652 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Messaging_1_1, 5653 .real_iface = NULL 5654 }; 5655 5656 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0 = { 5657 .iface_macro = PPB_MOUSELOCK_INTERFACE_1_0, 5658 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MouseLock_1_0, 5659 .real_iface = NULL 5660 }; 5661 5662 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0 = { 5663 .iface_macro = PPB_NETADDRESS_INTERFACE_1_0, 5664 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_1_0, 5665 .real_iface = NULL 5666 }; 5667 5668 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0 = { 5669 .iface_macro = PPB_NETWORKLIST_INTERFACE_1_0, 5670 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetworkList_1_0, 5671 .real_iface = NULL 5672 }; 5673 5674 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0 = { 5675 .iface_macro = PPB_NETWORKMONITOR_INTERFACE_1_0, 5676 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetworkMonitor_1_0, 5677 .real_iface = NULL 5678 }; 5679 5680 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0 = { 5681 .iface_macro = PPB_NETWORKPROXY_INTERFACE_1_0, 5682 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetworkProxy_1_0, 5683 .real_iface = NULL 5684 }; 5685 5686 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0 = { 5687 .iface_macro = PPB_TCPSOCKET_INTERFACE_1_0, 5688 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPSocket_1_0, 5689 .real_iface = NULL 5690 }; 5691 5692 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1 = { 5693 .iface_macro = PPB_TCPSOCKET_INTERFACE_1_1, 5694 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPSocket_1_1, 5695 .real_iface = NULL 5696 }; 5697 5698 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0 = { 5699 .iface_macro = PPB_TEXTINPUTCONTROLLER_INTERFACE_1_0, 5700 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TextInputController_1_0, 5701 .real_iface = NULL 5702 }; 5703 5704 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0 = { 5705 .iface_macro = PPB_UDPSOCKET_INTERFACE_1_0, 5706 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_UDPSocket_1_0, 5707 .real_iface = NULL 5708 }; 5709 5710 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0 = { 5711 .iface_macro = PPB_URLLOADER_INTERFACE_1_0, 5712 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_URLLoader_1_0, 5713 .real_iface = NULL 5714 }; 5715 5716 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0 = { 5717 .iface_macro = PPB_URLREQUESTINFO_INTERFACE_1_0, 5718 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_URLRequestInfo_1_0, 5719 .real_iface = NULL 5720 }; 5721 5722 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0 = { 5723 .iface_macro = PPB_URLRESPONSEINFO_INTERFACE_1_0, 5724 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_URLResponseInfo_1_0, 5725 .real_iface = NULL 5726 }; 5727 5728 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0 = { 5729 .iface_macro = PPB_VAR_INTERFACE_1_0, 5730 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Var_1_0, 5731 .real_iface = NULL 5732 }; 5733 5734 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = { 5735 .iface_macro = PPB_VAR_INTERFACE_1_1, 5736 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Var_1_1, 5737 .real_iface = NULL 5738 }; 5739 5740 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2 = { 5741 .iface_macro = PPB_VAR_INTERFACE_1_2, 5742 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Var_1_2, 5743 .real_iface = NULL 5744 }; 5745 5746 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0 = { 5747 .iface_macro = PPB_VAR_ARRAY_INTERFACE_1_0, 5748 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArray_1_0, 5749 .real_iface = NULL 5750 }; 5751 5752 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { 5753 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, 5754 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 5755 .real_iface = NULL 5756 }; 5757 5758 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = { 5759 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0, 5760 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, 5761 .real_iface = NULL 5762 }; 5763 5764 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_0_1 = { 5765 .iface_macro = PPB_VIDEODECODER_INTERFACE_0_1, 5766 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_0_1, 5767 .real_iface = NULL 5768 }; 5769 5770 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 5771 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 5772 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 5773 .real_iface = NULL 5774 }; 5775 5776 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { 5777 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, 5778 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, 5779 .real_iface = NULL 5780 }; 5781 5782 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3 = { 5783 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_3, 5784 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_3, 5785 .real_iface = NULL 5786 }; 5787 5788 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4 = { 5789 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_4, 5790 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_4, 5791 .real_iface = NULL 5792 }; 5793 5794 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1 = { 5795 .iface_macro = PPB_DEVICEREF_DEV_INTERFACE_0_1, 5796 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1, 5797 .real_iface = NULL 5798 }; 5799 5800 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5 = { 5801 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_5, 5802 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, 5803 .real_iface = NULL 5804 }; 5805 5806 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { 5807 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, 5808 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, 5809 .real_iface = NULL 5810 }; 5811 5812 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { 5813 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, 5814 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, 5815 .real_iface = NULL 5816 }; 5817 5818 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { 5819 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, 5820 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, 5821 .real_iface = NULL 5822 }; 5823 5824 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { 5825 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, 5826 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, 5827 .real_iface = NULL 5828 }; 5829 5830 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7 = { 5831 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_7, 5832 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Printing_Dev_0_7, 5833 .real_iface = NULL 5834 }; 5835 5836 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = { 5837 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, 5838 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5839 .real_iface = NULL 5840 }; 5841 5842 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5843 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5844 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5845 .real_iface = NULL 5846 }; 5847 5848 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7 = { 5849 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_7, 5850 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_7, 5851 .real_iface = NULL 5852 }; 5853 5854 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { 5855 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, 5856 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, 5857 .real_iface = NULL 5858 }; 5859 5860 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16 = { 5861 .iface_macro = PPB_VIDEODECODER_DEV_INTERFACE_0_16, 5862 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5863 .real_iface = NULL 5864 }; 5865 5866 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5867 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5868 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5869 .real_iface = NULL 5870 }; 5871 5872 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12 = { 5873 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, 5874 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_12, 5875 .real_iface = NULL 5876 }; 5877 5878 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1 = { 5879 .iface_macro = PPB_DISPLAYCOLORPROFILE_PRIVATE_INTERFACE_0_1, 5880 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_DisplayColorProfile_Private_0_1, 5881 .real_iface = NULL 5882 }; 5883 5884 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1 = { 5885 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1, 5886 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1, 5887 .real_iface = NULL 5888 }; 5889 5890 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = { 5891 .iface_macro = PPB_FILEIO_PRIVATE_INTERFACE_0_1, 5892 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileIO_Private_0_1, 5893 .real_iface = NULL 5894 }; 5895 5896 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = { 5897 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1, 5898 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1, 5899 .real_iface = NULL 5900 }; 5901 5902 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4 = { 5903 .iface_macro = PPB_FLASH_INTERFACE_12_4, 5904 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_12_4, 5905 .real_iface = NULL 5906 }; 5907 5908 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5 = { 5909 .iface_macro = PPB_FLASH_INTERFACE_12_5, 5910 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_12_5, 5911 .real_iface = NULL 5912 }; 5913 5914 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6 = { 5915 .iface_macro = PPB_FLASH_INTERFACE_12_6, 5916 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_12_6, 5917 .real_iface = NULL 5918 }; 5919 5920 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0 = { 5921 .iface_macro = PPB_FLASH_INTERFACE_13_0, 5922 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_13_0, 5923 .real_iface = NULL 5924 }; 5925 5926 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0 = { 5927 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_4_0, 5928 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, 5929 .real_iface = NULL 5930 }; 5931 5932 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0 = { 5933 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_5_0, 5934 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_5_0, 5935 .real_iface = NULL 5936 }; 5937 5938 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1 = { 5939 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_5_1, 5940 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_5_1, 5941 .real_iface = NULL 5942 }; 5943 5944 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = { 5945 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0, 5946 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0, 5947 .real_iface = NULL 5948 }; 5949 5950 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0 = { 5951 .iface_macro = PPB_FLASH_DRM_INTERFACE_1_0, 5952 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_0, 5953 .real_iface = NULL 5954 }; 5955 5956 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1 = { 5957 .iface_macro = PPB_FLASH_DRM_INTERFACE_1_1, 5958 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_1, 5959 .real_iface = NULL 5960 }; 5961 5962 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2 = { 5963 .iface_macro = PPB_FLASH_MENU_INTERFACE_0_2, 5964 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Flash_Menu_0_2, 5965 .real_iface = NULL 5966 }; 5967 5968 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1 = { 5969 .iface_macro = PPB_HOSTRESOLVER_PRIVATE_INTERFACE_0_1, 5970 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_HostResolver_Private_0_1, 5971 .real_iface = NULL 5972 }; 5973 5974 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1 = { 5975 .iface_macro = PPB_INSTANCE_PRIVATE_INTERFACE_0_1, 5976 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Instance_Private_0_1, 5977 .real_iface = NULL 5978 }; 5979 5980 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2 = { 5981 .iface_macro = PPB_ISOLATEDFILESYSTEM_PRIVATE_INTERFACE_0_2, 5982 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2, 5983 .real_iface = NULL 5984 }; 5985 5986 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0 = { 5987 .iface_macro = PPB_NACL_PRIVATE_INTERFACE_1_0, 5988 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NaCl_Private_1_0, 5989 .real_iface = NULL 5990 }; 5991 5992 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1 = { 5993 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_0_1, 5994 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_0_1, 5995 .real_iface = NULL 5996 }; 5997 5998 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0 = { 5999 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_1_0, 6000 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_0, 6001 .real_iface = NULL 6002 }; 6003 6004 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1 = { 6005 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_1_1, 6006 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_1, 6007 .real_iface = NULL 6008 }; 6009 6010 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1 = { 6011 .iface_macro = PPB_OUTPUTPROTECTION_PRIVATE_INTERFACE_0_1, 6012 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_OutputProtection_Private_0_1, 6013 .real_iface = NULL 6014 }; 6015 6016 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2 = { 6017 .iface_macro = PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_2, 6018 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2, 6019 .real_iface = NULL 6020 }; 6021 6022 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0 = { 6023 .iface_macro = PPB_TALK_PRIVATE_INTERFACE_1_0, 6024 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Talk_Private_1_0, 6025 .real_iface = NULL 6026 }; 6027 6028 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0 = { 6029 .iface_macro = PPB_TALK_PRIVATE_INTERFACE_2_0, 6030 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Talk_Private_2_0, 6031 .real_iface = NULL 6032 }; 6033 6034 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1 = { 6035 .iface_macro = PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_1, 6036 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1, 6037 .real_iface = NULL 6038 }; 6039 6040 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2 = { 6041 .iface_macro = PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_2, 6042 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2, 6043 .real_iface = NULL 6044 }; 6045 6046 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3 = { 6047 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3, 6048 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_3, 6049 .real_iface = NULL 6050 }; 6051 6052 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4 = { 6053 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_4, 6054 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_4, 6055 .real_iface = NULL 6056 }; 6057 6058 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5 = { 6059 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_5, 6060 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_5, 6061 .real_iface = NULL 6062 }; 6063 6064 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0 = { 6065 .iface_macro = PPB_TESTING_PRIVATE_INTERFACE_1_0, 6066 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Testing_Private_1_0, 6067 .real_iface = NULL 6068 }; 6069 6070 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2 = { 6071 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2, 6072 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_2, 6073 .real_iface = NULL 6074 }; 6075 6076 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3 = { 6077 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_3, 6078 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3, 6079 .real_iface = NULL 6080 }; 6081 6082 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = { 6083 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4, 6084 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 6085 .real_iface = NULL 6086 }; 6087 6088 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_3 = { 6089 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_3, 6090 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_UMA_Private_0_3, 6091 .real_iface = NULL 6092 }; 6093 6094 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1 = { 6095 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1, 6096 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1, 6097 .real_iface = NULL 6098 }; 6099 6100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = { 6101 .iface_macro = PPB_VIDEOSOURCE_PRIVATE_INTERFACE_0_1, 6102 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 6103 .real_iface = NULL 6104 }; 6105 6106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1 = { 6107 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 6108 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 6109 .real_iface = NULL 6110 }; 6111 6112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12 = { 6113 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_12, 6114 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_12, 6115 .real_iface = NULL 6116 }; 6117 6118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 6119 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 6120 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 6121 .real_iface = NULL 6122 }; 6123 6124 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 6125 &Pnacl_WrapperInfo_PPB_Compositor_0_1, 6126 &Pnacl_WrapperInfo_PPB_CompositorLayer_0_1, 6127 &Pnacl_WrapperInfo_PPB_Console_1_0, 6128 &Pnacl_WrapperInfo_PPB_Core_1_0, 6129 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 6130 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 6131 &Pnacl_WrapperInfo_PPB_FileMapping_0_1, 6132 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 6133 &Pnacl_WrapperInfo_PPB_FileRef_1_1, 6134 &Pnacl_WrapperInfo_PPB_FileRef_1_2, 6135 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 6136 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 6137 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 6138 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 6139 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 6140 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 6141 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 6142 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 6143 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 6144 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, 6145 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 6146 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, 6147 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, 6148 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, 6149 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_1_0, 6150 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 6151 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 6152 &Pnacl_WrapperInfo_PPB_Messaging_1_1, 6153 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 6154 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, 6155 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, 6156 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, 6157 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, 6158 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, 6159 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, 6160 &Pnacl_WrapperInfo_PPB_TextInputController_1_0, 6161 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, 6162 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 6163 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 6164 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 6165 &Pnacl_WrapperInfo_PPB_Var_1_0, 6166 &Pnacl_WrapperInfo_PPB_Var_1_1, 6167 &Pnacl_WrapperInfo_PPB_Var_1_2, 6168 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 6169 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 6170 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 6171 &Pnacl_WrapperInfo_PPB_VideoDecoder_0_1, 6172 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 6173 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 6174 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 6175 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 6176 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 6177 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 6178 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 6179 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 6180 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 6181 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 6182 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 6183 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 6184 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 6185 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 6186 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 6187 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_12, 6188 &Pnacl_WrapperInfo_PPB_DisplayColorProfile_Private_0_1, 6189 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 6190 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 6191 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 6192 &Pnacl_WrapperInfo_PPB_Flash_12_4, 6193 &Pnacl_WrapperInfo_PPB_Flash_12_5, 6194 &Pnacl_WrapperInfo_PPB_Flash_12_6, 6195 &Pnacl_WrapperInfo_PPB_Flash_13_0, 6196 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 6197 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 6198 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_1, 6199 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 6200 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_0, 6201 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_1, 6202 &Pnacl_WrapperInfo_PPB_Flash_Menu_0_2, 6203 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1, 6204 &Pnacl_WrapperInfo_PPB_Instance_Private_0_1, 6205 &Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2, 6206 &Pnacl_WrapperInfo_PPB_NaCl_Private_1_0, 6207 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1, 6208 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0, 6209 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1, 6210 &Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1, 6211 &Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2, 6212 &Pnacl_WrapperInfo_PPB_Talk_Private_1_0, 6213 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0, 6214 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1, 6215 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2, 6216 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, 6217 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, 6218 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, 6219 &Pnacl_WrapperInfo_PPB_Testing_Private_1_0, 6220 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, 6221 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, 6222 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, 6223 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, 6224 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 6225 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 6226 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 6227 NULL 6228 }; 6229 6230 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 6231 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 6232 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 6233 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_12, 6234 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 6235 NULL 6236 }; 6237 6238 6239 6240 static PPB_GetInterface __real_PPBGetInterface; 6241 static PPP_GetInterface_Type __real_PPPGetInterface; 6242 6243 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 6244 __real_PPBGetInterface = real; 6245 } 6246 6247 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real) { 6248 __real_PPPGetInterface = real; 6249 } 6250 6251 /* Map interface string -> wrapper metadata */ 6252 static struct __PnaclWrapperInfo *PnaclPPBShimIface( 6253 const char *name) { 6254 struct __PnaclWrapperInfo **next = s_ppb_wrappers; 6255 while (*next != NULL) { 6256 if (mystrcmp(name, (*next)->iface_macro) == 0) return *next; 6257 ++next; 6258 } 6259 return NULL; 6260 } 6261 6262 /* Map interface string -> wrapper metadata */ 6263 static struct __PnaclWrapperInfo *PnaclPPPShimIface( 6264 const char *name) { 6265 struct __PnaclWrapperInfo **next = s_ppp_wrappers; 6266 while (*next != NULL) { 6267 if (mystrcmp(name, (*next)->iface_macro) == 0) return *next; 6268 ++next; 6269 } 6270 return NULL; 6271 } 6272 6273 const void *__Pnacl_PPBGetInterface(const char *name) { 6274 struct __PnaclWrapperInfo *wrapper = PnaclPPBShimIface(name); 6275 if (wrapper == NULL) { 6276 /* We did not generate a wrapper for this, so return the real interface. */ 6277 return (*__real_PPBGetInterface)(name); 6278 } 6279 6280 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6281 if (wrapper->real_iface == NULL) { 6282 const void *iface = (*__real_PPBGetInterface)(name); 6283 if (NULL == iface) return NULL; 6284 wrapper->real_iface = iface; 6285 } 6286 6287 return wrapper->wrapped_iface; 6288 } 6289 6290 const void *__Pnacl_PPPGetInterface(const char *name) { 6291 struct __PnaclWrapperInfo *wrapper = PnaclPPPShimIface(name); 6292 if (wrapper == NULL) { 6293 /* We did not generate a wrapper for this, so return the real interface. */ 6294 return (*__real_PPPGetInterface)(name); 6295 } 6296 6297 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6298 if (wrapper->real_iface == NULL) { 6299 const void *iface = (*__real_PPPGetInterface)(name); 6300 if (NULL == iface) return NULL; 6301 wrapper->real_iface = iface; 6302 } 6303 6304 return wrapper->wrapped_iface; 6305 } 6306