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

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

Issue 1151973003: ppapi: implement PPB_AudioEncoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More Windows fixes in proxy code Created 5 years, 6 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
« no previous file with comments | « ppapi/thunk/ppb_audio_encoder_thunk.cc ('k') | tools/metrics/histograms/histograms.xml » ('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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 PP_Bool scroll_by_page) = 0; 113 PP_Bool scroll_by_page) = 0;
114 114
115 virtual PP_Resource CreateAudio1_0(PP_Instance instance, 115 virtual PP_Resource CreateAudio1_0(PP_Instance instance,
116 PP_Resource config_id, 116 PP_Resource config_id,
117 PPB_Audio_Callback_1_0 audio_callback, 117 PPB_Audio_Callback_1_0 audio_callback,
118 void* user_data) = 0; 118 void* user_data) = 0;
119 virtual PP_Resource CreateAudio(PP_Instance instance, 119 virtual PP_Resource CreateAudio(PP_Instance instance,
120 PP_Resource config_id, 120 PP_Resource config_id,
121 PPB_Audio_Callback audio_callback, 121 PPB_Audio_Callback audio_callback,
122 void* user_data) = 0; 122 void* user_data) = 0;
123 virtual PP_Resource CreateAudioEncoder(PP_Instance instance) = 0;
123 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; 124 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0;
124 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 125 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
125 PP_AudioSampleRate sample_rate, 126 PP_AudioSampleRate sample_rate,
126 uint32_t sample_frame_count) = 0; 127 uint32_t sample_frame_count) = 0;
127 virtual PP_Resource CreateCameraDevicePrivate(PP_Instance instance) = 0; 128 virtual PP_Resource CreateCameraDevicePrivate(PP_Instance instance) = 0;
128 virtual PP_Resource CreateCompositor(PP_Instance instance) = 0; 129 virtual PP_Resource CreateCompositor(PP_Instance instance) = 0;
129 virtual PP_Resource CreateFileChooser(PP_Instance instance, 130 virtual PP_Resource CreateFileChooser(PP_Instance instance,
130 PP_FileChooserMode_Dev mode, 131 PP_FileChooserMode_Dev mode,
131 const PP_Var& accept_types) = 0; 132 const PP_Var& accept_types) = 0;
132 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 133 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 PP_VideoDecoder_Profile profile) = 0; 201 PP_VideoDecoder_Profile profile) = 0;
201 #endif // !defined(OS_NACL) 202 #endif // !defined(OS_NACL)
202 203
203 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 204 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
204 }; 205 };
205 206
206 } // namespace thunk 207 } // namespace thunk
207 } // namespace ppapi 208 } // namespace ppapi
208 209
209 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 210 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_audio_encoder_thunk.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698