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_input_trusted_dev.h" | |
19 #include "ppapi/c/trusted/ppb_audio_trusted.h" | 18 #include "ppapi/c/trusted/ppb_audio_trusted.h" |
20 #include "ppapi/c/trusted/ppb_broker_trusted.h" | 19 #include "ppapi/c/trusted/ppb_broker_trusted.h" |
21 #include "ppapi/c/trusted/ppb_buffer_trusted.h" | 20 #include "ppapi/c/trusted/ppb_buffer_trusted.h" |
22 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" | 21 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" |
23 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" | 22 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
24 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 23 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
25 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | 24 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" |
26 #include "ppapi/thunk/ppapi_thunk_export.h" | 25 #include "ppapi/thunk/ppapi_thunk_export.h" |
27 | 26 |
28 // Declares a getter for the interface thunk of the form: | 27 // Declares a getter for the interface thunk of the form: |
(...skipping 16 matching lines...) Expand all Loading... |
45 #undef UNPROXIED_IFACE | 44 #undef UNPROXIED_IFACE |
46 #undef PROXIED_IFACE | 45 #undef PROXIED_IFACE |
47 #undef IFACE | 46 #undef IFACE |
48 | 47 |
49 namespace ppapi { | 48 namespace ppapi { |
50 namespace thunk { | 49 namespace thunk { |
51 | 50 |
52 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't | 51 // Old-style thunk getters. Only put trusted/private stuff here (it hasn't |
53 // yet been converted to the new system). Otherwise, add the declaration to | 52 // yet been converted to the new system). Otherwise, add the declaration to |
54 // the appropriate interfaces_*.h file. | 53 // the appropriate interfaces_*.h file. |
55 PPAPI_THUNK_EXPORT const PPB_AudioInputTrusted_Dev_0_1* | |
56 GetPPB_AudioInputTrusted_0_1_Thunk(); | |
57 PPAPI_THUNK_EXPORT const PPB_AudioTrusted_0_6* GetPPB_AudioTrusted_0_6_Thunk(); | 54 PPAPI_THUNK_EXPORT const PPB_AudioTrusted_0_6* GetPPB_AudioTrusted_0_6_Thunk(); |
58 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted_0_2* GetPPB_Broker_0_2_Thunk(); | 55 PPAPI_THUNK_EXPORT const PPB_BrokerTrusted_0_2* GetPPB_Broker_0_2_Thunk(); |
59 PPAPI_THUNK_EXPORT const PPB_BufferTrusted_0_1* | 56 PPAPI_THUNK_EXPORT const PPB_BufferTrusted_0_1* |
60 GetPPB_BufferTrusted_0_1_Thunk(); | 57 GetPPB_BufferTrusted_0_1_Thunk(); |
61 PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted_0_5* | 58 PPAPI_THUNK_EXPORT const PPB_FileChooserTrusted_0_5* |
62 GetPPB_FileChooser_Trusted_0_5_Thunk(); | 59 GetPPB_FileChooser_Trusted_0_5_Thunk(); |
63 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted_1_0* | 60 PPAPI_THUNK_EXPORT const PPB_Graphics3DTrusted_1_0* |
64 GetPPB_Graphics3DTrusted_1_0_Thunk(); | 61 GetPPB_Graphics3DTrusted_1_0_Thunk(); |
65 PPAPI_THUNK_EXPORT const PPB_HostResolver_Private_0_1* | 62 PPAPI_THUNK_EXPORT const PPB_HostResolver_Private_0_1* |
66 GetPPB_HostResolver_Private_0_1_Thunk(); | 63 GetPPB_HostResolver_Private_0_1_Thunk(); |
67 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4* | 64 PPAPI_THUNK_EXPORT const PPB_ImageDataTrusted_0_4* |
68 GetPPB_ImageDataTrusted_0_4_Thunk(); | 65 GetPPB_ImageDataTrusted_0_4_Thunk(); |
69 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1* | 66 PPAPI_THUNK_EXPORT const PPB_Instance_Private_0_1* |
70 GetPPB_Instance_Private_0_1_Thunk(); | 67 GetPPB_Instance_Private_0_1_Thunk(); |
71 PPAPI_THUNK_EXPORT const PPB_TCPServerSocket_Private_0_1* | 68 PPAPI_THUNK_EXPORT const PPB_TCPServerSocket_Private_0_1* |
72 GetPPB_TCPServerSocket_Private_0_1_Thunk(); | 69 GetPPB_TCPServerSocket_Private_0_1_Thunk(); |
73 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private_0_3* | 70 PPAPI_THUNK_EXPORT const PPB_TCPSocket_Private_0_3* |
74 GetPPB_TCPSocket_Private_0_3_Thunk(); | 71 GetPPB_TCPSocket_Private_0_3_Thunk(); |
75 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private_0_2* | 72 PPAPI_THUNK_EXPORT const PPB_UDPSocket_Private_0_2* |
76 GetPPB_UDPSocket_Private_0_2_Thunk(); | 73 GetPPB_UDPSocket_Private_0_2_Thunk(); |
77 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted_0_3* | 74 PPAPI_THUNK_EXPORT const PPB_URLLoaderTrusted_0_3* |
78 GetPPB_URLLoaderTrusted_0_3_Thunk(); | 75 GetPPB_URLLoaderTrusted_0_3_Thunk(); |
79 PPAPI_THUNK_EXPORT const PPB_WebSocket_1_0* | 76 PPAPI_THUNK_EXPORT const PPB_WebSocket_1_0* |
80 GetPPB_WebSocket_1_0_Thunk(); | 77 GetPPB_WebSocket_1_0_Thunk(); |
81 | 78 |
82 } // namespace thunk | 79 } // namespace thunk |
83 } // namespace ppapi | 80 } // namespace ppapi |
84 | 81 |
85 #endif // PPAPI_THUNK_THUNK_H_ | 82 #endif // PPAPI_THUNK_THUNK_H_ |
OLD | NEW |