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

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

Issue 11366038: Rewrite PPB_AudioInput_Dev to use the new-style host/resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/ppb_audio_input_trusted_thunk.cc ('k') | ppapi/thunk/thunk.h » ('j') | 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_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
11 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_resource.h" 11 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/ppb_audio.h" 12 #include "ppapi/c/ppb_audio.h"
14 #include "ppapi/c/ppb_audio_config.h" 13 #include "ppapi/c/ppb_audio_config.h"
15 #include "ppapi/c/ppb_file_system.h" 14 #include "ppapi/c/ppb_file_system.h"
16 #include "ppapi/c/ppb_graphics_3d.h" 15 #include "ppapi/c/ppb_graphics_3d.h"
17 #include "ppapi/c/ppb_image_data.h" 16 #include "ppapi/c/ppb_image_data.h"
18 #include "ppapi/c/ppb_input_event.h" 17 #include "ppapi/c/ppb_input_event.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual PP_Resource CreateNetworkMonitor( 120 virtual PP_Resource CreateNetworkMonitor(
122 PP_Instance instance, 121 PP_Instance instance,
123 PPB_NetworkMonitor_Callback callback, 122 PPB_NetworkMonitor_Callback callback,
124 void* user_data) = 0; 123 void* user_data) = 0;
125 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 124 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
126 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 125 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
127 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 126 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
128 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; 127 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
129 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 128 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
130 #if !defined(OS_NACL) 129 #if !defined(OS_NACL)
131 virtual PP_Resource CreateAudioInput0_1(
132 PP_Instance instance,
133 PP_Resource config_id,
134 PPB_AudioInput_Callback audio_input_callback,
135 void* user_data) = 0;
136 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 130 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
137 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 131 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
138 virtual PP_Resource CreateBrowserFont( 132 virtual PP_Resource CreateBrowserFont(
139 PP_Instance instance, 133 PP_Instance instance,
140 const PP_BrowserFont_Trusted_Description* description) = 0; 134 const PP_BrowserFont_Trusted_Description* description) = 0;
141 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 135 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
142 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 136 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
143 virtual PP_Resource CreateFileChooser( 137 virtual PP_Resource CreateFileChooser(
144 PP_Instance instance, 138 PP_Instance instance,
145 PP_FileChooserMode_Dev mode, 139 PP_FileChooserMode_Dev mode,
(...skipping 17 matching lines...) Expand all
163 PP_VideoDecoder_Profile profile) = 0; 157 PP_VideoDecoder_Profile profile) = 0;
164 #endif // !defined(OS_NACL) 158 #endif // !defined(OS_NACL)
165 159
166 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 160 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
167 }; 161 };
168 162
169 } // namespace thunk 163 } // namespace thunk
170 } // namespace ppapi 164 } // namespace ppapi
171 165
172 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 166 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_audio_input_trusted_thunk.cc ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698