| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 16 matching lines...) Expand all Loading... |
| 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 PlatformAudio* CreateAudio(uint32_t sample_rate, | 35 virtual PlatformAudio* CreateAudio(uint32_t sample_rate, |
| 36 uint32_t sample_count, | 36 uint32_t sample_count, |
| 37 PlatformAudio::Client* client); | 37 PlatformAudioCommonClient* client); |
| 38 virtual PlatformAudioInput* CreateAudioInput( |
| 39 uint32_t sample_rate, |
| 40 uint32_t sample_count, |
| 41 PlatformAudioCommonClient* client); |
| 38 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); | 42 virtual PpapiBroker* ConnectToPpapiBroker(PPB_Broker_Impl* client); |
| 39 virtual void NumberOfFindResultsChanged(int identifier, | 43 virtual void NumberOfFindResultsChanged(int identifier, |
| 40 int total, | 44 int total, |
| 41 bool final_result); | 45 bool final_result); |
| 42 virtual void SelectedFindResultChanged(int identifier, int index); | 46 virtual void SelectedFindResultChanged(int identifier, int index); |
| 43 virtual bool RunFileChooser( | 47 virtual bool RunFileChooser( |
| 44 const WebKit::WebFileChooserParams& params, | 48 const WebKit::WebFileChooserParams& params, |
| 45 WebKit::WebFileChooserCompletion* chooser_completion); | 49 WebKit::WebFileChooserCompletion* chooser_completion); |
| 46 virtual bool AsyncOpenFile(const FilePath& path, | 50 virtual bool AsyncOpenFile(const FilePath& path, |
| 47 int flags, | 51 int flags, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual void DidChangeCursor(PluginInstance* instance, | 129 virtual void DidChangeCursor(PluginInstance* instance, |
| 126 const WebKit::WebCursorInfo& cursor); | 130 const WebKit::WebCursorInfo& cursor); |
| 127 virtual void DidReceiveMouseEvent(PluginInstance* instance); | 131 virtual void DidReceiveMouseEvent(PluginInstance* instance); |
| 128 virtual bool IsInFullscreenMode(); | 132 virtual bool IsInFullscreenMode(); |
| 129 }; | 133 }; |
| 130 | 134 |
| 131 } // namespace ppapi | 135 } // namespace ppapi |
| 132 } // namespace webkit | 136 } // namespace webkit |
| 133 | 137 |
| 134 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 138 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |