| OLD | NEW |
| 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 30 matching lines...) Expand all Loading... |
| 41 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
| 42 #endif | 42 #endif |
| 43 | 43 |
| 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> class Handle; | 48 template <class T> class Handle; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace blink { class DOMFileSystem; } | 51 namespace blink { |
| 52 | 52 |
| 53 namespace blink { | 53 class DOMFileSystem; |
| 54 | 54 |
| 55 class WebDOMFileSystem { | 55 class WebDOMFileSystem { |
| 56 public: | 56 public: |
| 57 enum SerializableType { | 57 enum SerializableType { |
| 58 SerializableTypeSerializable, | 58 SerializableTypeSerializable, |
| 59 SerializableTypeNotSerializable, | 59 SerializableTypeNotSerializable, |
| 60 }; | 60 }; |
| 61 enum EntryType { | 61 enum EntryType { |
| 62 EntryTypeFile, | 62 EntryTypeFile, |
| 63 EntryTypeDirectory, | 63 EntryTypeDirectory, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation
Context, v8::Isolate*); | 96 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(v8::Handle<v8::Object> creation
Context, v8::Isolate*); |
| 97 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( | 97 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( |
| 98 const WebString& path, | 98 const WebString& path, |
| 99 EntryType, | 99 EntryType, |
| 100 v8::Handle<v8::Object> creationContext, v8::Isolate*); | 100 v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 101 | 101 |
| 102 bool isNull() const { return m_private.isNull(); } | 102 bool isNull() const { return m_private.isNull(); } |
| 103 | 103 |
| 104 #if BLINK_IMPLEMENTATION | 104 #if BLINK_IMPLEMENTATION |
| 105 WebDOMFileSystem(blink::DOMFileSystem*); | 105 WebDOMFileSystem(DOMFileSystem*); |
| 106 WebDOMFileSystem& operator=(blink::DOMFileSystem*); | 106 WebDOMFileSystem& operator=(DOMFileSystem*); |
| 107 #endif | 107 #endif |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 WebPrivatePtr<blink::DOMFileSystem> m_private; | 110 WebPrivatePtr<DOMFileSystem> m_private; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace blink | 113 } // namespace blink |
| 114 | 114 |
| 115 #endif // WebDOMFileSystem_h | 115 #endif // WebDOMFileSystem_h |
| OLD | NEW |