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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const WebKit::WebFileChooserParams& params, | 111 const WebKit::WebFileChooserParams& params, |
112 WebKit::WebFileChooserCompletion* chooser_completion); | 112 WebKit::WebFileChooserCompletion* chooser_completion); |
113 virtual bool AsyncOpenFile(const FilePath& path, | 113 virtual bool AsyncOpenFile(const FilePath& path, |
114 int flags, | 114 int flags, |
115 AsyncOpenFileCallback* callback); | 115 AsyncOpenFileCallback* callback); |
116 virtual bool OpenFileSystem( | 116 virtual bool OpenFileSystem( |
117 const GURL& url, | 117 const GURL& url, |
118 fileapi::FileSystemType type, | 118 fileapi::FileSystemType type, |
119 long long size, | 119 long long size, |
120 fileapi::FileSystemCallbackDispatcher* dispatcher); | 120 fileapi::FileSystemCallbackDispatcher* dispatcher); |
121 virtual bool MakeDirectory(const FilePath& path, | 121 virtual bool MakeDirectory(const GURL& path, |
122 bool recursive, | 122 bool recursive, |
123 fileapi::FileSystemCallbackDispatcher* dispatcher); | 123 fileapi::FileSystemCallbackDispatcher* dispatcher); |
124 virtual bool Query(const FilePath& path, | 124 virtual bool Query(const GURL& path, |
125 fileapi::FileSystemCallbackDispatcher* dispatcher); | 125 fileapi::FileSystemCallbackDispatcher* dispatcher); |
126 virtual bool Touch(const FilePath& path, | 126 virtual bool Touch(const GURL& path, |
127 const base::Time& last_access_time, | 127 const base::Time& last_access_time, |
128 const base::Time& last_modified_time, | 128 const base::Time& last_modified_time, |
129 fileapi::FileSystemCallbackDispatcher* dispatcher); | 129 fileapi::FileSystemCallbackDispatcher* dispatcher); |
130 virtual bool Delete(const FilePath& path, | 130 virtual bool Delete(const GURL& path, |
131 fileapi::FileSystemCallbackDispatcher* dispatcher); | 131 fileapi::FileSystemCallbackDispatcher* dispatcher); |
132 virtual bool Rename(const FilePath& file_path, | 132 virtual bool Rename(const GURL& file_path, |
133 const FilePath& new_file_path, | 133 const GURL& new_file_path, |
134 fileapi::FileSystemCallbackDispatcher* dispatcher); | 134 fileapi::FileSystemCallbackDispatcher* dispatcher); |
135 virtual bool ReadDirectory(const FilePath& directory_path, | 135 virtual bool ReadDirectory(const GURL& directory_path, |
136 fileapi::FileSystemCallbackDispatcher* dispatcher); | 136 fileapi::FileSystemCallbackDispatcher* dispatcher); |
137 virtual base::PlatformFileError OpenFile( | 137 virtual base::PlatformFileError OpenFile( |
138 const webkit::ppapi::PepperFilePath& path, | 138 const webkit::ppapi::PepperFilePath& path, |
139 int flags, | 139 int flags, |
140 base::PlatformFile* file); | 140 base::PlatformFile* file); |
141 virtual base::PlatformFileError RenameFile( | 141 virtual base::PlatformFileError RenameFile( |
142 const webkit::ppapi::PepperFilePath& from_path, | 142 const webkit::ppapi::PepperFilePath& from_path, |
143 const webkit::ppapi::PepperFilePath& to_path); | 143 const webkit::ppapi::PepperFilePath& to_path); |
144 virtual base::PlatformFileError DeleteFileOrDir( | 144 virtual base::PlatformFileError DeleteFileOrDir( |
145 const webkit::ppapi::PepperFilePath& path, | 145 const webkit::ppapi::PepperFilePath& path, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, | 210 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, |
211 IDMapOwnPointer> pending_connect_tcps_; | 211 IDMapOwnPointer> pending_connect_tcps_; |
212 | 212 |
213 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, | 213 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
214 IDMapOwnPointer> pending_context_menus_; | 214 IDMapOwnPointer> pending_context_menus_; |
215 | 215 |
216 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 216 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
217 }; | 217 }; |
218 | 218 |
219 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 219 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |