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 <string> | 10 #include <string> |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const WebKit::WebFileChooserParams& params, | 98 const WebKit::WebFileChooserParams& params, |
99 WebKit::WebFileChooserCompletion* chooser_completion); | 99 WebKit::WebFileChooserCompletion* chooser_completion); |
100 virtual bool AsyncOpenFile(const FilePath& path, | 100 virtual bool AsyncOpenFile(const FilePath& path, |
101 int flags, | 101 int flags, |
102 AsyncOpenFileCallback* callback); | 102 AsyncOpenFileCallback* callback); |
103 virtual bool OpenFileSystem( | 103 virtual bool OpenFileSystem( |
104 const GURL& url, | 104 const GURL& url, |
105 fileapi::FileSystemType type, | 105 fileapi::FileSystemType type, |
106 long long size, | 106 long long size, |
107 fileapi::FileSystemCallbackDispatcher* dispatcher); | 107 fileapi::FileSystemCallbackDispatcher* dispatcher); |
108 virtual bool MakeDirectory(const FilePath& path, | 108 virtual bool MakeDirectory(const GURL& path, |
109 bool recursive, | 109 bool recursive, |
110 fileapi::FileSystemCallbackDispatcher* dispatcher); | 110 fileapi::FileSystemCallbackDispatcher* dispatcher); |
111 virtual bool Query(const FilePath& path, | 111 virtual bool Query(const GURL& path, |
112 fileapi::FileSystemCallbackDispatcher* dispatcher); | 112 fileapi::FileSystemCallbackDispatcher* dispatcher); |
113 virtual bool Touch(const FilePath& path, | 113 virtual bool Touch(const GURL& path, |
114 const base::Time& last_access_time, | 114 const base::Time& last_access_time, |
115 const base::Time& last_modified_time, | 115 const base::Time& last_modified_time, |
116 fileapi::FileSystemCallbackDispatcher* dispatcher); | 116 fileapi::FileSystemCallbackDispatcher* dispatcher); |
117 virtual bool Delete(const FilePath& path, | 117 virtual bool Delete(const GURL& path, |
118 fileapi::FileSystemCallbackDispatcher* dispatcher); | 118 fileapi::FileSystemCallbackDispatcher* dispatcher); |
119 virtual bool Rename(const FilePath& file_path, | 119 virtual bool Rename(const GURL& file_path, |
120 const FilePath& new_file_path, | 120 const GURL& new_file_path, |
121 fileapi::FileSystemCallbackDispatcher* dispatcher); | 121 fileapi::FileSystemCallbackDispatcher* dispatcher); |
122 virtual bool ReadDirectory(const FilePath& directory_path, | 122 virtual bool ReadDirectory(const GURL& directory_path, |
123 fileapi::FileSystemCallbackDispatcher* dispatcher); | 123 fileapi::FileSystemCallbackDispatcher* dispatcher); |
124 virtual base::PlatformFileError OpenFile( | 124 virtual base::PlatformFileError OpenFile( |
125 const webkit::ppapi::PepperFilePath& path, | 125 const webkit::ppapi::PepperFilePath& path, |
126 int flags, | 126 int flags, |
127 base::PlatformFile* file); | 127 base::PlatformFile* file); |
128 virtual base::PlatformFileError RenameFile( | 128 virtual base::PlatformFileError RenameFile( |
129 const webkit::ppapi::PepperFilePath& from_path, | 129 const webkit::ppapi::PepperFilePath& from_path, |
130 const webkit::ppapi::PepperFilePath& to_path); | 130 const webkit::ppapi::PepperFilePath& to_path); |
131 virtual base::PlatformFileError DeleteFileOrDir( | 131 virtual base::PlatformFileError DeleteFileOrDir( |
132 const webkit::ppapi::PepperFilePath& path, | 132 const webkit::ppapi::PepperFilePath& path, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, | 195 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, |
196 IDMapOwnPointer> pending_connect_tcps_; | 196 IDMapOwnPointer> pending_connect_tcps_; |
197 | 197 |
198 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, | 198 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
199 IDMapOwnPointer> pending_context_menus_; | 199 IDMapOwnPointer> pending_context_menus_; |
200 | 200 |
201 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 201 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
202 }; | 202 }; |
203 | 203 |
204 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 204 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |