| 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 CreateBroker(PP_Instance instance) = 0; | 108 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 109 virtual PP_Resource CreateBrowserFont( | 109 virtual PP_Resource CreateBrowserFont( |
| 110 PP_Instance instance, | 110 PP_Instance instance, |
| 111 const PP_BrowserFont_Trusted_Description* description) = 0; | 111 const PP_BrowserFont_Trusted_Description* description) = 0; |
| 112 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; | 112 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; |
| 113 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; | 113 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; |
| 114 virtual PP_Resource CreateFileChooser( | 114 virtual PP_Resource CreateFileChooser( |
| 115 PP_Instance instance, | 115 PP_Instance instance, |
| 116 PP_FileChooserMode_Dev mode, | 116 PP_FileChooserMode_Dev mode, |
| 117 const char* accept_types) = 0; | 117 const char* accept_types) = 0; |
| 118 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; |
| 118 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 119 const PP_Flash_Menu* menu_data) = 0; | 120 const PP_Flash_Menu* menu_data) = 0; |
| 120 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 121 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 122 const PP_Size& size, | 123 const PP_Size& size, |
| 123 PP_Bool is_always_opaque) = 0; | 124 PP_Bool is_always_opaque) = 0; |
| 124 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 125 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 125 PP_Resource share_context, | 126 PP_Resource share_context, |
| 126 const int32_t* attrib_list) = 0; | 127 const int32_t* attrib_list) = 0; |
| 127 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 128 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 149 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 150 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 150 #endif // !defined(OS_NACL) | 151 #endif // !defined(OS_NACL) |
| 151 | 152 |
| 152 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 153 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 153 }; | 154 }; |
| 154 | 155 |
| 155 } // namespace thunk | 156 } // namespace thunk |
| 156 } // namespace ppapi | 157 } // namespace ppapi |
| 157 | 158 |
| 158 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 159 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |