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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void SelectedFindResultChanged(int identifier, int index); | 61 virtual void SelectedFindResultChanged(int identifier, int index); |
62 virtual bool RunFileChooser( | 62 virtual bool RunFileChooser( |
63 const WebKit::WebFileChooserParams& params, | 63 const WebKit::WebFileChooserParams& params, |
64 WebKit::WebFileChooserCompletion* chooser_completion); | 64 WebKit::WebFileChooserCompletion* chooser_completion); |
65 virtual bool AsyncOpenFile(const FilePath& path, | 65 virtual bool AsyncOpenFile(const FilePath& path, |
66 int flags, | 66 int flags, |
67 const AsyncOpenFileCallback& callback); | 67 const AsyncOpenFileCallback& callback); |
68 virtual bool AsyncOpenFileSystemURL(const GURL& path, | 68 virtual bool AsyncOpenFileSystemURL(const GURL& path, |
69 int flags, | 69 int flags, |
70 const AsyncOpenFileCallback& callback); | 70 const AsyncOpenFileCallback& callback); |
| 71 virtual base::Callback<void (base::PlatformFileError)> |
| 72 GetCloseFileSystemURLCallback(const GURL& path); |
71 virtual bool OpenFileSystem( | 73 virtual bool OpenFileSystem( |
72 const GURL& url, | 74 const GURL& url, |
73 fileapi::FileSystemType type, | 75 fileapi::FileSystemType type, |
74 long long size, | 76 long long size, |
75 fileapi::FileSystemCallbackDispatcher* dispatcher); | 77 fileapi::FileSystemCallbackDispatcher* dispatcher); |
76 virtual bool MakeDirectory( | 78 virtual bool MakeDirectory( |
77 const GURL& path, | 79 const GURL& path, |
78 bool recursive, | 80 bool recursive, |
79 fileapi::FileSystemCallbackDispatcher* dispatcher); | 81 fileapi::FileSystemCallbackDispatcher* dispatcher); |
80 virtual bool Query(const GURL& path, | 82 virtual bool Query(const GURL& path, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 205 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
204 const EnumerateDevicesCallback& callback); | 206 const EnumerateDevicesCallback& callback); |
205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 207 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
206 virtual std::string GetDeviceID(); | 208 virtual std::string GetDeviceID(); |
207 }; | 209 }; |
208 | 210 |
209 } // namespace ppapi | 211 } // namespace ppapi |
210 } // namespace webkit | 212 } // namespace webkit |
211 | 213 |
212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 214 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |