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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 const PP_Flash_Menu* menu_data) = 0; | 162 const PP_Flash_Menu* menu_data) = 0; |
163 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 163 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
164 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 164 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
165 PP_Bool vertical) = 0; | 165 PP_Bool vertical) = 0; |
166 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; | 166 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; |
167 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 167 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
168 virtual PP_Resource CreateVideoDecoder( | 168 virtual PP_Resource CreateVideoDecoder( |
169 PP_Instance instance, | 169 PP_Instance instance, |
170 PP_Resource context3d_id, | 170 PP_Resource context3d_id, |
171 PP_VideoDecoder_Profile profile) = 0; | 171 PP_VideoDecoder_Profile profile) = 0; |
| 172 virtual PP_Resource CreateVideoDestination(PP_Instance instance) = 0; |
| 173 virtual PP_Resource CreateVideoSource(PP_Instance instance) = 0; |
172 #endif // !defined(OS_NACL) | 174 #endif // !defined(OS_NACL) |
173 | 175 |
174 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 176 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
175 }; | 177 }; |
176 | 178 |
177 } // namespace thunk | 179 } // namespace thunk |
178 } // namespace ppapi | 180 } // namespace ppapi |
179 | 181 |
180 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 182 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |