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

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

Issue 11412184: Add more 'Dev' interfaces to the NaCl IPC proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const PP_Size& size, 127 const PP_Size& size,
128 PP_Bool init_to_zero) = 0; 128 PP_Bool init_to_zero) = 0;
129 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, 129 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance,
130 PP_ImageDataFormat format, 130 PP_ImageDataFormat format,
131 const PP_Size& size, 131 const PP_Size& size,
132 PP_Bool init_to_zero) = 0; 132 PP_Bool init_to_zero) = 0;
133 virtual PP_Resource CreateNetworkMonitor( 133 virtual PP_Resource CreateNetworkMonitor(
134 PP_Instance instance, 134 PP_Instance instance,
135 PPB_NetworkMonitor_Callback callback, 135 PPB_NetworkMonitor_Callback callback,
136 void* user_data) = 0; 136 void* user_data) = 0;
137 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0;
137 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 138 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
138 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 139 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
139 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 140 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
140 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 141 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
141 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 142 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
142 #if !defined(OS_NACL) 143 #if !defined(OS_NACL)
143 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 144 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
144 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 145 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
145 virtual PP_Resource CreateBrowserFont( 146 virtual PP_Resource CreateBrowserFont(
146 PP_Instance instance, 147 PP_Instance instance,
147 const PP_BrowserFont_Trusted_Description* description) = 0; 148 const PP_BrowserFont_Trusted_Description* description) = 0;
148 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 149 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
149 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 150 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
150 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; 151 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0;
151 virtual PP_Resource CreateFlashFontFile( 152 virtual PP_Resource CreateFlashFontFile(
152 PP_Instance instance, 153 PP_Instance instance,
153 const PP_FontDescription_Dev* description, 154 const PP_FontDescription_Dev* description,
154 PP_PrivateFontCharset charset) = 0; 155 PP_PrivateFontCharset charset) = 0;
155 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 156 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
156 const PP_Flash_Menu* menu_data) = 0; 157 const PP_Flash_Menu* menu_data) = 0;
157 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; 158 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
158 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0;
159 virtual PP_Resource CreateScrollbar(PP_Instance instance, 159 virtual PP_Resource CreateScrollbar(PP_Instance instance,
160 PP_Bool vertical) = 0; 160 PP_Bool vertical) = 0;
161 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; 161 virtual PP_Resource CreateTalk(PP_Instance instance) = 0;
162 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 162 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
163 virtual PP_Resource CreateVideoDecoder( 163 virtual PP_Resource CreateVideoDecoder(
164 PP_Instance instance, 164 PP_Instance instance,
165 PP_Resource context3d_id, 165 PP_Resource context3d_id,
166 PP_VideoDecoder_Profile profile) = 0; 166 PP_VideoDecoder_Profile profile) = 0;
167 #endif // !defined(OS_NACL) 167 #endif // !defined(OS_NACL)
168 168
169 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 169 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
170 }; 170 };
171 171
172 } // namespace thunk 172 } // namespace thunk
173 } // namespace ppapi 173 } // namespace ppapi
174 174
175 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 175 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698