| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 virtual PlatformAudioInput* CreateAudioInput( | 54 virtual PlatformAudioInput* CreateAudioInput( |
| 55 const std::string& device_id, | 55 const std::string& device_id, |
| 56 uint32_t sample_rate, | 56 uint32_t sample_rate, |
| 57 uint32_t sample_count, | 57 uint32_t sample_count, |
| 58 PlatformAudioInputClient* client); | 58 PlatformAudioInputClient* client); |
| 59 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); | 59 virtual Broker* ConnectToBroker(PPB_Broker_Impl* client); |
| 60 virtual void NumberOfFindResultsChanged(int identifier, | 60 virtual void NumberOfFindResultsChanged(int identifier, |
| 61 int total, | 61 int total, |
| 62 bool final_result); | 62 bool final_result); |
| 63 virtual void SelectedFindResultChanged(int identifier, int index); | 63 virtual void SelectedFindResultChanged(int identifier, int index); |
| 64 virtual bool RunFileChooser( | |
| 65 const WebKit::WebFileChooserParams& params, | |
| 66 WebKit::WebFileChooserCompletion* chooser_completion); | |
| 67 virtual bool AsyncOpenFile(const FilePath& path, | 64 virtual bool AsyncOpenFile(const FilePath& path, |
| 68 int flags, | 65 int flags, |
| 69 const AsyncOpenFileCallback& callback); | 66 const AsyncOpenFileCallback& callback); |
| 70 virtual bool AsyncOpenFileSystemURL(const GURL& path, | 67 virtual bool AsyncOpenFileSystemURL(const GURL& path, |
| 71 int flags, | 68 int flags, |
| 72 const AsyncOpenFileCallback& callback); | 69 const AsyncOpenFileCallback& callback); |
| 73 virtual bool OpenFileSystem( | 70 virtual bool OpenFileSystem( |
| 74 const GURL& url, | 71 const GURL& url, |
| 75 fileapi::FileSystemType type, | 72 fileapi::FileSystemType type, |
| 76 long long size, | 73 long long size, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 202 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
| 206 const EnumerateDevicesCallback& callback); | 203 const EnumerateDevicesCallback& callback); |
| 207 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 204 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
| 208 virtual std::string GetDeviceID(); | 205 virtual std::string GetDeviceID(); |
| 209 }; | 206 }; |
| 210 | 207 |
| 211 } // namespace ppapi | 208 } // namespace ppapi |
| 212 } // namespace webkit | 209 } // namespace webkit |
| 213 | 210 |
| 214 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 211 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |