| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 const base::Time& last_access_time, | 215 const base::Time& last_access_time, |
| 216 const base::Time& last_modified_time, | 216 const base::Time& last_modified_time, |
| 217 fileapi::FileSystemCallbackDispatcher* dispatcher); | 217 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 218 virtual bool Delete(const GURL& path, | 218 virtual bool Delete(const GURL& path, |
| 219 fileapi::FileSystemCallbackDispatcher* dispatcher); | 219 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 220 virtual bool Rename(const GURL& file_path, | 220 virtual bool Rename(const GURL& file_path, |
| 221 const GURL& new_file_path, | 221 const GURL& new_file_path, |
| 222 fileapi::FileSystemCallbackDispatcher* dispatcher); | 222 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 223 virtual bool ReadDirectory(const GURL& directory_path, | 223 virtual bool ReadDirectory(const GURL& directory_path, |
| 224 fileapi::FileSystemCallbackDispatcher* dispatcher); | 224 fileapi::FileSystemCallbackDispatcher* dispatcher); |
| 225 virtual void QueryAvailableSpace(const GURL& origin, |
| 226 quota::StorageType type, |
| 227 AvailableSpaceCallback* callback); |
| 228 virtual void WillUpdateFile(const GURL& file_path); |
| 229 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); |
| 225 virtual base::PlatformFileError OpenFile( | 230 virtual base::PlatformFileError OpenFile( |
| 226 const webkit::ppapi::PepperFilePath& path, | 231 const webkit::ppapi::PepperFilePath& path, |
| 227 int flags, | 232 int flags, |
| 228 base::PlatformFile* file); | 233 base::PlatformFile* file); |
| 229 virtual base::PlatformFileError RenameFile( | 234 virtual base::PlatformFileError RenameFile( |
| 230 const webkit::ppapi::PepperFilePath& from_path, | 235 const webkit::ppapi::PepperFilePath& from_path, |
| 231 const webkit::ppapi::PepperFilePath& to_path); | 236 const webkit::ppapi::PepperFilePath& to_path); |
| 232 virtual base::PlatformFileError DeleteFileOrDir( | 237 virtual base::PlatformFileError DeleteFileOrDir( |
| 233 const webkit::ppapi::PepperFilePath& path, | 238 const webkit::ppapi::PepperFilePath& path, |
| 234 bool recursive); | 239 bool recursive); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; | 318 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; |
| 314 BrokerMap pending_connect_broker_; | 319 BrokerMap pending_connect_broker_; |
| 315 | 320 |
| 316 // Whether or not the focus is on a PPAPI plugin | 321 // Whether or not the focus is on a PPAPI plugin |
| 317 bool is_pepper_plugin_focused_; | 322 bool is_pepper_plugin_focused_; |
| 318 | 323 |
| 319 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 324 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 320 }; | 325 }; |
| 321 | 326 |
| 322 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 327 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |