| OLD | NEW |
| 1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
| 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" |
| 8 | 8 |
| 9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
| 10 #include "ppapi/c/dev/ppb_alarms_dev.h" | 10 #include "ppapi/c/dev/ppb_alarms_dev.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "ppapi/c/ppb_text_input_controller.h" | 43 #include "ppapi/c/ppb_text_input_controller.h" |
| 44 #include "ppapi/c/ppb_udp_socket.h" | 44 #include "ppapi/c/ppb_udp_socket.h" |
| 45 #include "ppapi/c/ppb_url_loader.h" | 45 #include "ppapi/c/ppb_url_loader.h" |
| 46 #include "ppapi/c/ppb_url_request_info.h" | 46 #include "ppapi/c/ppb_url_request_info.h" |
| 47 #include "ppapi/c/ppb_url_response_info.h" | 47 #include "ppapi/c/ppb_url_response_info.h" |
| 48 #include "ppapi/c/ppb_var.h" | 48 #include "ppapi/c/ppb_var.h" |
| 49 #include "ppapi/c/ppb_var_array.h" | 49 #include "ppapi/c/ppb_var_array.h" |
| 50 #include "ppapi/c/ppb_var_array_buffer.h" | 50 #include "ppapi/c/ppb_var_array_buffer.h" |
| 51 #include "ppapi/c/ppb_var_dictionary.h" | 51 #include "ppapi/c/ppb_var_dictionary.h" |
| 52 #include "ppapi/c/ppb_websocket.h" | 52 #include "ppapi/c/ppb_websocket.h" |
| 53 #include "ppapi/c/ppp_message_handler.h" |
| 53 #include "ppapi/c/ppp_messaging.h" | 54 #include "ppapi/c/ppp_messaging.h" |
| 54 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 55 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
| 55 #include "ppapi/c/private/ppb_display_color_profile_private.h" | 56 #include "ppapi/c/private/ppb_display_color_profile_private.h" |
| 56 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" | 57 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" |
| 57 #include "ppapi/c/private/ppb_file_io_private.h" | 58 #include "ppapi/c/private/ppb_file_io_private.h" |
| 58 #include "ppapi/c/private/ppb_file_ref_private.h" | 59 #include "ppapi/c/private/ppb_file_ref_private.h" |
| 59 #include "ppapi/c/private/ppb_flash.h" | 60 #include "ppapi/c/private/ppb_flash.h" |
| 60 #include "ppapi/c/private/ppb_flash_clipboard.h" | 61 #include "ppapi/c/private/ppb_flash_clipboard.h" |
| 61 #include "ppapi/c/private/ppb_flash_device_id.h" | 62 #include "ppapi/c/private/ppb_flash_device_id.h" |
| 62 #include "ppapi/c/private/ppb_flash_drm.h" | 63 #include "ppapi/c/private/ppb_flash_drm.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
| 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
| 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
| 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; | 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; |
| 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
| 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; | 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; |
| 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; | 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; |
| 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; | 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1
; |
| 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; | 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; |
| 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; | 121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; |
| 122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1; |
| 121 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; | 123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; |
| 122 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; | 124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; |
| 123 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; | 125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; |
| 124 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; | 126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; |
| 125 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; | 127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; |
| 126 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; | 128 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; |
| 127 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; | 129 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; |
| 128 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0; | 130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0; |
| 129 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; | 131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; |
| 130 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; | 132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; |
| 131 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; | 133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; |
| 132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; | 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; |
| 133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; | 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; |
| 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; | 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; |
| 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; | 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_2; |
| 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; | 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; |
| 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
| 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; | 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; |
| 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
| 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MessageHandler_0_1; |
| 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
| 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; |
| 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
| 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
| 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
| 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
| 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
| 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
| 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
| 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 | 1122 |
| 1120 /* Begin wrapper methods for PPB_Messaging_1_0 */ | 1123 /* Begin wrapper methods for PPB_Messaging_1_0 */ |
| 1121 | 1124 |
| 1122 static void Pnacl_M14_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_
Var* message) { | 1125 static void Pnacl_M14_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_
Var* message) { |
| 1123 const struct PPB_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_0.re
al_iface; | 1126 const struct PPB_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_0.re
al_iface; |
| 1124 iface->PostMessage(instance, *message); | 1127 iface->PostMessage(instance, *message); |
| 1125 } | 1128 } |
| 1126 | 1129 |
| 1127 /* End wrapper methods for PPB_Messaging_1_0 */ | 1130 /* End wrapper methods for PPB_Messaging_1_0 */ |
| 1128 | 1131 |
| 1132 /* Begin wrapper methods for PPB_Messaging_1_1 */ |
| 1133 |
| 1134 static void Pnacl_M36_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_
Var* message) { |
| 1135 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.re
al_iface; |
| 1136 iface->PostMessage(instance, *message); |
| 1137 } |
| 1138 |
| 1139 static int32_t Pnacl_M36_PPB_Messaging_RegisterMessageHandler(PP_Instance instan
ce, const void* user_data, const struct PPP_MessageHandler_0_1* handler, PP_Reso
urce message_loop) { |
| 1140 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.re
al_iface; |
| 1141 return iface->RegisterMessageHandler(instance, user_data, handler, message_loo
p); |
| 1142 } |
| 1143 |
| 1144 static void Pnacl_M36_PPB_Messaging_UnregisterMessageHandler(PP_Instance instanc
e) { |
| 1145 const struct PPB_Messaging_1_1 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_1.re
al_iface; |
| 1146 iface->UnregisterMessageHandler(instance); |
| 1147 } |
| 1148 |
| 1149 /* End wrapper methods for PPB_Messaging_1_1 */ |
| 1150 |
| 1129 /* Not generating wrapper methods for PPB_MouseCursor_1_0 */ | 1151 /* Not generating wrapper methods for PPB_MouseCursor_1_0 */ |
| 1130 | 1152 |
| 1131 /* Begin wrapper methods for PPB_MouseLock_1_0 */ | 1153 /* Begin wrapper methods for PPB_MouseLock_1_0 */ |
| 1132 | 1154 |
| 1133 static int32_t Pnacl_M16_PPB_MouseLock_LockMouse(PP_Instance instance, struct PP
_CompletionCallback* callback) { | 1155 static int32_t Pnacl_M16_PPB_MouseLock_LockMouse(PP_Instance instance, struct PP
_CompletionCallback* callback) { |
| 1134 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.re
al_iface; | 1156 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.re
al_iface; |
| 1135 return iface->LockMouse(instance, *callback); | 1157 return iface->LockMouse(instance, *callback); |
| 1136 } | 1158 } |
| 1137 | 1159 |
| 1138 static void Pnacl_M16_PPB_MouseLock_UnlockMouse(PP_Instance instance) { | 1160 static void Pnacl_M16_PPB_MouseLock_UnlockMouse(PP_Instance instance) { |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1786 /* End wrapper methods for PPB_WebSocket_1_0 */ | 1808 /* End wrapper methods for PPB_WebSocket_1_0 */ |
| 1787 | 1809 |
| 1788 /* Not generating wrapper methods for PPP_Graphics3D_1_0 */ | 1810 /* Not generating wrapper methods for PPP_Graphics3D_1_0 */ |
| 1789 | 1811 |
| 1790 /* Not generating wrapper methods for PPP_InputEvent_0_1 */ | 1812 /* Not generating wrapper methods for PPP_InputEvent_0_1 */ |
| 1791 | 1813 |
| 1792 /* Not generating wrapper methods for PPP_Instance_1_0 */ | 1814 /* Not generating wrapper methods for PPP_Instance_1_0 */ |
| 1793 | 1815 |
| 1794 /* Not generating wrapper methods for PPP_Instance_1_1 */ | 1816 /* Not generating wrapper methods for PPP_Instance_1_1 */ |
| 1795 | 1817 |
| 1818 /* Begin wrapper methods for PPP_MessageHandler_0_1 */ |
| 1819 |
| 1820 static void Pnacl_M36_PPP_MessageHandler_HandleMessage(PP_Instance instance, con
st void* user_data, struct PP_Var message) { |
| 1821 const struct PPP_MessageHandler_0_1 *iface = Pnacl_WrapperInfo_PPP_MessageHand
ler_0_1.real_iface; |
| 1822 void (*temp_fp)(PP_Instance instance, const void* user_data, struct PP_Var* me
ssage) = |
| 1823 ((void (*)(PP_Instance instance, const void* user_data, struct PP_Var* messa
ge))iface->HandleMessage); |
| 1824 temp_fp(instance, user_data, &message); |
| 1825 } |
| 1826 |
| 1827 static struct PP_Var Pnacl_M36_PPP_MessageHandler_HandleBlockingMessage(PP_Insta
nce instance, const void* user_data, struct PP_Var message) { |
| 1828 const struct PPP_MessageHandler_0_1 *iface = Pnacl_WrapperInfo_PPP_MessageHand
ler_0_1.real_iface; |
| 1829 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance, const voi
d* user_data, struct PP_Var* message) = |
| 1830 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance, const void*
user_data, struct PP_Var* message))iface->HandleBlockingMessage); |
| 1831 struct PP_Var _struct_result; |
| 1832 temp_fp(&_struct_result, instance, user_data, &message); |
| 1833 return _struct_result; |
| 1834 } |
| 1835 |
| 1836 static void Pnacl_M36_PPP_MessageHandler_Destroy(PP_Instance instance, const voi
d* user_data) { |
| 1837 const struct PPP_MessageHandler_0_1 *iface = Pnacl_WrapperInfo_PPP_MessageHand
ler_0_1.real_iface; |
| 1838 void (*temp_fp)(PP_Instance instance, const void* user_data) = |
| 1839 ((void (*)(PP_Instance instance, const void* user_data))iface->Destroy); |
| 1840 temp_fp(instance, user_data); |
| 1841 } |
| 1842 |
| 1843 /* End wrapper methods for PPP_MessageHandler_0_1 */ |
| 1844 |
| 1796 /* Begin wrapper methods for PPP_Messaging_1_0 */ | 1845 /* Begin wrapper methods for PPP_Messaging_1_0 */ |
| 1797 | 1846 |
| 1798 static void Pnacl_M14_PPP_Messaging_HandleMessage(PP_Instance instance, struct P
P_Var message) { | 1847 static void Pnacl_M14_PPP_Messaging_HandleMessage(PP_Instance instance, struct P
P_Var message) { |
| 1799 const struct PPP_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPP_Messaging_1_0.re
al_iface; | 1848 const struct PPP_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPP_Messaging_1_0.re
al_iface; |
| 1800 void (*temp_fp)(PP_Instance instance, struct PP_Var* message) = | 1849 void (*temp_fp)(PP_Instance instance, struct PP_Var* message) = |
| 1801 ((void (*)(PP_Instance instance, struct PP_Var* message))iface->HandleMessag
e); | 1850 ((void (*)(PP_Instance instance, struct PP_Var* message))iface->HandleMessag
e); |
| 1802 temp_fp(instance, &message); | 1851 temp_fp(instance, &message); |
| 1803 } | 1852 } |
| 1804 | 1853 |
| 1805 /* End wrapper methods for PPP_Messaging_1_0 */ | 1854 /* End wrapper methods for PPP_Messaging_1_0 */ |
| (...skipping 2762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4568 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P
PB_MessageLoop_AttachToCurrentThread, | 4617 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P
PB_MessageLoop_AttachToCurrentThread, |
| 4569 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run
, | 4618 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run
, |
| 4570 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb
ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, | 4619 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb
ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, |
| 4571 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&
Pnacl_M25_PPB_MessageLoop_PostQuit | 4620 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&
Pnacl_M25_PPB_MessageLoop_PostQuit |
| 4572 }; | 4621 }; |
| 4573 | 4622 |
| 4574 static const struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = { | 4623 static const struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = { |
| 4575 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl
_M14_PPB_Messaging_PostMessage | 4624 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl
_M14_PPB_Messaging_PostMessage |
| 4576 }; | 4625 }; |
| 4577 | 4626 |
| 4627 static const struct PPB_Messaging_1_1 Pnacl_Wrappers_PPB_Messaging_1_1 = { |
| 4628 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl
_M36_PPB_Messaging_PostMessage, |
| 4629 .RegisterMessageHandler = (int32_t (*)(PP_Instance instance, const void* use
r_data, const struct PPP_MessageHandler_0_1* handler, PP_Resource message_loop))
&Pnacl_M36_PPB_Messaging_RegisterMessageHandler, |
| 4630 .UnregisterMessageHandler = (void (*)(PP_Instance instance))&Pnacl_M36_PPB_M
essaging_UnregisterMessageHandler |
| 4631 }; |
| 4632 |
| 4578 /* Not generating wrapper interface for PPB_MouseCursor_1_0 */ | 4633 /* Not generating wrapper interface for PPB_MouseCursor_1_0 */ |
| 4579 | 4634 |
| 4580 static const struct PPB_MouseLock_1_0 Pnacl_Wrappers_PPB_MouseLock_1_0 = { | 4635 static const struct PPB_MouseLock_1_0 Pnacl_Wrappers_PPB_MouseLock_1_0 = { |
| 4581 .LockMouse = (int32_t (*)(PP_Instance instance, struct PP_CompletionCallback
callback))&Pnacl_M16_PPB_MouseLock_LockMouse, | 4636 .LockMouse = (int32_t (*)(PP_Instance instance, struct PP_CompletionCallback
callback))&Pnacl_M16_PPB_MouseLock_LockMouse, |
| 4582 .UnlockMouse = (void (*)(PP_Instance instance))&Pnacl_M16_PPB_MouseLock_Unlo
ckMouse | 4637 .UnlockMouse = (void (*)(PP_Instance instance))&Pnacl_M16_PPB_MouseLock_Unlo
ckMouse |
| 4583 }; | 4638 }; |
| 4584 | 4639 |
| 4585 static const struct PPB_NetAddress_1_0 Pnacl_Wrappers_PPB_NetAddress_1_0 = { | 4640 static const struct PPB_NetAddress_1_0 Pnacl_Wrappers_PPB_NetAddress_1_0 = { |
| 4586 .CreateFromIPv4Address = (PP_Resource (*)(PP_Instance instance, const struct
PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address, | 4641 .CreateFromIPv4Address = (PP_Resource (*)(PP_Instance instance, const struct
PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address, |
| 4587 .CreateFromIPv6Address = (PP_Resource (*)(PP_Instance instance, const struct
PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address, | 4642 .CreateFromIPv6Address = (PP_Resource (*)(PP_Instance instance, const struct
PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4756 }; | 4811 }; |
| 4757 | 4812 |
| 4758 /* Not generating wrapper interface for PPP_Graphics3D_1_0 */ | 4813 /* Not generating wrapper interface for PPP_Graphics3D_1_0 */ |
| 4759 | 4814 |
| 4760 /* Not generating wrapper interface for PPP_InputEvent_0_1 */ | 4815 /* Not generating wrapper interface for PPP_InputEvent_0_1 */ |
| 4761 | 4816 |
| 4762 /* Not generating wrapper interface for PPP_Instance_1_0 */ | 4817 /* Not generating wrapper interface for PPP_Instance_1_0 */ |
| 4763 | 4818 |
| 4764 /* Not generating wrapper interface for PPP_Instance_1_1 */ | 4819 /* Not generating wrapper interface for PPP_Instance_1_1 */ |
| 4765 | 4820 |
| 4821 static const struct PPP_MessageHandler_0_1 Pnacl_Wrappers_PPP_MessageHandler_0_1
= { |
| 4822 .HandleMessage = &Pnacl_M36_PPP_MessageHandler_HandleMessage, |
| 4823 .HandleBlockingMessage = &Pnacl_M36_PPP_MessageHandler_HandleBlockingMessage
, |
| 4824 .Destroy = &Pnacl_M36_PPP_MessageHandler_Destroy |
| 4825 }; |
| 4826 |
| 4766 static const struct PPP_Messaging_1_0 Pnacl_Wrappers_PPP_Messaging_1_0 = { | 4827 static const struct PPP_Messaging_1_0 Pnacl_Wrappers_PPP_Messaging_1_0 = { |
| 4767 .HandleMessage = &Pnacl_M14_PPP_Messaging_HandleMessage | 4828 .HandleMessage = &Pnacl_M14_PPP_Messaging_HandleMessage |
| 4768 }; | 4829 }; |
| 4769 | 4830 |
| 4770 /* Not generating wrapper interface for PPP_MouseLock_1_0 */ | 4831 /* Not generating wrapper interface for PPP_MouseLock_1_0 */ |
| 4771 | 4832 |
| 4772 /* Not generating wrapper interface for PPB_BrokerTrusted_0_2 */ | 4833 /* Not generating wrapper interface for PPB_BrokerTrusted_0_2 */ |
| 4773 | 4834 |
| 4774 /* Not generating wrapper interface for PPB_BrokerTrusted_0_3 */ | 4835 /* Not generating wrapper interface for PPB_BrokerTrusted_0_3 */ |
| 4775 | 4836 |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5599 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, | 5660 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, |
| 5600 .real_iface = NULL | 5661 .real_iface = NULL |
| 5601 }; | 5662 }; |
| 5602 | 5663 |
| 5603 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { | 5664 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { |
| 5604 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, | 5665 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, |
| 5605 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Messaging_1_0, | 5666 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Messaging_1_0, |
| 5606 .real_iface = NULL | 5667 .real_iface = NULL |
| 5607 }; | 5668 }; |
| 5608 | 5669 |
| 5670 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_1 = { |
| 5671 .iface_macro = PPB_MESSAGING_INTERFACE_1_1, |
| 5672 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Messaging_1_1, |
| 5673 .real_iface = NULL |
| 5674 }; |
| 5675 |
| 5609 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0 = { | 5676 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0 = { |
| 5610 .iface_macro = PPB_MOUSELOCK_INTERFACE_1_0, | 5677 .iface_macro = PPB_MOUSELOCK_INTERFACE_1_0, |
| 5611 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MouseLock_1_0, | 5678 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_MouseLock_1_0, |
| 5612 .real_iface = NULL | 5679 .real_iface = NULL |
| 5613 }; | 5680 }; |
| 5614 | 5681 |
| 5615 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0 = { | 5682 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0 = { |
| 5616 .iface_macro = PPB_NETADDRESS_INTERFACE_1_0, | 5683 .iface_macro = PPB_NETADDRESS_INTERFACE_1_0, |
| 5617 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_1_0, | 5684 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_NetAddress_1_0, |
| 5618 .real_iface = NULL | 5685 .real_iface = NULL |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5713 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, | 5780 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, |
| 5714 .real_iface = NULL | 5781 .real_iface = NULL |
| 5715 }; | 5782 }; |
| 5716 | 5783 |
| 5717 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { | 5784 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { |
| 5718 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, | 5785 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, |
| 5719 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, | 5786 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, |
| 5720 .real_iface = NULL | 5787 .real_iface = NULL |
| 5721 }; | 5788 }; |
| 5722 | 5789 |
| 5790 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_MessageHandler_0_1 = { |
| 5791 .iface_macro = NULL, |
| 5792 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_MessageHandler_0_1, |
| 5793 .real_iface = NULL |
| 5794 }; |
| 5795 |
| 5723 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { | 5796 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { |
| 5724 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, | 5797 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, |
| 5725 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, | 5798 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPP_Messaging_1_0, |
| 5726 .real_iface = NULL | 5799 .real_iface = NULL |
| 5727 }; | 5800 }; |
| 5728 | 5801 |
| 5729 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1 = { | 5802 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1 = { |
| 5730 .iface_macro = PPB_ALARMS_DEV_INTERFACE_0_1, | 5803 .iface_macro = PPB_ALARMS_DEV_INTERFACE_0_1, |
| 5731 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Alarms_Dev_0_1, | 5804 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Alarms_Dev_0_1, |
| 5732 .real_iface = NULL | 5805 .real_iface = NULL |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6104 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 6177 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
| 6105 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 6178 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
| 6106 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 6179 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
| 6107 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, | 6180 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, |
| 6108 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 6181 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
| 6109 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, | 6182 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, |
| 6110 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, | 6183 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, |
| 6111 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, | 6184 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1, |
| 6112 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, | 6185 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, |
| 6113 &Pnacl_WrapperInfo_PPB_Messaging_1_0, | 6186 &Pnacl_WrapperInfo_PPB_Messaging_1_0, |
| 6187 &Pnacl_WrapperInfo_PPB_Messaging_1_1, |
| 6114 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, | 6188 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, |
| 6115 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, | 6189 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, |
| 6116 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, | 6190 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, |
| 6117 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, | 6191 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, |
| 6118 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, | 6192 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, |
| 6119 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, | 6193 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, |
| 6120 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, | 6194 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, |
| 6121 &Pnacl_WrapperInfo_PPB_TextInputController_1_0, | 6195 &Pnacl_WrapperInfo_PPB_TextInputController_1_0, |
| 6122 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, | 6196 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, |
| 6123 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, | 6197 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6184 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, | 6258 &Pnacl_WrapperInfo_PPB_UMA_Private_0_3, |
| 6185 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 6259 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
| 6186 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 6260 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
| 6187 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 6261 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
| 6188 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, | 6262 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, |
| 6189 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, | 6263 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, |
| 6190 NULL | 6264 NULL |
| 6191 }; | 6265 }; |
| 6192 | 6266 |
| 6193 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 6267 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
| 6268 &Pnacl_WrapperInfo_PPP_MessageHandler_0_1, |
| 6194 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 6269 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
| 6195 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 6270 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
| 6196 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, | 6271 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_11, |
| 6197 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 6272 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
| 6198 NULL | 6273 NULL |
| 6199 }; | 6274 }; |
| 6200 | 6275 |
| 6201 | 6276 |
| 6202 | 6277 |
| 6203 static PPB_GetInterface __real_PPBGetInterface; | 6278 static PPB_GetInterface __real_PPBGetInterface; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6259 | 6334 |
| 6260 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6335 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
| 6261 if (wrapper->real_iface == NULL) { | 6336 if (wrapper->real_iface == NULL) { |
| 6262 const void *iface = (*__real_PPPGetInterface)(name); | 6337 const void *iface = (*__real_PPPGetInterface)(name); |
| 6263 if (NULL == iface) return NULL; | 6338 if (NULL == iface) return NULL; |
| 6264 wrapper->real_iface = iface; | 6339 wrapper->real_iface = iface; |
| 6265 } | 6340 } |
| 6266 | 6341 |
| 6267 return wrapper->wrapped_iface; | 6342 return wrapper->wrapped_iface; |
| 6268 } | 6343 } |
| OLD | NEW |