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 const PP_Var& accept_mime_types) = 0; | 64 const PP_Var& accept_mime_types) = 0; |
65 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; | 65 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; |
66 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 66 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
67 const char* path) = 0; | 67 const char* path) = 0; |
68 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 68 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
69 PP_FileSystemType type) = 0; | 69 PP_FileSystemType type) = 0; |
70 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 70 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
71 const PP_Flash_Menu* menu_data) = 0; | 71 const PP_Flash_Menu* menu_data) = 0; |
72 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; | 72 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; |
73 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; | 73 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; |
| 74 virtual PP_Resource CreateFlashUDPSocket(PP_Instance instace) = 0; |
74 // Note: can't be called CreateFont due to Windows #defines. | 75 // Note: can't be called CreateFont due to Windows #defines. |
75 virtual PP_Resource CreateFontObject( | 76 virtual PP_Resource CreateFontObject( |
76 PP_Instance instance, | 77 PP_Instance instance, |
77 const PP_FontDescription_Dev* description) = 0; | 78 const PP_FontDescription_Dev* description) = 0; |
78 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 79 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
79 const PP_Size& size, | 80 const PP_Size& size, |
80 PP_Bool is_always_opaque) = 0; | 81 PP_Bool is_always_opaque) = 0; |
81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 82 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
82 PP_Resource share_context, | 83 PP_Resource share_context, |
83 const int32_t* attrib_list) = 0; | 84 const int32_t* attrib_list) = 0; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 PP_Bool scroll_by_page) = 0; | 133 PP_Bool scroll_by_page) = 0; |
133 | 134 |
134 static const proxy::InterfaceID interface_id = | 135 static const proxy::InterfaceID interface_id = |
135 proxy::INTERFACE_ID_RESOURCE_CREATION; | 136 proxy::INTERFACE_ID_RESOURCE_CREATION; |
136 }; | 137 }; |
137 | 138 |
138 } // namespace thunk | 139 } // namespace thunk |
139 } // namespace ppapi | 140 } // namespace ppapi |
140 | 141 |
141 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |