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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "ppapi/c/dev/pp_video_dev.h" | 9 #include "ppapi/c/dev/pp_video_dev.h" |
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; | 186 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; |
187 virtual PP_Resource CreateFlashFontFile( | 187 virtual PP_Resource CreateFlashFontFile( |
188 PP_Instance instance, | 188 PP_Instance instance, |
189 const PP_BrowserFont_Trusted_Description* description, | 189 const PP_BrowserFont_Trusted_Description* description, |
190 PP_PrivateFontCharset charset) = 0; | 190 PP_PrivateFontCharset charset) = 0; |
191 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 191 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
192 const PP_Flash_Menu* menu_data) = 0; | 192 const PP_Flash_Menu* menu_data) = 0; |
193 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 193 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
194 virtual PP_Resource CreatePlatformVerificationPrivate( | 194 virtual PP_Resource CreatePlatformVerificationPrivate( |
195 PP_Instance instance) = 0; | 195 PP_Instance instance) = 0; |
196 virtual PP_Resource CreateScrollbar(PP_Instance instance, | |
197 PP_Bool vertical) = 0; | |
198 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 196 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
199 virtual PP_Resource CreateVideoDecoderDev( | 197 virtual PP_Resource CreateVideoDecoderDev( |
200 PP_Instance instance, | 198 PP_Instance instance, |
201 PP_Resource context3d_id, | 199 PP_Resource context3d_id, |
202 PP_VideoDecoder_Profile profile) = 0; | 200 PP_VideoDecoder_Profile profile) = 0; |
203 #endif // !defined(OS_NACL) | 201 #endif // !defined(OS_NACL) |
204 | 202 |
205 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 203 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
206 }; | 204 }; |
207 | 205 |
208 } // namespace thunk | 206 } // namespace thunk |
209 } // namespace ppapi | 207 } // namespace ppapi |
210 | 208 |
211 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 209 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |