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( | 67 virtual bool AsyncOpenFileSystemURL( |
71 const GURL& path, | 68 const GURL& path, |
72 int flags, | 69 int flags, |
73 const AsyncOpenFileSystemURLCallback& callback); | 70 const AsyncOpenFileSystemURLCallback& callback); |
74 virtual bool OpenFileSystem( | 71 virtual bool OpenFileSystem( |
75 const GURL& url, | 72 const GURL& url, |
76 fileapi::FileSystemType type, | 73 fileapi::FileSystemType type, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 203 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
207 const EnumerateDevicesCallback& callback); | 204 const EnumerateDevicesCallback& callback); |
208 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
209 virtual std::string GetDeviceID(); | 206 virtual std::string GetDeviceID(); |
210 }; | 207 }; |
211 | 208 |
212 } // namespace ppapi | 209 } // namespace ppapi |
213 } // namespace webkit | 210 } // namespace webkit |
214 | 211 |
215 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |