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 #ifndef PPAPI_THUNK_THUNK_H_ | 5 #ifndef PPAPI_THUNK_THUNK_H_ |
6 #define PPAPI_THUNK_THUNK_H_ | 6 #define PPAPI_THUNK_THUNK_H_ |
7 | 7 |
8 #include "ppapi/c/ppb_graphics_3d.h" | 8 #include "ppapi/c/ppb_graphics_3d.h" |
9 #include "ppapi/c/private/ppb_flash_clipboard.h" | 9 #include "ppapi/c/private/ppb_flash_clipboard.h" |
10 #include "ppapi/c/private/ppb_flash_menu.h" | 10 #include "ppapi/c/private/ppb_flash_menu.h" |
11 #include "ppapi/c/private/ppb_flash_message_loop.h" | 11 #include "ppapi/c/private/ppb_flash_message_loop.h" |
12 #include "ppapi/c/private/ppb_flash_fullscreen.h" | 12 #include "ppapi/c/private/ppb_flash_fullscreen.h" |
13 #include "ppapi/c/private/ppb_host_resolver_private.h" | 13 #include "ppapi/c/private/ppb_host_resolver_private.h" |
14 #include "ppapi/c/private/ppb_instance_private.h" | 14 #include "ppapi/c/private/ppb_instance_private.h" |
15 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" | 15 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" |
16 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 16 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
17 #include "ppapi/c/private/ppb_udp_socket_private.h" | 17 #include "ppapi/c/private/ppb_udp_socket_private.h" |
18 #include "ppapi/c/trusted/ppb_audio_trusted.h" | 18 #include "ppapi/c/trusted/ppb_audio_trusted.h" |
19 #include "ppapi/c/trusted/ppb_broker_trusted.h" | 19 #include "ppapi/c/trusted/ppb_broker_trusted.h" |
20 #include "ppapi/c/trusted/ppb_buffer_trusted.h" | 20 #include "ppapi/c/trusted/ppb_buffer_trusted.h" |
21 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" | 21 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" |
22 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" | 22 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
23 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 23 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
24 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | |
25 #include "ppapi/thunk/ppapi_thunk_export.h" | 24 #include "ppapi/thunk/ppapi_thunk_export.h" |
26 | 25 |
27 // Declares a getter for the interface thunk of the form: | 26 // Declares a getter for the interface thunk of the form: |
28 // | 27 // |
29 // const PPB_Foo* ppapi::thunk::GetPPB_Foo_Thunk(); | 28 // const PPB_Foo* ppapi::thunk::GetPPB_Foo_Thunk(); |
30 // | 29 // |
31 #define IFACE(api_name, interface_name, InterfaceType) \ | 30 #define IFACE(api_name, interface_name, InterfaceType) \ |
32 struct InterfaceType; \ | 31 struct InterfaceType; \ |
33 namespace ppapi { namespace thunk { \ | 32 namespace ppapi { namespace thunk { \ |
34 PPAPI_THUNK_EXPORT const InterfaceType* Get##InterfaceType##_Thunk(); \ | 33 PPAPI_THUNK_EXPORT const InterfaceType* Get##InterfaceType##_Thunk(); \ |
(...skipping 30 matching lines...) Expand all Loading... |
65 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4* | 64 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4* |
66 GetPPB_ImageDataTrusted_0_4_Thunk(); | 65 GetPPB_ImageDataTrusted_0_4_Thunk(); |
67 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1* | 66 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1* |
68 GetPPB_Instance_Private_0_1_Thunk(); | 67 GetPPB_Instance_Private_0_1_Thunk(); |
69 PPAPI_THUNK_EXPORT const PPB_TCPServerSocket_Private_0_1* | 68 PPAPI_THUNK_EXPORT const PPB_TCPServerSocket_Private_0_1* |
70 GetPPB_TCPServerSocket_Private_0_1_Thunk(); | 69 GetPPB_TCPServerSocket_Private_0_1_Thunk(); |
71 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private_0_3* | 70 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private_0_3* |
72 GetPPB_TCPSocket_Private_0_3_Thunk(); | 71 GetPPB_TCPSocket_Private_0_3_Thunk(); |
73 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private_0_2* | 72 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private_0_2* |
74 GetPPB_UDPSocket_Private_0_2_Thunk(); | 73 GetPPB_UDPSocket_Private_0_2_Thunk(); |
75 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted_0_3* | |
76 GetPPB_URLLoaderTrusted_0_3_Thunk(); | |
77 PPAPI_THUNK_EXPORT const PPB_WebSocket_1_0* | 74 PPAPI_THUNK_EXPORT const PPB_WebSocket_1_0* |
78 GetPPB_WebSocket_1_0_Thunk(); | 75 GetPPB_WebSocket_1_0_Thunk(); |
79 | 76 |
80 } // namespace thunk | 77 } // namespace thunk |
81 } // namespace ppapi | 78 } // namespace ppapi |
82 | 79 |
83 #endif // PPAPI_THUNK_THUNK_H_ | 80 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |