| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 PP_FileChooserMode_Dev mode, | 67 PP_FileChooserMode_Dev mode, |
| 68 const char* accept_mime_types) = 0; | 68 const char* accept_mime_types) = 0; |
| 69 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; | 69 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; |
| 70 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 70 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 71 const char* path) = 0; | 71 const char* path) = 0; |
| 72 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 72 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 73 PP_FileSystemType type) = 0; | 73 PP_FileSystemType type) = 0; |
| 74 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 74 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 75 const PP_Flash_Menu* menu_data) = 0; | 75 const PP_Flash_Menu* menu_data) = 0; |
| 76 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 76 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 77 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; | |
| 78 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 77 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 79 const PP_Size& size, | 78 const PP_Size& size, |
| 80 PP_Bool is_always_opaque) = 0; | 79 PP_Bool is_always_opaque) = 0; |
| 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 80 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 82 PP_Resource share_context, | 81 PP_Resource share_context, |
| 83 const int32_t* attrib_list) = 0; | 82 const int32_t* attrib_list) = 0; |
| 84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 83 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 85 PP_Resource share_context, | 84 PP_Resource share_context, |
| 86 const int32_t* attrib_list) = 0; | 85 const int32_t* attrib_list) = 0; |
| 87 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; | 86 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 const PP_FloatPoint* wheel_ticks, | 140 const PP_FloatPoint* wheel_ticks, |
| 142 PP_Bool scroll_by_page) = 0; | 141 PP_Bool scroll_by_page) = 0; |
| 143 | 142 |
| 144 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 143 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 145 }; | 144 }; |
| 146 | 145 |
| 147 } // namespace thunk | 146 } // namespace thunk |
| 148 } // namespace ppapi | 147 } // namespace ppapi |
| 149 | 148 |
| 150 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 149 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |