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