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 23 matching lines...) Expand all Loading... |
34 virtual void InstanceDeleted(PluginInstance* instance); | 34 virtual void InstanceDeleted(PluginInstance* instance); |
35 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> | 35 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
36 CreateResourceCreationAPI(PluginInstance* instance); | 36 CreateResourceCreationAPI(PluginInstance* instance); |
37 virtual SkBitmap* GetSadPluginBitmap(); | 37 virtual SkBitmap* GetSadPluginBitmap(); |
38 virtual WebKit::WebPlugin* CreatePluginReplacement( | 38 virtual WebKit::WebPlugin* CreatePluginReplacement( |
39 const base::FilePath& file_path); | 39 const base::FilePath& file_path); |
40 virtual PlatformImage2D* CreateImage2D(int width, int height); | 40 virtual PlatformImage2D* CreateImage2D(int width, int height); |
41 virtual PlatformGraphics2D* GetGraphics2D(PluginInstance* instance, | 41 virtual PlatformGraphics2D* GetGraphics2D(PluginInstance* instance, |
42 PP_Resource graphics_2d); | 42 PP_Resource graphics_2d); |
43 virtual PlatformContext3D* CreateContext3D(); | 43 virtual PlatformContext3D* CreateContext3D(); |
44 virtual void ReparentContext(PlatformContext3D*); | |
45 virtual PlatformVideoDecoder* CreateVideoDecoder( | 44 virtual PlatformVideoDecoder* CreateVideoDecoder( |
46 media::VideoDecodeAccelerator::Client* client, | 45 media::VideoDecodeAccelerator::Client* client, |
47 int32 command_buffer_route_id); | 46 int32 command_buffer_route_id); |
48 virtual PlatformVideoCapture* CreateVideoCapture( | 47 virtual PlatformVideoCapture* CreateVideoCapture( |
49 const std::string& device_id, | 48 const std::string& device_id, |
50 PlatformVideoCaptureEventHandler* handler); | 49 PlatformVideoCaptureEventHandler* handler); |
51 virtual uint32_t GetAudioHardwareOutputSampleRate(); | 50 virtual uint32_t GetAudioHardwareOutputSampleRate(); |
52 virtual uint32_t GetAudioHardwareOutputBufferSize(); | 51 virtual uint32_t GetAudioHardwareOutputBufferSize(); |
53 virtual PlatformAudioOutput* CreateAudioOutput( | 52 virtual PlatformAudioOutput* CreateAudioOutput( |
54 uint32_t sample_rate, | 53 uint32_t sample_rate, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 bool should_close_source) const; | 179 bool should_close_source) const; |
181 virtual bool IsRunningInProcess(PP_Instance instance) const; | 180 virtual bool IsRunningInProcess(PP_Instance instance) const; |
182 virtual void HandleDocumentLoad(PluginInstance* instance, | 181 virtual void HandleDocumentLoad(PluginInstance* instance, |
183 const WebKit::WebURLResponse& response); | 182 const WebKit::WebURLResponse& response); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace ppapi | 185 } // namespace ppapi |
187 } // namespace webkit | 186 } // namespace webkit |
188 | 187 |
189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 188 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |