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

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

Issue 9705056: PepperPlatformAudioInputImpl: support audio input device selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync&resolve again 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 virtual void InstanceCreated( 163 virtual void InstanceCreated(
164 webkit::ppapi::PluginInstance* instance) OVERRIDE; 164 webkit::ppapi::PluginInstance* instance) OVERRIDE;
165 virtual void InstanceDeleted( 165 virtual void InstanceDeleted(
166 webkit::ppapi::PluginInstance* instance) OVERRIDE; 166 webkit::ppapi::PluginInstance* instance) OVERRIDE;
167 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 167 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE;
168 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; 168 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE;
169 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; 169 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE;
170 virtual PlatformAudioOutput* CreateAudioOutput( 170 virtual PlatformAudioOutput* CreateAudioOutput(
171 uint32_t sample_rate, 171 uint32_t sample_rate,
172 uint32_t sample_count, 172 uint32_t sample_count,
173 PlatformAudioCommonClient* client) OVERRIDE; 173 PlatformAudioOutputClient* client) OVERRIDE;
174 virtual PlatformAudioInput* CreateAudioInput( 174 virtual PlatformAudioInput* CreateAudioInput(
175 const std::string& device_id,
175 uint32_t sample_rate, 176 uint32_t sample_rate,
176 uint32_t sample_count, 177 uint32_t sample_count,
177 PlatformAudioCommonClient* client) OVERRIDE; 178 PlatformAudioInputClient* client) OVERRIDE;
178 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; 179 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE;
179 virtual PlatformContext3D* CreateContext3D() OVERRIDE; 180 virtual PlatformContext3D* CreateContext3D() OVERRIDE;
180 virtual PlatformVideoCapture* CreateVideoCapture( 181 virtual PlatformVideoCapture* CreateVideoCapture(
181 const std::string& device_id, 182 const std::string& device_id,
182 PlatformVideoCaptureEventHandler* handler) OVERRIDE; 183 PlatformVideoCaptureEventHandler* handler) OVERRIDE;
183 virtual PlatformVideoDecoder* CreateVideoDecoder( 184 virtual PlatformVideoDecoder* CreateVideoDecoder(
184 media::VideoDecodeAccelerator::Client* client, 185 media::VideoDecodeAccelerator::Client* client,
185 int32 command_buffer_route_id) OVERRIDE; 186 int32 command_buffer_route_id) OVERRIDE;
186 virtual Broker* ConnectToBroker( 187 virtual Broker* ConnectToBroker(
187 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; 188 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 494
494 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 495 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
495 496
496 scoped_ptr<PepperDeviceEnumerationEventHandler> 497 scoped_ptr<PepperDeviceEnumerationEventHandler>
497 device_enumeration_event_handler_; 498 device_enumeration_event_handler_;
498 499
499 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 500 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
500 }; 501 };
501 502
502 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output_impl.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698