| 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_audio_input_dev.h" | 8 #include "ppapi/c/dev/ppb_audio_input_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_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 108 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
| 109 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 109 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 110 virtual PP_Resource CreateBrowserFont( | 110 virtual PP_Resource CreateBrowserFont( |
| 111 PP_Instance instance, | 111 PP_Instance instance, |
| 112 const PP_BrowserFont_Trusted_Description* description) = 0; | 112 const PP_BrowserFont_Trusted_Description* description) = 0; |
| 113 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; | 113 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; |
| 114 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; | 114 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; |
| 115 virtual PP_Resource CreateFileChooser( | 115 virtual PP_Resource CreateFileChooser( |
| 116 PP_Instance instance, | 116 PP_Instance instance, |
| 117 PP_FileChooserMode_Dev mode, | 117 PP_FileChooserMode_Dev mode, |
| 118 const char* accept_mime_types) = 0; | 118 const char* accept_types) = 0; |
| 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 120 const PP_Flash_Menu* menu_data) = 0; | 120 const PP_Flash_Menu* menu_data) = 0; |
| 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 123 const PP_Size& size, | 123 const PP_Size& size, |
| 124 PP_Bool is_always_opaque) = 0; | 124 PP_Bool is_always_opaque) = 0; |
| 125 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 125 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 126 PP_Resource share_context, | 126 PP_Resource share_context, |
| 127 const int32_t* attrib_list) = 0; | 127 const int32_t* attrib_list) = 0; |
| 128 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 128 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 153 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 153 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 154 #endif // !defined(OS_NACL) | 154 #endif // !defined(OS_NACL) |
| 155 | 155 |
| 156 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 156 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace thunk | 159 } // namespace thunk |
| 160 } // namespace ppapi | 160 } // namespace ppapi |
| 161 | 161 |
| 162 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 162 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |