| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/dev/ppb_video_layer_dev.h" | 9 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
| 10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 PP_FileChooserMode_Dev mode, | 64 PP_FileChooserMode_Dev mode, |
| 65 const char* accept_mime_types) = 0; | 65 const char* accept_mime_types) = 0; |
| 66 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; | 66 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; |
| 67 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 67 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 68 const char* path) = 0; | 68 const char* path) = 0; |
| 69 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 69 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 70 PP_FileSystemType type) = 0; | 70 PP_FileSystemType type) = 0; |
| 71 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 71 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 72 const PP_Flash_Menu* menu_data) = 0; | 72 const PP_Flash_Menu* menu_data) = 0; |
| 73 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; | 73 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; |
| 74 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; | 74 virtual PP_Resource CreateTCPSocket(PP_Instance instace) = 0; |
| 75 virtual PP_Resource CreateFlashUDPSocket(PP_Instance instace) = 0; | 75 virtual PP_Resource CreateUDPSocket(PP_Instance instace) = 0; |
| 76 // Note: can't be called CreateFont due to Windows #defines. | 76 // Note: can't be called CreateFont due to Windows #defines. |
| 77 virtual PP_Resource CreateFontObject( | 77 virtual PP_Resource CreateFontObject( |
| 78 PP_Instance instance, | 78 PP_Instance instance, |
| 79 const PP_FontDescription_Dev* description) = 0; | 79 const PP_FontDescription_Dev* description) = 0; |
| 80 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 80 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 81 const PP_Size& size, | 81 const PP_Size& size, |
| 82 PP_Bool is_always_opaque) = 0; | 82 PP_Bool is_always_opaque) = 0; |
| 83 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 83 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 84 PP_Resource share_context, | 84 PP_Resource share_context, |
| 85 const int32_t* attrib_list) = 0; | 85 const int32_t* attrib_list) = 0; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const PP_FloatPoint* wheel_ticks, | 133 const PP_FloatPoint* wheel_ticks, |
| 134 PP_Bool scroll_by_page) = 0; | 134 PP_Bool scroll_by_page) = 0; |
| 135 | 135 |
| 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace thunk | 139 } // namespace thunk |
| 140 } // namespace ppapi | 140 } // namespace ppapi |
| 141 | 141 |
| 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |