Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 virtual void SelectedFindResultChanged(int identifier, int index); | 194 virtual void SelectedFindResultChanged(int identifier, int index); |
| 195 virtual bool RunFileChooser( | 195 virtual bool RunFileChooser( |
| 196 const WebKit::WebFileChooserParams& params, | 196 const WebKit::WebFileChooserParams& params, |
| 197 WebKit::WebFileChooserCompletion* chooser_completion); | 197 WebKit::WebFileChooserCompletion* chooser_completion); |
| 198 virtual bool AsyncOpenFile(const FilePath& path, | 198 virtual bool AsyncOpenFile(const FilePath& path, |
| 199 int flags, | 199 int flags, |
| 200 AsyncOpenFileCallback* callback); | 200 AsyncOpenFileCallback* callback); |
| 201 virtual bool AsyncOpenFileSystemURL(const GURL& path, | 201 virtual bool AsyncOpenFileSystemURL(const GURL& path, |
| 202 int flags, | 202 int flags, |
| 203 AsyncOpenFileCallback* callback); | 203 AsyncOpenFileCallback* callback); |
| 204 | |
|
brettw
2011/07/19 20:29:31
It's not clear why you added this.
kinuko
2011/07/20 13:39:35
Removed.
| |
| 204 virtual bool OpenFileSystem( | 205 virtual bool OpenFileSystem( |
| 205 const GURL& url, | 206 const GURL& url, |
| 206 fileapi::FileSystemType type, | 207 fileapi::FileSystemType type, |
| 207 long long size, | 208 long long size, |
| 208 fileapi::FileSystemCallbackDispatcher* dispatcher); | 209 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 209 virtual bool MakeDirectory(const GURL& path, | 210 virtual bool MakeDirectory(const GURL& path, |
| 210 bool recursive, | 211 bool recursive, |
| 211 fileapi::FileSystemCallbackDispatcher* dispatcher); | 212 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 212 virtual bool Query(const GURL& path, | 213 virtual bool Query(const GURL& path, |
| 213 fileapi::FileSystemCallbackDispatcher* dispatcher); | 214 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 214 virtual bool Touch(const GURL& path, | 215 virtual bool Touch(const GURL& path, |
| 215 const base::Time& last_access_time, | 216 const base::Time& last_access_time, |
| 216 const base::Time& last_modified_time, | 217 const base::Time& last_modified_time, |
| 217 fileapi::FileSystemCallbackDispatcher* dispatcher); | 218 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 218 virtual bool Delete(const GURL& path, | 219 virtual bool Delete(const GURL& path, |
| 219 fileapi::FileSystemCallbackDispatcher* dispatcher); | 220 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 220 virtual bool Rename(const GURL& file_path, | 221 virtual bool Rename(const GURL& file_path, |
| 221 const GURL& new_file_path, | 222 const GURL& new_file_path, |
| 222 fileapi::FileSystemCallbackDispatcher* dispatcher); | 223 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 223 virtual bool ReadDirectory(const GURL& directory_path, | 224 virtual bool ReadDirectory(const GURL& directory_path, |
| 224 fileapi::FileSystemCallbackDispatcher* dispatcher); | 225 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 226 virtual bool CanWrite(const GURL& origin, | |
| 227 quota::StorageType type, | |
| 228 int64 growth, | |
| 229 QuotaStatusCallback* callback) const; | |
| 230 virtual void NotifyStorageModified(quota::QuotaClient::ID client_id, | |
| 231 const GURL& origin, | |
| 232 quota::StorageType type, | |
| 233 int64 delta); | |
| 225 virtual base::PlatformFileError OpenFile( | 234 virtual base::PlatformFileError OpenFile( |
| 226 const webkit::ppapi::PepperFilePath& path, | 235 const webkit::ppapi::PepperFilePath& path, |
| 227 int flags, | 236 int flags, |
| 228 base::PlatformFile* file); | 237 base::PlatformFile* file); |
| 229 virtual base::PlatformFileError RenameFile( | 238 virtual base::PlatformFileError RenameFile( |
| 230 const webkit::ppapi::PepperFilePath& from_path, | 239 const webkit::ppapi::PepperFilePath& from_path, |
| 231 const webkit::ppapi::PepperFilePath& to_path); | 240 const webkit::ppapi::PepperFilePath& to_path); |
| 232 virtual base::PlatformFileError DeleteFileOrDir( | 241 virtual base::PlatformFileError DeleteFileOrDir( |
| 233 const webkit::ppapi::PepperFilePath& path, | 242 const webkit::ppapi::PepperFilePath& path, |
| 234 bool recursive); | 243 bool recursive); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 313 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; | 322 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; |
| 314 BrokerMap pending_connect_broker_; | 323 BrokerMap pending_connect_broker_; |
| 315 | 324 |
| 316 // Whether or not the focus is on a PPAPI plugin | 325 // Whether or not the focus is on a PPAPI plugin |
| 317 bool is_pepper_plugin_focused_; | 326 bool is_pepper_plugin_focused_; |
| 318 | 327 |
| 319 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 328 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 320 }; | 329 }; |
| 321 | 330 |
| 322 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 331 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |