| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 media::VideoDecodeAccelerator::Client* client, | 33 media::VideoDecodeAccelerator::Client* client, |
| 34 int32 command_buffer_route_id); | 34 int32 command_buffer_route_id); |
| 35 virtual PlatformVideoCapture* CreateVideoCapture( | 35 virtual PlatformVideoCapture* CreateVideoCapture( |
| 36 const std::string& device_id, | 36 const std::string& device_id, |
| 37 PlatformVideoCaptureEventHandler* handler); | 37 PlatformVideoCaptureEventHandler* handler); |
| 38 virtual uint32_t GetAudioHardwareOutputSampleRate(); | 38 virtual uint32_t GetAudioHardwareOutputSampleRate(); |
| 39 virtual uint32_t GetAudioHardwareOutputBufferSize(); | 39 virtual uint32_t GetAudioHardwareOutputBufferSize(); |
| 40 virtual PlatformAudioOutput* CreateAudioOutput( | 40 virtual PlatformAudioOutput* CreateAudioOutput( |
| 41 uint32_t sample_rate, | 41 uint32_t sample_rate, |
| 42 uint32_t sample_count, | 42 uint32_t sample_count, |
| 43 PlatformAudioCommonClient* client); | 43 PlatformAudioOutputClient* client); |
| 44 virtual PlatformAudioInput* CreateAudioInput( | 44 virtual PlatformAudioInput* CreateAudioInput( |
| 45 const std::string& device_id, |
| 45 uint32_t sample_rate, | 46 uint32_t sample_rate, |
| 46 uint32_t sample_count, | 47 uint32_t sample_count, |
| 47 PlatformAudioCommonClient* client); | 48 PlatformAudioInputClient* client); |
| 48 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); | 49 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); |
| 49 virtual void NumberOfFindResultsChanged(int identifier, | 50 virtual void NumberOfFindResultsChanged(int identifier, |
| 50 int total, | 51 int total, |
| 51 bool final_result); | 52 bool final_result); |
| 52 virtual void SelectedFindResultChanged(int identifier, int index); | 53 virtual void SelectedFindResultChanged(int identifier, int index); |
| 53 virtual bool RunFileChooser( | 54 virtual bool RunFileChooser( |
| 54 const WebKit::WebFileChooserParams& params, | 55 const WebKit::WebFileChooserParams& params, |
| 55 WebKit::WebFileChooserCompletion* chooser_completion); | 56 WebKit::WebFileChooserCompletion* chooser_completion); |
| 56 virtual bool AsyncOpenFile(const FilePath& path, | 57 virtual bool AsyncOpenFile(const FilePath& path, |
| 57 int flags, | 58 int flags, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |