| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 178 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 179 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; | 179 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; |
| 180 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | 180 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
| 181 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0; | 181 virtual PP_Resource CreateVideoEncoder(PP_Instance instance) = 0; |
| 182 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | 182 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
| 183 virtual PP_Resource CreateVpnProvider(PP_Instance instance) = 0; | 183 virtual PP_Resource CreateVpnProvider(PP_Instance instance) = 0; |
| 184 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 184 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 185 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 185 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 186 #if !defined(OS_NACL) | 186 #if !defined(OS_NACL) |
| 187 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 187 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
| 188 virtual PP_Resource CreateAudioOutput(PP_Instance instance) = 0; |
| 188 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 189 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 189 virtual PP_Resource CreateBrowserFont( | 190 virtual PP_Resource CreateBrowserFont( |
| 190 PP_Instance instance, | 191 PP_Instance instance, |
| 191 const PP_BrowserFont_Trusted_Description* description) = 0; | 192 const PP_BrowserFont_Trusted_Description* description) = 0; |
| 192 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; | 193 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; |
| 193 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; | 194 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; |
| 194 virtual PP_Resource CreateFlashFontFile( | 195 virtual PP_Resource CreateFlashFontFile( |
| 195 PP_Instance instance, | 196 PP_Instance instance, |
| 196 const PP_BrowserFont_Trusted_Description* description, | 197 const PP_BrowserFont_Trusted_Description* description, |
| 197 PP_PrivateFontCharset charset) = 0; | 198 PP_PrivateFontCharset charset) = 0; |
| 198 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 199 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 199 const PP_Flash_Menu* menu_data) = 0; | 200 const PP_Flash_Menu* menu_data) = 0; |
| 200 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 201 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 201 virtual PP_Resource CreatePlatformVerificationPrivate( | 202 virtual PP_Resource CreatePlatformVerificationPrivate( |
| 202 PP_Instance instance) = 0; | 203 PP_Instance instance) = 0; |
| 203 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 204 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 204 virtual PP_Resource CreateVideoDecoderDev( | 205 virtual PP_Resource CreateVideoDecoderDev( |
| 205 PP_Instance instance, | 206 PP_Instance instance, |
| 206 PP_Resource context3d_id, | 207 PP_Resource context3d_id, |
| 207 PP_VideoDecoder_Profile profile) = 0; | 208 PP_VideoDecoder_Profile profile) = 0; |
| 208 #endif // !defined(OS_NACL) | 209 #endif // !defined(OS_NACL) |
| 209 | 210 |
| 210 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 211 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace thunk | 214 } // namespace thunk |
| 214 } // namespace ppapi | 215 } // namespace ppapi |
| 215 | 216 |
| 216 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 217 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |