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

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

Issue 9557007: PPB_AudioInput_Dev: support multiple audio input devices - Part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in response to Trung's comments. Created 8 years, 9 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
« no previous file with comments | « ppapi/thunk/ppb_audio_input_trusted_thunk.cc ('k') | webkit/plugins/ppapi/plugin_delegate.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" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual ~ResourceCreationAPI() {} 42 virtual ~ResourceCreationAPI() {}
43 43
44 virtual PP_Resource CreateAudio(PP_Instance instance, 44 virtual PP_Resource CreateAudio(PP_Instance instance,
45 PP_Resource config_id, 45 PP_Resource config_id,
46 PPB_Audio_Callback audio_callback, 46 PPB_Audio_Callback audio_callback,
47 void* user_data) = 0; 47 void* user_data) = 0;
48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0;
49 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 49 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
50 PP_AudioSampleRate sample_rate, 50 PP_AudioSampleRate sample_rate,
51 uint32_t sample_frame_count) = 0; 51 uint32_t sample_frame_count) = 0;
52 virtual PP_Resource CreateAudioInput( 52 virtual PP_Resource CreateAudioInput0_1(
53 PP_Instance instance, 53 PP_Instance instance,
54 PP_Resource config_id, 54 PP_Resource config_id,
55 PPB_AudioInput_Callback audio_input_callback, 55 PPB_AudioInput_Callback audio_input_callback,
56 void* user_data) = 0; 56 void* user_data) = 0;
57 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) = 0; 57 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
58 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 58 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
59 virtual PP_Resource CreateBrowserFont( 59 virtual PP_Resource CreateBrowserFont(
60 PP_Instance instance, 60 PP_Instance instance,
61 const PP_BrowserFont_Trusted_Description* description) = 0; 61 const PP_BrowserFont_Trusted_Description* description) = 0;
62 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 62 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
63 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 63 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
64 virtual PP_Resource CreateFileChooser( 64 virtual PP_Resource CreateFileChooser(
65 PP_Instance instance, 65 PP_Instance instance,
66 PP_FileChooserMode_Dev mode, 66 PP_FileChooserMode_Dev mode,
67 const char* accept_mime_types) = 0; 67 const char* accept_mime_types) = 0;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const PP_FloatPoint* wheel_ticks, 134 const PP_FloatPoint* wheel_ticks,
135 PP_Bool scroll_by_page) = 0; 135 PP_Bool scroll_by_page) = 0;
136 136
137 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 137 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
138 }; 138 };
139 139
140 } // namespace thunk 140 } // namespace thunk
141 } // namespace ppapi 141 } // namespace ppapi
142 142
143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_audio_input_trusted_thunk.cc ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698