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

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: . 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 virtual void InstanceCreated( 155 virtual void InstanceCreated(
156 webkit::ppapi::PluginInstance* instance) OVERRIDE; 156 webkit::ppapi::PluginInstance* instance) OVERRIDE;
157 virtual void InstanceDeleted( 157 virtual void InstanceDeleted(
158 webkit::ppapi::PluginInstance* instance) OVERRIDE; 158 webkit::ppapi::PluginInstance* instance) OVERRIDE;
159 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 159 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE;
160 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE; 160 virtual uint32_t GetAudioHardwareOutputSampleRate() OVERRIDE;
161 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE; 161 virtual uint32_t GetAudioHardwareOutputBufferSize() OVERRIDE;
162 virtual PlatformAudioOutput* CreateAudioOutput( 162 virtual PlatformAudioOutput* CreateAudioOutput(
163 uint32_t sample_rate, 163 uint32_t sample_rate,
164 uint32_t sample_count, 164 uint32_t sample_count,
165 PlatformAudioCommonClient* client) OVERRIDE; 165 PlatformAudioOutputClient* client) OVERRIDE;
166 virtual PlatformAudioInput* CreateAudioInput( 166 virtual PlatformAudioInput* CreateAudioInput(
167 const std::string& device_id,
167 uint32_t sample_rate, 168 uint32_t sample_rate,
168 uint32_t sample_count, 169 uint32_t sample_count,
169 PlatformAudioCommonClient* client) OVERRIDE; 170 PlatformAudioInputClient* client) OVERRIDE;
170 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE; 171 virtual PlatformImage2D* CreateImage2D(int width, int height) OVERRIDE;
171 virtual PlatformContext3D* CreateContext3D() OVERRIDE; 172 virtual PlatformContext3D* CreateContext3D() OVERRIDE;
172 virtual PlatformVideoCapture* CreateVideoCapture( 173 virtual PlatformVideoCapture* CreateVideoCapture(
173 const std::string& device_id, 174 const std::string& device_id,
174 PlatformVideoCaptureEventHandler* handler) OVERRIDE; 175 PlatformVideoCaptureEventHandler* handler) OVERRIDE;
175 virtual PlatformVideoDecoder* CreateVideoDecoder( 176 virtual PlatformVideoDecoder* CreateVideoDecoder(
176 media::VideoDecodeAccelerator::Client* client, 177 media::VideoDecodeAccelerator::Client* client,
177 int32 command_buffer_route_id) OVERRIDE; 178 int32 command_buffer_route_id) OVERRIDE;
178 virtual Broker* ConnectToBroker( 179 virtual Broker* ConnectToBroker(
179 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE; 180 webkit::ppapi::PPB_Broker_Impl* client) OVERRIDE;
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 489
489 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 490 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
490 491
491 scoped_ptr<PepperDeviceEnumerationEventHandler> 492 scoped_ptr<PepperDeviceEnumerationEventHandler>
492 device_enumeration_event_handler_; 493 device_enumeration_event_handler_;
493 494
494 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 495 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
495 }; 496 };
496 497
497 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 498 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698