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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 23 matching lines...) Expand all
34 virtual PlatformVideoCapture* CreateVideoCapture( 34 virtual PlatformVideoCapture* CreateVideoCapture(
35 const std::string& device_id, 35 const std::string& device_id,
36 PlatformVideoCaptureEventHandler* handler); 36 PlatformVideoCaptureEventHandler* handler);
37 virtual uint32_t GetAudioHardwareOutputSampleRate(); 37 virtual uint32_t GetAudioHardwareOutputSampleRate();
38 virtual uint32_t GetAudioHardwareOutputBufferSize(); 38 virtual uint32_t GetAudioHardwareOutputBufferSize();
39 virtual PlatformAudioOutput* CreateAudioOutput( 39 virtual PlatformAudioOutput* CreateAudioOutput(
40 uint32_t sample_rate, 40 uint32_t sample_rate,
41 uint32_t sample_count, 41 uint32_t sample_count,
42 PlatformAudioCommonClient* client); 42 PlatformAudioCommonClient* client);
43 virtual PlatformAudioInput* CreateAudioInput( 43 virtual PlatformAudioInput* CreateAudioInput(
44 const std::string& device_id,
44 uint32_t sample_rate, 45 uint32_t sample_rate,
45 uint32_t sample_count, 46 uint32_t sample_count,
46 PlatformAudioCommonClient* client); 47 PlatformAudioInputClient* client);
47 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); 48 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client);
48 virtual void NumberOfFindResultsChanged(int identifier, 49 virtual void NumberOfFindResultsChanged(int identifier,
49 int total, 50 int total,
50 bool final_result); 51 bool final_result);
51 virtual void SelectedFindResultChanged(int identifier, int index); 52 virtual void SelectedFindResultChanged(int identifier, int index);
52 virtual bool RunFileChooser( 53 virtual bool RunFileChooser(
53 const WebKit::WebFileChooserParams& params, 54 const WebKit::WebFileChooserParams& params,
54 WebKit::WebFileChooserCompletion* chooser_completion); 55 WebKit::WebFileChooserCompletion* chooser_completion);
55 virtual bool AsyncOpenFile(const FilePath& path, 56 virtual bool AsyncOpenFile(const FilePath& path,
56 int flags, 57 int flags,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual bool IsPageVisible() const; 187 virtual bool IsPageVisible() const;
187 virtual int EnumerateDevices(PP_DeviceType_Dev type, 188 virtual int EnumerateDevices(PP_DeviceType_Dev type,
188 const EnumerateDevicesCallback& callback); 189 const EnumerateDevicesCallback& callback);
189 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 190 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
190 }; 191 };
191 192
192 } // namespace ppapi 193 } // namespace ppapi
193 } // namespace webkit 194 } // namespace webkit
194 195
195 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 196 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698