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

Side by Side Diff: webkit/plugins/ppapi/resource_creation_impl.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
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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/shared_impl/function_group_base.h" 10 #include "ppapi/shared_impl/function_group_base.h"
(...skipping 15 matching lines...) Expand all
26 26
27 // ResourceCreationAPI implementation. 27 // ResourceCreationAPI implementation.
28 virtual PP_Resource CreateAudio(PP_Instance instance, 28 virtual PP_Resource CreateAudio(PP_Instance instance,
29 PP_Resource config_id, 29 PP_Resource config_id,
30 PPB_Audio_Callback audio_callback, 30 PPB_Audio_Callback audio_callback,
31 void* user_data) OVERRIDE; 31 void* user_data) OVERRIDE;
32 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; 32 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE;
33 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 33 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
34 PP_AudioSampleRate sample_rate, 34 PP_AudioSampleRate sample_rate,
35 uint32_t sample_frame_count) OVERRIDE; 35 uint32_t sample_frame_count) OVERRIDE;
36 virtual PP_Resource CreateAudioInput( 36 virtual PP_Resource CreateAudioInput0_1(
37 PP_Instance instance, 37 PP_Instance instance,
38 PP_Resource config_id, 38 PP_Resource config_id,
39 PPB_AudioInput_Callback audio_input_callback, 39 PPB_AudioInput_Callback audio_input_callback,
40 void* user_data) OVERRIDE; 40 void* user_data) OVERRIDE;
41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; 41 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE;
42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; 42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
43 virtual PP_Resource CreateBrowserFont( 43 virtual PP_Resource CreateBrowserFont(
44 PP_Instance instance, 44 PP_Instance instance,
45 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 45 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
46 virtual PP_Resource CreateBuffer(PP_Instance instance, 46 virtual PP_Resource CreateBuffer(PP_Instance instance,
47 uint32_t size) OVERRIDE; 47 uint32_t size) OVERRIDE;
48 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; 48 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE;
49 virtual PP_Resource CreateFileChooser( 49 virtual PP_Resource CreateFileChooser(
50 PP_Instance instance, 50 PP_Instance instance,
51 PP_FileChooserMode_Dev mode, 51 PP_FileChooserMode_Dev mode,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 PP_Bool scroll_by_page) OVERRIDE; 122 PP_Bool scroll_by_page) OVERRIDE;
123 123
124 private: 124 private:
125 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 125 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
126 }; 126 };
127 127
128 } // namespace ppapi 128 } // namespace ppapi
129 } // namespace webkit 129 } // namespace webkit
130 130
131 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ 131 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_audio_input_impl.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698