| 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 15 matching lines...) Expand all Loading... |
| 26 virtual void InstanceDeleted(PluginInstance* instance); | 26 virtual void InstanceDeleted(PluginInstance* instance); |
| 27 virtual SkBitmap* GetSadPluginBitmap(); | 27 virtual SkBitmap* GetSadPluginBitmap(); |
| 28 virtual PlatformImage2D* CreateImage2D(int width, int height); | 28 virtual PlatformImage2D* CreateImage2D(int width, int height); |
| 29 virtual PlatformContext3D* CreateContext3D(); | 29 virtual PlatformContext3D* CreateContext3D(); |
| 30 virtual PlatformVideoDecoder* CreateVideoDecoder( | 30 virtual PlatformVideoDecoder* CreateVideoDecoder( |
| 31 media::VideoDecodeAccelerator::Client* client, | 31 media::VideoDecodeAccelerator::Client* client, |
| 32 int32 command_buffer_route_id); | 32 int32 command_buffer_route_id); |
| 33 virtual PlatformVideoCapture* CreateVideoCapture( | 33 virtual PlatformVideoCapture* CreateVideoCapture( |
| 34 const std::string& device_id, | 34 const std::string& device_id, |
| 35 PlatformVideoCaptureEventHandler* handler); | 35 PlatformVideoCaptureEventHandler* handler); |
| 36 virtual uint32_t GetAudioHardwareOutputSampleRate(); |
| 37 virtual uint32_t GetAudioHardwareOutputBufferSize(); |
| 36 virtual PlatformAudio* CreateAudio(uint32_t sample_rate, | 38 virtual PlatformAudio* CreateAudio(uint32_t sample_rate, |
| 37 uint32_t sample_count, | 39 uint32_t sample_count, |
| 38 PlatformAudioCommonClient* client); | 40 PlatformAudioCommonClient* client); |
| 39 virtual PlatformAudioInput* CreateAudioInput( | 41 virtual PlatformAudioInput* CreateAudioInput( |
| 40 uint32_t sample_rate, | 42 uint32_t sample_rate, |
| 41 uint32_t sample_count, | 43 uint32_t sample_count, |
| 42 PlatformAudioCommonClient* client); | 44 PlatformAudioCommonClient* client); |
| 43 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); | 45 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); |
| 44 virtual void NumberOfFindResultsChanged(int identifier, | 46 virtual void NumberOfFindResultsChanged(int identifier, |
| 45 int total, | 47 int total, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 virtual bool IsInFullscreenMode(); | 161 virtual bool IsInFullscreenMode(); |
| 160 virtual bool IsPageVisible() const; | 162 virtual bool IsPageVisible() const; |
| 161 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 163 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
| 162 const EnumerateDevicesCallback& callback); | 164 const EnumerateDevicesCallback& callback); |
| 163 }; | 165 }; |
| 164 | 166 |
| 165 } // namespace ppapi | 167 } // namespace ppapi |
| 166 } // namespace webkit | 168 } // namespace webkit |
| 167 | 169 |
| 168 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 170 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |