| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 #ifndef WebDOMFileSystem_h | 30 #ifndef WebDOMFileSystem_h |
| 31 #define WebDOMFileSystem_h | 31 #define WebDOMFileSystem_h |
| 32 | 32 |
| 33 #include "../platform/WebCommon.h" | 33 #include "../platform/WebCommon.h" |
| 34 #include "../platform/WebFileSystem.h" | 34 #include "../platform/WebFileSystem.h" |
| 35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
| 36 #include "../platform/WebString.h" | 36 #include "../platform/WebString.h" |
| 37 #include "../platform/WebURL.h" | 37 #include "../platform/WebURL.h" |
| 38 | 38 |
| 39 #if BLINK_IMPLEMENTATION |
| 40 #include "heap/Handle.h" |
| 41 #endif |
| 42 |
| 39 namespace v8 { | 43 namespace v8 { |
| 40 class Value; | 44 class Value; |
| 41 template <class T> class Handle; | 45 template <class T> class Handle; |
| 42 } | 46 } |
| 43 | 47 |
| 44 namespace WebCore { class DOMFileSystem; } | 48 namespace WebCore { class DOMFileSystem; } |
| 45 | 49 |
| 46 namespace blink { | 50 namespace blink { |
| 47 | 51 |
| 48 class WebFrame; | 52 class WebFrame; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 BLINK_EXPORT WebURL rootURL() const; | 91 BLINK_EXPORT WebURL rootURL() const; |
| 88 | 92 |
| 89 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); | 93 BLINK_EXPORT v8::Handle<v8::Value> toV8Value(); |
| 90 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( | 94 BLINK_EXPORT v8::Handle<v8::Value> createV8Entry( |
| 91 const WebString& path, | 95 const WebString& path, |
| 92 EntryType); | 96 EntryType); |
| 93 | 97 |
| 94 bool isNull() const { return m_private.isNull(); } | 98 bool isNull() const { return m_private.isNull(); } |
| 95 | 99 |
| 96 #if BLINK_IMPLEMENTATION | 100 #if BLINK_IMPLEMENTATION |
| 97 WebDOMFileSystem(const WTF::PassRefPtr<WebCore::DOMFileSystem>&); | 101 WebDOMFileSystem(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSystem>&); |
| 98 WebDOMFileSystem& operator=(const WTF::PassRefPtr<WebCore::DOMFileSystem>&); | 102 WebDOMFileSystem& operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSys
tem>&); |
| 99 operator WTF::PassRefPtr<WebCore::DOMFileSystem>() const; | |
| 100 #endif | 103 #endif |
| 101 | 104 |
| 102 private: | 105 private: |
| 103 WebPrivatePtr<WebCore::DOMFileSystem> m_private; | 106 WebPrivatePtr<WebCore::DOMFileSystem> m_private; |
| 104 }; | 107 }; |
| 105 | 108 |
| 106 } // namespace blink | 109 } // namespace blink |
| 107 | 110 |
| 108 #endif // WebDOMFileSystem_h | 111 #endif // WebDOMFileSystem_h |
| OLD | NEW |