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

Side by Side Diff: content/renderer/pepper/resource_creation_impl.h

Issue 2755613002: Support audio output device enumeration and selection in PPAPI (Closed)
Patch Set: Should not include local change to ppapi/generators/idl_outfile.py Created 3 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
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 CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 PP_Resource CreateAudio(PP_Instance instance, 32 PP_Resource CreateAudio(PP_Instance instance,
33 PP_Resource config_id, 33 PP_Resource config_id,
34 PPB_Audio_Callback audio_callback, 34 PPB_Audio_Callback audio_callback,
35 void* user_data) override; 35 void* user_data) override;
36 PP_Resource CreateAudioEncoder(PP_Instance instance) override; 36 PP_Resource CreateAudioEncoder(PP_Instance instance) override;
37 PP_Resource CreateAudioTrusted(PP_Instance instance) override; 37 PP_Resource CreateAudioTrusted(PP_Instance instance) override;
38 PP_Resource CreateAudioConfig(PP_Instance instance, 38 PP_Resource CreateAudioConfig(PP_Instance instance,
39 PP_AudioSampleRate sample_rate, 39 PP_AudioSampleRate sample_rate,
40 uint32_t sample_frame_count) override; 40 uint32_t sample_frame_count) override;
41 PP_Resource CreateAudioInput(PP_Instance instance) override; 41 PP_Resource CreateAudioInput(PP_Instance instance) override;
42 PP_Resource CreateAudioOutput(PP_Instance instance) override;
42 PP_Resource CreateCompositor(PP_Instance instance) override; 43 PP_Resource CreateCompositor(PP_Instance instance) override;
43 PP_Resource CreateBroker(PP_Instance instance) override; 44 PP_Resource CreateBroker(PP_Instance instance) override;
44 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override; 45 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override;
45 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override; 46 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override;
46 PP_Resource CreateFlashDRM(PP_Instance instance) override; 47 PP_Resource CreateFlashDRM(PP_Instance instance) override;
47 PP_Resource CreateFlashFontFile( 48 PP_Resource CreateFlashFontFile(
48 PP_Instance instance, 49 PP_Instance instance,
49 const PP_BrowserFont_Trusted_Description* description, 50 const PP_BrowserFont_Trusted_Description* description,
50 PP_PrivateFontCharset charset) override; 51 PP_PrivateFontCharset charset) override;
51 PP_Resource CreateFlashMenu(PP_Instance instance, 52 PP_Resource CreateFlashMenu(PP_Instance instance,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 PP_Bool scroll_by_page) override; 142 PP_Bool scroll_by_page) override;
142 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; 143 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override;
143 144
144 private: 145 private:
145 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); 146 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl);
146 }; 147 };
147 148
148 } // namespace content 149 } // namespace content
149 150
150 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ 151 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698