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_graphics_3d_dev.h" | 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const PP_Var& accept_mime_types) = 0; | 60 const PP_Var& accept_mime_types) = 0; |
61 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; | 61 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; |
62 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 62 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
63 const char* path) = 0; | 63 const char* path) = 0; |
64 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 64 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
65 PP_FileSystemType type) = 0; | 65 PP_FileSystemType type) = 0; |
66 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 66 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
67 const PP_Flash_Menu* menu_data) = 0; | 67 const PP_Flash_Menu* menu_data) = 0; |
68 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; | 68 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; |
69 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; | 69 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; |
| 70 virtual PP_Resource CreateFlashUDPSocket(PP_Instance instace, |
| 71 int32_t family) = 0; |
70 // Note: can't be called CreateFont due to Windows #defines. | 72 // Note: can't be called CreateFont due to Windows #defines. |
71 virtual PP_Resource CreateFontObject( | 73 virtual PP_Resource CreateFontObject( |
72 PP_Instance instance, | 74 PP_Instance instance, |
73 const PP_FontDescription_Dev* description) = 0; | 75 const PP_FontDescription_Dev* description) = 0; |
74 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 76 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
75 const PP_Size& size, | 77 const PP_Size& size, |
76 PP_Bool is_always_opaque) = 0; | 78 PP_Bool is_always_opaque) = 0; |
77 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 79 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
78 PP_Resource share_context, | 80 PP_Resource share_context, |
79 const int32_t* attrib_list) = 0; | 81 const int32_t* attrib_list) = 0; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 PP_Bool scroll_by_page) = 0; | 127 PP_Bool scroll_by_page) = 0; |
126 | 128 |
127 static const proxy::InterfaceID interface_id = | 129 static const proxy::InterfaceID interface_id = |
128 proxy::INTERFACE_ID_RESOURCE_CREATION; | 130 proxy::INTERFACE_ID_RESOURCE_CREATION; |
129 }; | 131 }; |
130 | 132 |
131 } // namespace thunk | 133 } // namespace thunk |
132 } // namespace ppapi | 134 } // namespace ppapi |
133 | 135 |
134 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 136 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |