| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 const WebURL& rootURL, | 86 const WebURL& rootURL, |
| 87 SerializableType = SerializableTypeNotSerializable); | 87 SerializableType = SerializableTypeNotSerializable); |
| 88 | 88 |
| 89 BLINK_EXPORT void reset(); | 89 BLINK_EXPORT void reset(); |
| 90 BLINK_EXPORT void assign(const WebDOMFileSystem&); | 90 BLINK_EXPORT void assign(const WebDOMFileSystem&); |
| 91 | 91 |
| 92 BLINK_EXPORT WebString name() const; | 92 BLINK_EXPORT WebString name() const; |
| 93 BLINK_EXPORT WebFileSystem::Type type() const; | 93 BLINK_EXPORT WebFileSystem::Type type() const; |
| 94 BLINK_EXPORT WebURL rootURL() const; | 94 BLINK_EXPORT WebURL rootURL() const; |
| 95 | 95 |
| 96 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); | |
| 97 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( | |
| 98 const WebString& path, | |
| 99 EntryType); | |
| 100 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*); |
| 101 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( | 97 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( |
| 102 const WebString& path, | 98 const WebString& path, |
| 103 EntryType, | 99 EntryType, |
| 104 v8::Handle<v8::Object> creationContext, v8::Isolate*); | 100 v8::Handle<v8::Object> creationContext, v8::Isolate*); |
| 105 | 101 |
| 106 bool isNull() const { return m_private.isNull(); } | 102 bool isNull() const { return m_private.isNull(); } |
| 107 | 103 |
| 108 #if BLINK_IMPLEMENTATION | 104 #if BLINK_IMPLEMENTATION |
| 109 WebDOMFileSystem(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSystem>&); | 105 WebDOMFileSystem(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSystem>&); |
| 110 WebDOMFileSystem& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSys
tem>&); | 106 WebDOMFileSystem& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSys
tem>&); |
| 111 #endif | 107 #endif |
| 112 | 108 |
| 113 private: | 109 private: |
| 114 WebPrivatePtr<WebCore::DOMFileSystem> m_private; | 110 WebPrivatePtr<WebCore::DOMFileSystem> m_private; |
| 115 }; | 111 }; |
| 116 | 112 |
| 117 } // namespace blink | 113 } // namespace blink |
| 118 | 114 |
| 119 #endif // WebDOMFileSystem_h | 115 #endif // WebDOMFileSystem_h |
| OLD | NEW |