| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* Last generated from IDL: Thu Oct 4 11:25:54 2012. */ | 6 /* Last generated from IDL: Mon Oct 8 11:29:54 2012. */ |
| 7 #include "ppapi/generators/pnacl_shim.h" | 7 #include "ppapi/generators/pnacl_shim.h" |
| 8 | 8 |
| 9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
| 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 11 #include "ppapi/c/dev/ppb_buffer_dev.h" | 11 #include "ppapi/c/dev/ppb_buffer_dev.h" |
| 12 #include "ppapi/c/dev/ppb_console_dev.h" | 12 #include "ppapi/c/dev/ppb_console_dev.h" |
| 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
| 14 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 14 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
| 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 16 #include "ppapi/c/dev/ppb_find_dev.h" | 16 #include "ppapi/c/dev/ppb_find_dev.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #include "ppapi/c/ppp_graphics_3d.h" | 63 #include "ppapi/c/ppp_graphics_3d.h" |
| 64 #include "ppapi/c/ppp_input_event.h" | 64 #include "ppapi/c/ppp_input_event.h" |
| 65 #include "ppapi/c/ppp_instance.h" | 65 #include "ppapi/c/ppp_instance.h" |
| 66 #include "ppapi/c/ppp_messaging.h" | 66 #include "ppapi/c/ppp_messaging.h" |
| 67 #include "ppapi/c/ppp_mouse_lock.h" | 67 #include "ppapi/c/ppp_mouse_lock.h" |
| 68 #include "ppapi/c/private/ppb_content_decryptor_private.h" | 68 #include "ppapi/c/private/ppb_content_decryptor_private.h" |
| 69 #include "ppapi/c/private/ppb_file_ref_private.h" | 69 #include "ppapi/c/private/ppb_file_ref_private.h" |
| 70 #include "ppapi/c/private/ppb_flash.h" | 70 #include "ppapi/c/private/ppb_flash.h" |
| 71 #include "ppapi/c/private/ppb_flash_clipboard.h" | 71 #include "ppapi/c/private/ppb_flash_clipboard.h" |
| 72 #include "ppapi/c/private/ppb_flash_device_id.h" | 72 #include "ppapi/c/private/ppb_flash_device_id.h" |
| 73 #include "ppapi/c/private/ppb_flash_font_file.h" |
| 73 #include "ppapi/c/private/ppb_flash_fullscreen.h" | 74 #include "ppapi/c/private/ppb_flash_fullscreen.h" |
| 74 #include "ppapi/c/private/ppb_flash_message_loop.h" | 75 #include "ppapi/c/private/ppb_flash_message_loop.h" |
| 75 #include "ppapi/c/private/ppb_flash_print.h" | 76 #include "ppapi/c/private/ppb_flash_print.h" |
| 76 #include "ppapi/c/private/ppb_flash_tcp_socket.h" | 77 #include "ppapi/c/private/ppb_flash_tcp_socket.h" |
| 77 #include "ppapi/c/private/ppb_flash_udp_socket.h" | 78 #include "ppapi/c/private/ppb_flash_udp_socket.h" |
| 78 #include "ppapi/c/private/ppb_host_resolver_private.h" | 79 #include "ppapi/c/private/ppb_host_resolver_private.h" |
| 79 #include "ppapi/c/private/ppb_net_address_private.h" | 80 #include "ppapi/c/private/ppb_net_address_private.h" |
| 80 #include "ppapi/c/private/ppb_network_list_private.h" | 81 #include "ppapi/c/private/ppb_network_list_private.h" |
| 81 #include "ppapi/c/private/ppb_network_monitor_private.h" | 82 #include "ppapi/c/private/ppb_network_monitor_private.h" |
| 82 #include "ppapi/c/private/ppb_talk_private.h" | 83 #include "ppapi/c/private/ppb_talk_private.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; | 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; |
| 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; | 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; |
| 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; | 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; |
| 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; | 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; |
| 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; | 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; |
| 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; | 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; |
| 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; | 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; |
| 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; | 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; |
| 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; | 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; |
| 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; | 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; |
| 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1; |
| 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1; | 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1; |
| 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0; | 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0; |
| 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1; | 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1; |
| 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0; | 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0; |
| 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2; | 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2; |
| 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1; | 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1; |
| 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1; | 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1; |
| 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1; | 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1; |
| 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0; | 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0; |
| 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1; | 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1; |
| (...skipping 2331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2555 } | 2557 } |
| 2556 | 2558 |
| 2557 static __attribute__((pnaclcall)) | 2559 static __attribute__((pnaclcall)) |
| 2558 int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct P
P_Var* id, struct PP_CompletionCallback callback) { | 2560 int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct P
P_Var* id, struct PP_CompletionCallback callback) { |
| 2559 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Devic
eID_1_0.real_iface; | 2561 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Devic
eID_1_0.real_iface; |
| 2560 return iface->GetDeviceID(device_id, id, callback); | 2562 return iface->GetDeviceID(device_id, id, callback); |
| 2561 } | 2563 } |
| 2562 | 2564 |
| 2563 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */ | 2565 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */ |
| 2564 | 2566 |
| 2567 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */ |
| 2568 |
| 2565 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ | 2569 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ |
| 2566 | 2570 |
| 2567 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ | 2571 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ |
| 2568 | 2572 |
| 2569 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */ | 2573 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */ |
| 2570 | 2574 |
| 2571 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ | 2575 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ |
| 2572 | 2576 |
| 2573 /* Begin wrapper methods for PPB_Flash_TCPSocket_0_2 */ | 2577 /* Begin wrapper methods for PPB_Flash_TCPSocket_0_2 */ |
| 2574 | 2578 |
| (...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3940 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar
d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Cl
ipboard_IsFormatAvailable, | 3944 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar
d_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Cl
ipboard_IsFormatAvailable, |
| 3941 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T
ype clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipb
oard_ReadData, | 3945 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T
ype clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipb
oard_ReadData, |
| 3942 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c
lipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats
[], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData | 3946 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c
lipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats
[], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData |
| 3943 }; | 3947 }; |
| 3944 | 3948 |
| 3945 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { | 3949 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { |
| 3946 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device
ID_Create, | 3950 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device
ID_Create, |
| 3947 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct
PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID | 3951 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct
PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID |
| 3948 }; | 3952 }; |
| 3949 | 3953 |
| 3954 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ |
| 3955 |
| 3950 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ | 3956 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ |
| 3951 | 3957 |
| 3952 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ | 3958 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ |
| 3953 | 3959 |
| 3954 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */ | 3960 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */ |
| 3955 | 3961 |
| 3956 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ | 3962 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ |
| 3957 | 3963 |
| 3958 struct PPB_Flash_TCPSocket_0_2 Pnacl_Wrappers_PPB_Flash_TCPSocket_0_2 = { | 3964 struct PPB_Flash_TCPSocket_0_2 Pnacl_Wrappers_PPB_Flash_TCPSocket_0_2 = { |
| 3959 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M15_PPB_Flash_TCPSoc
ket_Create, | 3965 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M15_PPB_Flash_TCPSoc
ket_Create, |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4731 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, | 4737 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, |
| 4732 .real_iface = NULL | 4738 .real_iface = NULL |
| 4733 }; | 4739 }; |
| 4734 | 4740 |
| 4735 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = { | 4741 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = { |
| 4736 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0, | 4742 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0, |
| 4737 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0, | 4743 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0, |
| 4738 .real_iface = NULL | 4744 .real_iface = NULL |
| 4739 }; | 4745 }; |
| 4740 | 4746 |
| 4747 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1 = { |
| 4748 .iface_macro = PPB_FLASH_FONTFILE_INTERFACE_0_1, |
| 4749 .wrapped_iface = NULL /* Still need slot for real_iface */, |
| 4750 .real_iface = NULL |
| 4751 }; |
| 4752 |
| 4741 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1 = { | 4753 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1 = { |
| 4742 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_0_1, | 4754 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_0_1, |
| 4743 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4755 .wrapped_iface = NULL /* Still need slot for real_iface */, |
| 4744 .real_iface = NULL | 4756 .real_iface = NULL |
| 4745 }; | 4757 }; |
| 4746 | 4758 |
| 4747 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0 = { | 4759 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0 = { |
| 4748 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_1_0, | 4760 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_1_0, |
| 4749 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4761 .wrapped_iface = NULL /* Still need slot for real_iface */, |
| 4750 .real_iface = NULL | 4762 .real_iface = NULL |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4969 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, | 4981 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, |
| 4970 &Pnacl_WrapperInfo_PPB_Flash_12_0, | 4982 &Pnacl_WrapperInfo_PPB_Flash_12_0, |
| 4971 &Pnacl_WrapperInfo_PPB_Flash_12_1, | 4983 &Pnacl_WrapperInfo_PPB_Flash_12_1, |
| 4972 &Pnacl_WrapperInfo_PPB_Flash_12_2, | 4984 &Pnacl_WrapperInfo_PPB_Flash_12_2, |
| 4973 &Pnacl_WrapperInfo_PPB_Flash_12_3, | 4985 &Pnacl_WrapperInfo_PPB_Flash_12_3, |
| 4974 &Pnacl_WrapperInfo_PPB_Flash_12_4, | 4986 &Pnacl_WrapperInfo_PPB_Flash_12_4, |
| 4975 &Pnacl_WrapperInfo_PPB_Flash_12_5, | 4987 &Pnacl_WrapperInfo_PPB_Flash_12_5, |
| 4976 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, | 4988 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, |
| 4977 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, | 4989 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, |
| 4978 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, | 4990 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, |
| 4991 &Pnacl_WrapperInfo_PPB_Flash_FontFile_0_1, |
| 4979 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1, | 4992 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1, |
| 4980 &Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0, | 4993 &Pnacl_WrapperInfo_PPB_FlashFullscreen_1_0, |
| 4981 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1, | 4994 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1, |
| 4982 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0, | 4995 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0, |
| 4983 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2, | 4996 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2, |
| 4984 &Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1, | 4997 &Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1, |
| 4985 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1, | 4998 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1, |
| 4986 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1, | 4999 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1, |
| 4987 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0, | 5000 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0, |
| 4988 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1, | 5001 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5093 } | 5106 } |
| 5094 | 5107 |
| 5095 if (wrapper->wrapped_iface) { | 5108 if (wrapper->wrapped_iface) { |
| 5096 return wrapper->wrapped_iface; | 5109 return wrapper->wrapped_iface; |
| 5097 } else { | 5110 } else { |
| 5098 return wrapper->real_iface; | 5111 return wrapper->real_iface; |
| 5099 } | 5112 } |
| 5100 } | 5113 } |
| 5101 | 5114 |
| 5102 #endif | 5115 #endif |
| OLD | NEW |