Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 7745005: Initial work for UDP Pepper API (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: A few more changes after self-review Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const PP_Var& accept_mime_types) = 0; 63 const PP_Var& accept_mime_types) = 0;
64 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; 64 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
65 virtual PP_Resource CreateFileRef(PP_Resource file_system, 65 virtual PP_Resource CreateFileRef(PP_Resource file_system,
66 const char* path) = 0; 66 const char* path) = 0;
67 virtual PP_Resource CreateFileSystem(PP_Instance instance, 67 virtual PP_Resource CreateFileSystem(PP_Instance instance,
68 PP_FileSystemType type) = 0; 68 PP_FileSystemType type) = 0;
69 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 69 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
70 const PP_Flash_Menu* menu_data) = 0; 70 const PP_Flash_Menu* menu_data) = 0;
71 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; 71 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
72 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0; 72 virtual PP_Resource CreateFlashTCPSocket(PP_Instance instace) = 0;
73 virtual PP_Resource CreateFlashUDPSocket(PP_Instance instace,
74 int32_t family) = 0;
73 // Note: can't be called CreateFont due to Windows #defines. 75 // Note: can't be called CreateFont due to Windows #defines.
74 virtual PP_Resource CreateFontObject( 76 virtual PP_Resource CreateFontObject(
75 PP_Instance instance, 77 PP_Instance instance,
76 const PP_FontDescription_Dev* description) = 0; 78 const PP_FontDescription_Dev* description) = 0;
77 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 79 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
78 const PP_Size& size, 80 const PP_Size& size,
79 PP_Bool is_always_opaque) = 0; 81 PP_Bool is_always_opaque) = 0;
80 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 82 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
81 PP_Resource share_context, 83 PP_Resource share_context,
82 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
131 PP_Bool scroll_by_page) = 0; 133 PP_Bool scroll_by_page) = 0;
132 134
133 static const proxy::InterfaceID interface_id = 135 static const proxy::InterfaceID interface_id =
134 proxy::INTERFACE_ID_RESOURCE_CREATION; 136 proxy::INTERFACE_ID_RESOURCE_CREATION;
135 }; 137 };
136 138
137 } // namespace thunk 139 } // namespace thunk
138 } // namespace ppapi 140 } // namespace ppapi
139 141
140 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698