| 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/ppb_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 const PP_Size* size, | 144 const PP_Size* size, |
| 145 PP_Bool init_to_zero) = 0; | 145 PP_Bool init_to_zero) = 0; |
| 146 virtual PP_Resource CreateNetworkMonitor( | 146 virtual PP_Resource CreateNetworkMonitor( |
| 147 PP_Instance instance, | 147 PP_Instance instance, |
| 148 PPB_NetworkMonitor_Callback callback, | 148 PPB_NetworkMonitor_Callback callback, |
| 149 void* user_data) = 0; | 149 void* user_data) = 0; |
| 150 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; | 150 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; |
| 151 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 151 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 152 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 152 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 153 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 153 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 154 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
| 155 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
| 154 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 156 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 155 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 157 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 156 #if !defined(OS_NACL) | 158 #if !defined(OS_NACL) |
| 157 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 159 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
| 158 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 160 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 159 virtual PP_Resource CreateBrowserFont( | 161 virtual PP_Resource CreateBrowserFont( |
| 160 PP_Instance instance, | 162 PP_Instance instance, |
| 161 const PP_BrowserFont_Trusted_Description* description) = 0; | 163 const PP_BrowserFont_Trusted_Description* description) = 0; |
| 162 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; | 164 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; |
| 163 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; | 165 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; |
| 164 virtual PP_Resource CreateFlashFontFile( | 166 virtual PP_Resource CreateFlashFontFile( |
| 165 PP_Instance instance, | 167 PP_Instance instance, |
| 166 const PP_BrowserFont_Trusted_Description* description, | 168 const PP_BrowserFont_Trusted_Description* description, |
| 167 PP_PrivateFontCharset charset) = 0; | 169 PP_PrivateFontCharset charset) = 0; |
| 168 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 170 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 169 const PP_Flash_Menu* menu_data) = 0; | 171 const PP_Flash_Menu* menu_data) = 0; |
| 170 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 172 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 171 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 173 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 172 PP_Bool vertical) = 0; | 174 PP_Bool vertical) = 0; |
| 173 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; | 175 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; |
| 174 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 176 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 175 virtual PP_Resource CreateVideoDecoder( | 177 virtual PP_Resource CreateVideoDecoder( |
| 176 PP_Instance instance, | 178 PP_Instance instance, |
| 177 PP_Resource context3d_id, | 179 PP_Resource context3d_id, |
| 178 PP_VideoDecoder_Profile profile) = 0; | 180 PP_VideoDecoder_Profile profile) = 0; |
| 179 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; | |
| 180 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; | |
| 181 #endif // !defined(OS_NACL) | 181 #endif // !defined(OS_NACL) |
| 182 | 182 |
| 183 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 183 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // namespace thunk | 186 } // namespace thunk |
| 187 } // namespace ppapi | 187 } // namespace ppapi |
| 188 | 188 |
| 189 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 189 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |