| 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 21 matching lines...) Expand all Loading... |
| 32 virtual void SimulateImeConfirmComposition(const string16& text); | 32 virtual void SimulateImeConfirmComposition(const string16& text); |
| 33 virtual void PluginCrashed(PluginInstance* instance); | 33 virtual void PluginCrashed(PluginInstance* instance); |
| 34 virtual void InstanceCreated(PluginInstance* instance); | 34 virtual void InstanceCreated(PluginInstance* instance); |
| 35 virtual void InstanceDeleted(PluginInstance* instance); | 35 virtual void InstanceDeleted(PluginInstance* instance); |
| 36 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> | 36 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> |
| 37 CreateResourceCreationAPI(PluginInstance* instance); | 37 CreateResourceCreationAPI(PluginInstance* instance); |
| 38 virtual SkBitmap* GetSadPluginBitmap(); | 38 virtual SkBitmap* GetSadPluginBitmap(); |
| 39 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path); | 39 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path); |
| 40 virtual PlatformImage2D* CreateImage2D(int width, int height); | 40 virtual PlatformImage2D* CreateImage2D(int width, int height); |
| 41 virtual PlatformContext3D* CreateContext3D(); | 41 virtual PlatformContext3D* CreateContext3D(); |
| 42 virtual void ReparentContext(PlatformContext3D*); |
| 42 virtual PlatformVideoDecoder* CreateVideoDecoder( | 43 virtual PlatformVideoDecoder* CreateVideoDecoder( |
| 43 media::VideoDecodeAccelerator::Client* client, | 44 media::VideoDecodeAccelerator::Client* client, |
| 44 int32 command_buffer_route_id); | 45 int32 command_buffer_route_id); |
| 45 virtual PlatformVideoCapture* CreateVideoCapture( | 46 virtual PlatformVideoCapture* CreateVideoCapture( |
| 46 const std::string& device_id, | 47 const std::string& device_id, |
| 47 PlatformVideoCaptureEventHandler* handler); | 48 PlatformVideoCaptureEventHandler* handler); |
| 48 virtual uint32_t GetAudioHardwareOutputSampleRate(); | 49 virtual uint32_t GetAudioHardwareOutputSampleRate(); |
| 49 virtual uint32_t GetAudioHardwareOutputBufferSize(); | 50 virtual uint32_t GetAudioHardwareOutputBufferSize(); |
| 50 virtual PlatformAudioOutput* CreateAudioOutput( | 51 virtual PlatformAudioOutput* CreateAudioOutput( |
| 51 uint32_t sample_rate, | 52 uint32_t sample_rate, |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 virtual std::string GetDeviceID(); | 211 virtual std::string GetDeviceID(); |
| 211 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | 212 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
| 212 const GURL& document_url, | 213 const GURL& document_url, |
| 213 const GURL& plugin_url); | 214 const GURL& plugin_url); |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 } // namespace ppapi | 217 } // namespace ppapi |
| 217 } // namespace webkit | 218 } // namespace webkit |
| 218 | 219 |
| 219 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 220 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |