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