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/pp_video_dev.h" |
9 #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" | 10 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 const PP_NetAddress_Private& private_addr) = 0; | 153 const PP_NetAddress_Private& private_addr) = 0; |
154 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) = 0; | 154 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) = 0; |
155 virtual PP_Resource CreateOutputProtectionPrivate(PP_Instance instance) = 0; | 155 virtual PP_Resource CreateOutputProtectionPrivate(PP_Instance instance) = 0; |
156 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; | 156 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; |
157 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 157 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
158 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instace) = 0; | 158 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instace) = 0; |
159 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0; | 159 virtual PP_Resource CreateTCPSocket(PP_Instance instance) = 0; |
160 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 160 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
161 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; | 161 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; |
162 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 162 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 163 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; |
163 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | 164 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
164 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | 165 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
165 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 166 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
166 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 167 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
167 #if !defined(OS_NACL) | 168 #if !defined(OS_NACL) |
168 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 169 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
169 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 170 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
170 virtual PP_Resource CreateBrowserFont( | 171 virtual PP_Resource CreateBrowserFont( |
171 PP_Instance instance, | 172 PP_Instance instance, |
172 const PP_BrowserFont_Trusted_Description* description) = 0; | 173 const PP_BrowserFont_Trusted_Description* description) = 0; |
(...skipping 18 matching lines...) Expand all Loading... |
191 PP_VideoDecoder_Profile profile) = 0; | 192 PP_VideoDecoder_Profile profile) = 0; |
192 #endif // !defined(OS_NACL) | 193 #endif // !defined(OS_NACL) |
193 | 194 |
194 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 195 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
195 }; | 196 }; |
196 | 197 |
197 } // namespace thunk | 198 } // namespace thunk |
198 } // namespace ppapi | 199 } // namespace ppapi |
199 | 200 |
200 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 201 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |