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

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

Issue 10905227: Introduce PPB_Flash_Font. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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: Tue Sep 4 17:22:07 2012. */ 6 /* Last generated from IDL: Tue Sep 11 10:41:20 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
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.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Find_Dev_0_3; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Find_Dev_0_3;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6;
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1;
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1;
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2;
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 1; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_ 1;
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Memory_Dev_0_1; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Memory_Dev_0_1;
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1;
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6;
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7;
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1;
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5; 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5;
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7;
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8;
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9;
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91;
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1;
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2;
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6;
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1;
(...skipping 15 matching lines...) Expand all
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1;
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_0;
200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_1;
201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_2;
202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_3;
203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4;
204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5;
205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0;
206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0;
207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Font_0_1;
208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1;
209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1;
210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Print_1_0;
211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2;
212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1;
213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1;
214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1;
215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0;
216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1;
217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2;
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 static __attribute__((pnaclcall)) 1628 static __attribute__((pnaclcall))
1626 int32_t Pnacl_M18_PPB_MessageLoop_Dev_PostQuit(PP_Resource message_loop, PP_Bool should_destroy) { 1629 int32_t Pnacl_M18_PPB_MessageLoop_Dev_PostQuit(PP_Resource message_loop, PP_Bool should_destroy) {
1627 const struct PPB_MessageLoop_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_MessageLoo p_Dev_0_1.real_iface; 1630 const struct PPB_MessageLoop_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_MessageLoo p_Dev_0_1.real_iface;
1628 return iface->PostQuit(message_loop, should_destroy); 1631 return iface->PostQuit(message_loop, should_destroy);
1629 } 1632 }
1630 1633
1631 /* End wrapper methods for PPB_MessageLoop_Dev_0_1 */ 1634 /* End wrapper methods for PPB_MessageLoop_Dev_0_1 */
1632 1635
1633 /* Not generating wrapper methods for PPB_Printing_Dev_0_6 */ 1636 /* Not generating wrapper methods for PPB_Printing_Dev_0_6 */
1634 1637
1638 /* Begin wrapper methods for PPB_Printing_Dev_0_7 */
1639
1640 static __attribute__((pnaclcall))
1641 PP_Resource Pnacl_M23_PPB_Printing_Dev_Create(PP_Instance instance) {
1642 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_ 0_7.real_iface;
1643 return iface->Create(instance);
1644 }
1645
1646 static __attribute__((pnaclcall))
1647 int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource resource, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback callb ack) {
1648 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_ 0_7.real_iface;
1649 return iface->GetDefaultPrintSettings(resource, print_settings, callback);
1650 }
1651
1652 /* End wrapper methods for PPB_Printing_Dev_0_7 */
1653
1635 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */ 1654 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */
1636 1655
1637 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ 1656 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */
1638 1657
1639 /* Not generating wrapper methods for PPB_Testing_Dev_0_7 */ 1658 /* Not generating wrapper methods for PPB_Testing_Dev_0_7 */
1640 1659
1641 /* Not generating wrapper methods for PPB_Testing_Dev_0_8 */ 1660 /* Not generating wrapper methods for PPB_Testing_Dev_0_8 */
1642 1661
1643 /* Begin wrapper methods for PPB_Testing_Dev_0_9 */ 1662 /* Begin wrapper methods for PPB_Testing_Dev_0_9 */
1644 1663
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 } 2550 }
2532 2551
2533 static __attribute__((pnaclcall)) 2552 static __attribute__((pnaclcall))
2534 int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct P P_Var* id, struct PP_CompletionCallback callback) { 2553 int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct P P_Var* id, struct PP_CompletionCallback callback) {
2535 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Devic eID_1_0.real_iface; 2554 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Devic eID_1_0.real_iface;
2536 return iface->GetDeviceID(device_id, id, callback); 2555 return iface->GetDeviceID(device_id, id, callback);
2537 } 2556 }
2538 2557
2539 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */ 2558 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */
2540 2559
2560 /* Not generating wrapper methods for PPB_Flash_Font_0_1 */
2561
2541 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ 2562 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */
2542 2563
2543 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */ 2564 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */
2544 2565
2545 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ 2566 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */
2546 2567
2547 /* Begin wrapper methods for PPB_Flash_TCPSocket_0_2 */ 2568 /* Begin wrapper methods for PPB_Flash_TCPSocket_0_2 */
2548 2569
2549 static __attribute__((pnaclcall)) 2570 static __attribute__((pnaclcall))
2550 PP_Resource Pnacl_M15_PPB_Flash_TCPSocket_Create(PP_Instance instance) { 2571 PP_Resource Pnacl_M15_PPB_Flash_TCPSocket_Create(PP_Instance instance) {
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
3679 .GetForMainThread = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetFor MainThread, 3700 .GetForMainThread = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetFor MainThread,
3680 .GetCurrent = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetCurrent, 3701 .GetCurrent = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetCurrent,
3681 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_P PB_MessageLoop_Dev_AttachToCurrentThread, 3702 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_P PB_MessageLoop_Dev_AttachToCurrentThread,
3682 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_PPB_MessageLoop_Dev _Run, 3703 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_PPB_MessageLoop_Dev _Run,
3683 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M18_PPB_MessageLoop_Dev_PostWork, 3704 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M18_PPB_MessageLoop_Dev_PostWork,
3684 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M18_PPB_MessageLoop_Dev_PostQuit 3705 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M18_PPB_MessageLoop_Dev_PostQuit
3685 }; 3706 };
3686 3707
3687 /* Not generating wrapper interface for PPB_Printing_Dev_0_6 */ 3708 /* Not generating wrapper interface for PPB_Printing_Dev_0_6 */
3688 3709
3710 struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = {
3711 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev _Create,
3712 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23 _PPB_Printing_Dev_GetDefaultPrintSettings
3713 };
3714
3689 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */ 3715 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */
3690 3716
3691 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ 3717 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */
3692 3718
3693 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */ 3719 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */
3694 3720
3695 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */ 3721 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */
3696 3722
3697 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = { 3723 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = {
3698 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData, 3724 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
3899 .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, 3925 .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,
3900 .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, 3926 .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,
3901 .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 3927 .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
3902 }; 3928 };
3903 3929
3904 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { 3930 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = {
3905 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device ID_Create, 3931 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device ID_Create,
3906 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID 3932 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID
3907 }; 3933 };
3908 3934
3935 /* Not generating wrapper interface for PPB_Flash_Font_0_1 */
3936
3909 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ 3937 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */
3910 3938
3911 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */ 3939 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */
3912 3940
3913 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ 3941 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */
3914 3942
3915 struct PPB_Flash_TCPSocket_0_2 Pnacl_Wrappers_PPB_Flash_TCPSocket_0_2 = { 3943 struct PPB_Flash_TCPSocket_0_2 Pnacl_Wrappers_PPB_Flash_TCPSocket_0_2 = {
3916 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M15_PPB_Flash_TCPSoc ket_Create, 3944 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M15_PPB_Flash_TCPSoc ket_Create,
3917 .IsFlashTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Flash_ TCPSocket_IsFlashTCPSocket, 3945 .IsFlashTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Flash_ TCPSocket_IsFlashTCPSocket,
3918 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t p ort, struct PP_CompletionCallback callback))&Pnacl_M15_PPB_Flash_TCPSocket_Conne ct, 3946 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t p ort, struct PP_CompletionCallback callback))&Pnacl_M15_PPB_Flash_TCPSocket_Conne ct,
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
4468 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_Dev_0_1, 4496 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_Dev_0_1,
4469 .real_iface = NULL 4497 .real_iface = NULL
4470 }; 4498 };
4471 4499
4472 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6 = { 4500 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6 = {
4473 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_6, 4501 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_6,
4474 .wrapped_iface = NULL /* Still need slot for real_iface */, 4502 .wrapped_iface = NULL /* Still need slot for real_iface */,
4475 .real_iface = NULL 4503 .real_iface = NULL
4476 }; 4504 };
4477 4505
4506 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7 = {
4507 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_7,
4508 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Printing_Dev_0_7,
4509 .real_iface = NULL
4510 };
4511
4478 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1 = { 4512 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1 = {
4479 .iface_macro = PPB_RESOURCEARRAY_DEV_INTERFACE_0_1, 4513 .iface_macro = PPB_RESOURCEARRAY_DEV_INTERFACE_0_1,
4480 .wrapped_iface = NULL /* Still need slot for real_iface */, 4514 .wrapped_iface = NULL /* Still need slot for real_iface */,
4481 .real_iface = NULL 4515 .real_iface = NULL
4482 }; 4516 };
4483 4517
4484 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5 = { 4518 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5 = {
4485 .iface_macro = PPB_SCROLLBAR_DEV_INTERFACE_0_5, 4519 .iface_macro = PPB_SCROLLBAR_DEV_INTERFACE_0_5,
4486 .wrapped_iface = NULL /* Still need slot for real_iface */, 4520 .wrapped_iface = NULL /* Still need slot for real_iface */,
4487 .real_iface = NULL 4521 .real_iface = NULL
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
4678 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, 4712 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0,
4679 .real_iface = NULL 4713 .real_iface = NULL
4680 }; 4714 };
4681 4715
4682 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = { 4716 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = {
4683 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0, 4717 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0,
4684 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0, 4718 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0,
4685 .real_iface = NULL 4719 .real_iface = NULL
4686 }; 4720 };
4687 4721
4722 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Font_0_1 = {
4723 .iface_macro = PPB_FLASH_FONT_INTERFACE_0_1,
4724 .wrapped_iface = NULL /* Still need slot for real_iface */,
4725 .real_iface = NULL
4726 };
4727
4688 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1 = { 4728 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1 = {
4689 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_0_1, 4729 .iface_macro = PPB_FLASHFULLSCREEN_INTERFACE_0_1,
4690 .wrapped_iface = NULL /* Still need slot for real_iface */, 4730 .wrapped_iface = NULL /* Still need slot for real_iface */,
4691 .real_iface = NULL 4731 .real_iface = NULL
4692 }; 4732 };
4693 4733
4694 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1 = { 4734 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1 = {
4695 .iface_macro = PPB_FLASH_MESSAGELOOP_INTERFACE_0_1, 4735 .iface_macro = PPB_FLASH_MESSAGELOOP_INTERFACE_0_1,
4696 .wrapped_iface = NULL /* Still need slot for real_iface */, 4736 .wrapped_iface = NULL /* Still need slot for real_iface */,
4697 .real_iface = NULL 4737 .real_iface = NULL
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
4876 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 4916 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6,
4877 &Pnacl_WrapperInfo_PPB_Find_Dev_0_3, 4917 &Pnacl_WrapperInfo_PPB_Find_Dev_0_3,
4878 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 4918 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6,
4879 &Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1, 4919 &Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1,
4880 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 4920 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1,
4881 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 4921 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2,
4882 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_1, 4922 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_1,
4883 &Pnacl_WrapperInfo_PPB_Memory_Dev_0_1, 4923 &Pnacl_WrapperInfo_PPB_Memory_Dev_0_1,
4884 &Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1, 4924 &Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1,
4885 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_6, 4925 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_6,
4926 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7,
4886 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1, 4927 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1,
4887 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5, 4928 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5,
4888 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, 4929 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7,
4889 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, 4930 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8,
4890 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, 4931 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9,
4891 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, 4932 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91,
4892 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, 4933 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1,
4893 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, 4934 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2,
4894 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 4935 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6,
4895 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, 4936 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1,
4896 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 4937 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2,
4897 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 4938 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16,
4898 &Pnacl_WrapperInfo_PPB_VideoLayer_Dev_0_1, 4939 &Pnacl_WrapperInfo_PPB_VideoLayer_Dev_0_1,
4899 &Pnacl_WrapperInfo_PPB_View_Dev_0_1, 4940 &Pnacl_WrapperInfo_PPB_View_Dev_0_1,
4900 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3, 4941 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_3,
4901 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4, 4942 &Pnacl_WrapperInfo_PPB_Widget_Dev_0_4,
4902 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2, 4943 &Pnacl_WrapperInfo_PPB_Zoom_Dev_0_2,
4903 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_1, 4944 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_1,
4904 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 4945 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1,
4905 &Pnacl_WrapperInfo_PPB_Flash_12_0, 4946 &Pnacl_WrapperInfo_PPB_Flash_12_0,
4906 &Pnacl_WrapperInfo_PPB_Flash_12_1, 4947 &Pnacl_WrapperInfo_PPB_Flash_12_1,
4907 &Pnacl_WrapperInfo_PPB_Flash_12_2, 4948 &Pnacl_WrapperInfo_PPB_Flash_12_2,
4908 &Pnacl_WrapperInfo_PPB_Flash_12_3, 4949 &Pnacl_WrapperInfo_PPB_Flash_12_3,
4909 &Pnacl_WrapperInfo_PPB_Flash_12_4, 4950 &Pnacl_WrapperInfo_PPB_Flash_12_4,
4910 &Pnacl_WrapperInfo_PPB_Flash_12_5, 4951 &Pnacl_WrapperInfo_PPB_Flash_12_5,
4911 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0, 4952 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_3_0,
4912 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 4953 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0,
4913 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 4954 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0,
4955 &Pnacl_WrapperInfo_PPB_Flash_Font_0_1,
4914 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1, 4956 &Pnacl_WrapperInfo_PPB_FlashFullscreen_0_1,
4915 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1, 4957 &Pnacl_WrapperInfo_PPB_Flash_MessageLoop_0_1,
4916 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0, 4958 &Pnacl_WrapperInfo_PPB_Flash_Print_1_0,
4917 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2, 4959 &Pnacl_WrapperInfo_PPB_Flash_TCPSocket_0_2,
4918 &Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1, 4960 &Pnacl_WrapperInfo_PPB_Flash_UDPSocket_0_1,
4919 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1, 4961 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1,
4920 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1, 4962 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1,
4921 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0, 4963 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0,
4922 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1, 4964 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1,
4923 &Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2, 4965 &Pnacl_WrapperInfo_PPB_NetworkList_Private_0_2,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
5023 if (NULL == iface) return NULL; 5065 if (NULL == iface) return NULL;
5024 wrapper->real_iface = iface; 5066 wrapper->real_iface = iface;
5025 } 5067 }
5026 5068
5027 if (wrapper->wrapped_iface) { 5069 if (wrapper->wrapped_iface) {
5028 return wrapper->wrapped_iface; 5070 return wrapper->wrapped_iface;
5029 } else { 5071 } else {
5030 return wrapper->real_iface; 5072 return wrapper->real_iface;
5031 } 5073 }
5032 } 5074 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698