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 14 matching lines...) Expand all Loading... |
25 virtual void InstanceCreated(PluginInstance* instance); | 25 virtual void InstanceCreated(PluginInstance* instance); |
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 media::VideoCapture::EventHandler* handler); | 34 media::VideoCapture::EventHandler* handler); |
| 35 virtual uint32_t AudioHardwareOutputSampleRate(); |
| 36 virtual uint32_t AudioHardwareOutputBufferSize(); |
35 virtual PlatformAudio* CreateAudio(uint32_t sample_rate, | 37 virtual PlatformAudio* CreateAudio(uint32_t sample_rate, |
36 uint32_t sample_count, | 38 uint32_t sample_count, |
37 PlatformAudioCommonClient* client); | 39 PlatformAudioCommonClient* client); |
38 virtual PlatformAudioInput* CreateAudioInput( | 40 virtual PlatformAudioInput* CreateAudioInput( |
39 uint32_t sample_rate, | 41 uint32_t sample_rate, |
40 uint32_t sample_count, | 42 uint32_t sample_count, |
41 PlatformAudioCommonClient* client); | 43 PlatformAudioCommonClient* client); |
42 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); | 44 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); |
43 virtual void NumberOfFindResultsChanged(int identifier, | 45 virtual void NumberOfFindResultsChanged(int identifier, |
44 int total, | 46 int total, |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 virtual void DidReceiveMouseEvent(PluginInstance* instance); | 158 virtual void DidReceiveMouseEvent(PluginInstance* instance); |
157 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 159 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
158 virtual bool IsInFullscreenMode(); | 160 virtual bool IsInFullscreenMode(); |
159 virtual bool IsPageVisible() const; | 161 virtual bool IsPageVisible() const; |
160 }; | 162 }; |
161 | 163 |
162 } // namespace ppapi | 164 } // namespace ppapi |
163 } // namespace webkit | 165 } // namespace webkit |
164 | 166 |
165 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 167 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |