| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> | 2 * Copyright 2005 Frerich Raabe <raabe@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef XPathNSResolver_h | 27 #ifndef XPathNSResolver_h |
| 28 #define XPathNSResolver_h | 28 #define XPathNSResolver_h |
| 29 | 29 |
| 30 #include "bindings/core/v8/ScriptWrappable.h" | 30 #include "bindings/core/v8/ScriptWrappable.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "wtf/Forward.h" | 32 #include "wtf/Forward.h" |
| 33 #include "wtf/RefCounted.h" | |
| 34 | 33 |
| 35 namespace blink { | 34 namespace blink { |
| 36 | 35 |
| 37 class XPathNSResolver : public RefCountedWillBeGarbageCollectedFinalized<XPathNS
Resolver>, public ScriptWrappable { | 36 class XPathNSResolver : public GarbageCollectedFinalized<XPathNSResolver>, publi
c ScriptWrappable { |
| 38 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(XPathNSResolver); | |
| 39 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 40 public: | 38 public: |
| 41 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0; | 39 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0; |
| 42 | 40 |
| 43 DEFINE_INLINE_VIRTUAL_TRACE() { } | 41 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 44 | 42 |
| 45 protected: | 43 protected: |
| 46 XPathNSResolver() { } | 44 XPathNSResolver() { } |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace blink | 47 } // namespace blink |
| 50 | 48 |
| 51 #endif // XPathNSResolver_h | 49 #endif // XPathNSResolver_h |
| OLD | NEW |