| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 int total, | 64 int total, |
| 65 bool final_result); | 65 bool final_result); |
| 66 virtual void SelectedFindResultChanged(int identifier, int index); | 66 virtual void SelectedFindResultChanged(int identifier, int index); |
| 67 virtual bool AsyncOpenFile(const base::FilePath& path, | 67 virtual bool AsyncOpenFile(const base::FilePath& path, |
| 68 int flags, | 68 int flags, |
| 69 const AsyncOpenFileCallback& callback); | 69 const AsyncOpenFileCallback& callback); |
| 70 virtual bool AsyncOpenFileSystemURL( | 70 virtual bool AsyncOpenFileSystemURL( |
| 71 const GURL& path, | 71 const GURL& path, |
| 72 int flags, | 72 int flags, |
| 73 const AsyncOpenFileSystemURLCallback& callback); | 73 const AsyncOpenFileSystemURLCallback& callback); |
| 74 virtual bool IsFileSystemOpened(PP_Instance instance, |
| 75 PP_Resource resource) const; |
| 76 virtual PP_FileSystemType GetFileSystemType(PP_Instance instance, |
| 77 PP_Resource resource) const; |
| 78 virtual GURL GetFileSystemRootUrl(PP_Instance instance, |
| 79 PP_Resource resource) const; |
| 74 virtual bool OpenFileSystem( | 80 virtual bool OpenFileSystem( |
| 75 const GURL& origin_url, | 81 const GURL& origin_url, |
| 76 fileapi::FileSystemType type, | 82 fileapi::FileSystemType type, |
| 77 long long size, | 83 long long size, |
| 78 fileapi::FileSystemCallbackDispatcher* dispatcher); | 84 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 79 virtual bool MakeDirectory( | 85 virtual bool MakeDirectory( |
| 80 const GURL& path, | 86 const GURL& path, |
| 81 bool recursive, | 87 bool recursive, |
| 82 fileapi::FileSystemCallbackDispatcher* dispatcher); | 88 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 83 virtual bool Query(const GURL& path, | 89 virtual bool Query(const GURL& path, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( | 176 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( |
| 171 base::PlatformFile handle, | 177 base::PlatformFile handle, |
| 172 base::ProcessId target_process_id, | 178 base::ProcessId target_process_id, |
| 173 bool should_close_source) const; | 179 bool should_close_source) const; |
| 174 }; | 180 }; |
| 175 | 181 |
| 176 } // namespace ppapi | 182 } // namespace ppapi |
| 177 } // namespace webkit | 183 } // namespace webkit |
| 178 | 184 |
| 179 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 185 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |