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_RESOURCE_CREATION_API_H_ | 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
7 | 7 |
| 8 #include "ppapi/c/dev/pp_video_dev.h" |
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 10 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
9 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
11 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/ppb_audio.h" | 14 #include "ppapi/c/ppb_audio.h" |
13 #include "ppapi/c/ppb_audio_config.h" | 15 #include "ppapi/c/ppb_audio_config.h" |
14 #include "ppapi/c/ppb_file_system.h" | 16 #include "ppapi/c/ppb_file_system.h" |
15 #include "ppapi/c/ppb_graphics_3d.h" | 17 #include "ppapi/c/ppb_graphics_3d.h" |
16 #include "ppapi/c/ppb_image_data.h" | 18 #include "ppapi/c/ppb_image_data.h" |
17 #include "ppapi/c/ppb_input_event.h" | 19 #include "ppapi/c/ppb_input_event.h" |
| 20 #include "ppapi/c/ppb_network_monitor.h" |
18 #include "ppapi/c/ppb_websocket.h" | 21 #include "ppapi/c/ppb_websocket.h" |
19 #include "ppapi/c/dev/pp_video_dev.h" | |
20 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | |
21 #include "ppapi/c/private/pp_private_font_charset.h" | 22 #include "ppapi/c/private/pp_private_font_charset.h" |
22 #include "ppapi/c/private/ppb_network_monitor_private.h" | |
23 #include "ppapi/shared_impl/api_id.h" | 23 #include "ppapi/shared_impl/api_id.h" |
24 #include "ppapi/shared_impl/ppb_image_data_shared.h" | 24 #include "ppapi/shared_impl/ppb_image_data_shared.h" |
25 | 25 |
26 struct PP_Flash_Menu; | 26 struct PP_Flash_Menu; |
27 struct PP_FontDescription_Dev; | 27 struct PP_FontDescription_Dev; |
28 struct PP_BrowserFont_Trusted_Description; | 28 struct PP_BrowserFont_Trusted_Description; |
29 struct PP_NetAddress_IPv4; | 29 struct PP_NetAddress_IPv4; |
30 struct PP_NetAddress_IPv6; | 30 struct PP_NetAddress_IPv6; |
31 struct PP_NetAddress_Private; | 31 struct PP_NetAddress_Private; |
32 struct PP_Size; | 32 struct PP_Size; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 PP_Bool init_to_zero) = 0; | 144 PP_Bool init_to_zero) = 0; |
145 virtual PP_Resource CreateNetAddressFromIPv4Address( | 145 virtual PP_Resource CreateNetAddressFromIPv4Address( |
146 PP_Instance instance, | 146 PP_Instance instance, |
147 const PP_NetAddress_IPv4* ipv4_addr) = 0; | 147 const PP_NetAddress_IPv4* ipv4_addr) = 0; |
148 virtual PP_Resource CreateNetAddressFromIPv6Address( | 148 virtual PP_Resource CreateNetAddressFromIPv6Address( |
149 PP_Instance instance, | 149 PP_Instance instance, |
150 const PP_NetAddress_IPv6* ipv6_addr) = 0; | 150 const PP_NetAddress_IPv6* ipv6_addr) = 0; |
151 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( | 151 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( |
152 PP_Instance instance, | 152 PP_Instance instance, |
153 const PP_NetAddress_Private& private_addr) = 0; | 153 const PP_NetAddress_Private& private_addr) = 0; |
154 virtual PP_Resource CreateNetworkMonitorPrivate(PP_Instance instance) = 0; | 154 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) = 0; |
155 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; | 155 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; |
156 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 156 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
157 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; | 157 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; |
158 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 158 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
159 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; | 159 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; |
160 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 160 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
161 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | 161 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
162 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | 162 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
163 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 163 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
164 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 164 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
(...skipping 24 matching lines...) Expand all Loading... |
189 PP_VideoDecoder_Profile profile) = 0; | 189 PP_VideoDecoder_Profile profile) = 0; |
190 #endif // !defined(OS_NACL) | 190 #endif // !defined(OS_NACL) |
191 | 191 |
192 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 192 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
193 }; | 193 }; |
194 | 194 |
195 } // namespace thunk | 195 } // namespace thunk |
196 } // namespace ppapi | 196 } // namespace ppapi |
197 | 197 |
198 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 198 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |