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

Side by Side Diff: third_party/WebKit/public/web/WebDOMFileSystem.h

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 namespace v8 { 44 namespace v8 {
45 class Isolate; 45 class Isolate;
46 class Object; 46 class Object;
47 class Value; 47 class Value;
48 template <class T> 48 template <class T>
49 class Local; 49 class Local;
50 } 50 }
51 51
52 namespace blink { 52 namespace blink {
53 53
54 class DOMFileSystem; 54 class FileSystem;
55 55
56 class WebDOMFileSystem { 56 class WebDOMFileSystem {
57 public: 57 public:
58 enum SerializableType { 58 enum SerializableType {
59 SerializableTypeSerializable, 59 SerializableTypeSerializable,
60 SerializableTypeNotSerializable, 60 SerializableTypeNotSerializable,
61 }; 61 };
62 enum EntryType { 62 enum EntryType {
63 EntryTypeFile, 63 EntryTypeFile,
64 EntryTypeDirectory, 64 EntryTypeDirectory,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 v8::Isolate*); 98 v8::Isolate*);
99 BLINK_EXPORT v8::Local<v8::Value> createV8Entry( 99 BLINK_EXPORT v8::Local<v8::Value> createV8Entry(
100 const WebString& path, 100 const WebString& path,
101 EntryType, 101 EntryType,
102 v8::Local<v8::Object> creationContext, 102 v8::Local<v8::Object> creationContext,
103 v8::Isolate*); 103 v8::Isolate*);
104 104
105 bool isNull() const { return m_private.isNull(); } 105 bool isNull() const { return m_private.isNull(); }
106 106
107 #if BLINK_IMPLEMENTATION 107 #if BLINK_IMPLEMENTATION
108 WebDOMFileSystem(DOMFileSystem*); 108 WebDOMFileSystem(FileSystem*);
109 WebDOMFileSystem& operator=(DOMFileSystem*); 109 WebDOMFileSystem& operator=(FileSystem*);
110 #endif 110 #endif
111 111
112 private: 112 private:
113 WebPrivatePtr<DOMFileSystem> m_private; 113 WebPrivatePtr<FileSystem> m_private;
114 }; 114 };
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // WebDOMFileSystem_h 118 #endif // WebDOMFileSystem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDOMFileSystem.cpp ('k') | third_party/closure_compiler/externs/file_manager_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698