Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 10387195: Open pepper files directly in browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 24 matching lines...) Expand all
35 namespace gfx { 35 namespace gfx {
36 class Point; 36 class Point;
37 class Rect; 37 class Rect;
38 } 38 }
39 39
40 namespace IPC { 40 namespace IPC {
41 struct ChannelHandle; 41 struct ChannelHandle;
42 } 42 }
43 43
44 namespace ppapi { 44 namespace ppapi {
45 class PepperFilePath;
45 class PPB_X509Certificate_Fields; 46 class PPB_X509Certificate_Fields;
46 } 47 }
47 48
48 namespace ui { 49 namespace ui {
49 class Range; 50 class Range;
50 } 51 }
51 52
52 namespace webkit { 53 namespace webkit {
53 struct WebPluginInfo; 54 struct WebPluginInfo;
54 namespace ppapi { 55 namespace ppapi {
55 class PepperFilePath;
56 class PluginInstance; 56 class PluginInstance;
57 class PluginModule; 57 class PluginModule;
58 } 58 }
59 } 59 }
60 60
61 namespace WebKit { 61 namespace WebKit {
62 class WebFileChooserCompletion; 62 class WebFileChooserCompletion;
63 class WebGamepads; 63 class WebGamepads;
64 class WebMouseEvent; 64 class WebMouseEvent;
65 struct WebCompositionUnderline; 65 struct WebCompositionUnderline;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 virtual bool ReadDirectory( 244 virtual bool ReadDirectory(
245 const GURL& directory_path, 245 const GURL& directory_path,
246 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE; 246 fileapi::FileSystemCallbackDispatcher* dispatcher) OVERRIDE;
247 virtual void QueryAvailableSpace( 247 virtual void QueryAvailableSpace(
248 const GURL& origin, 248 const GURL& origin,
249 quota::StorageType type, 249 quota::StorageType type,
250 const AvailableSpaceCallback& callback) OVERRIDE; 250 const AvailableSpaceCallback& callback) OVERRIDE;
251 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE; 251 virtual void WillUpdateFile(const GURL& file_path) OVERRIDE;
252 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE; 252 virtual void DidUpdateFile(const GURL& file_path, int64_t delta) OVERRIDE;
253 virtual base::PlatformFileError OpenFile( 253 virtual base::PlatformFileError OpenFile(
254 const webkit::ppapi::PepperFilePath& path, 254 const ppapi::PepperFilePath& path,
255 int flags, 255 int flags,
256 base::PlatformFile* file) OVERRIDE; 256 base::PlatformFile* file) OVERRIDE;
257 virtual base::PlatformFileError RenameFile( 257 virtual base::PlatformFileError RenameFile(
258 const webkit::ppapi::PepperFilePath& from_path, 258 const ppapi::PepperFilePath& from_path,
259 const webkit::ppapi::PepperFilePath& to_path) OVERRIDE; 259 const ppapi::PepperFilePath& to_path) OVERRIDE;
260 virtual base::PlatformFileError DeleteFileOrDir( 260 virtual base::PlatformFileError DeleteFileOrDir(
261 const webkit::ppapi::PepperFilePath& path, 261 const ppapi::PepperFilePath& path,
262 bool recursive) OVERRIDE; 262 bool recursive) OVERRIDE;
263 virtual base::PlatformFileError CreateDir( 263 virtual base::PlatformFileError CreateDir(
264 const webkit::ppapi::PepperFilePath& path) OVERRIDE; 264 const ppapi::PepperFilePath& path) OVERRIDE;
265 virtual base::PlatformFileError QueryFile( 265 virtual base::PlatformFileError QueryFile(
266 const webkit::ppapi::PepperFilePath& path, 266 const ppapi::PepperFilePath& path,
267 base::PlatformFileInfo* info) OVERRIDE; 267 base::PlatformFileInfo* info) OVERRIDE;
268 virtual base::PlatformFileError GetDirContents( 268 virtual base::PlatformFileError GetDirContents(
269 const webkit::ppapi::PepperFilePath& path, 269 const ppapi::PepperFilePath& path,
270 webkit::ppapi::DirContents* contents) OVERRIDE; 270 ppapi::DirContents* contents) OVERRIDE;
271 virtual void SyncGetFileSystemPlatformPath( 271 virtual void SyncGetFileSystemPlatformPath(
272 const GURL& url, 272 const GURL& url,
273 FilePath* platform_path) OVERRIDE; 273 FilePath* platform_path) OVERRIDE;
274 virtual scoped_refptr<base::MessageLoopProxy> 274 virtual scoped_refptr<base::MessageLoopProxy>
275 GetFileThreadMessageLoopProxy() OVERRIDE; 275 GetFileThreadMessageLoopProxy() OVERRIDE;
276 276
277 virtual uint32 TCPSocketCreate() OVERRIDE; 277 virtual uint32 TCPSocketCreate() OVERRIDE;
278 virtual void TCPSocketConnect( 278 virtual void TCPSocketConnect(
279 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, 279 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket,
280 uint32 socket_id, 280 uint32 socket_id,
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 510
511 scoped_ptr<PepperDeviceEnumerationEventHandler> 511 scoped_ptr<PepperDeviceEnumerationEventHandler>
512 device_enumeration_event_handler_; 512 device_enumeration_event_handler_;
513 513
514 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 514 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
515 }; 515 };
516 516
517 } // namespace content 517 } // namespace content
518 518
519 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 519 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698