| 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 22 matching lines...) Expand all Loading... |
| 33 #include "wtf/RefCounted.h" | 33 #include "wtf/RefCounted.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class XPathNSResolver : public RefCountedWillBeGarbageCollectedFinalized<XPathNS
Resolver>, public ScriptWrappable { | 37 class XPathNSResolver : public RefCountedWillBeGarbageCollectedFinalized<XPathNS
Resolver>, public ScriptWrappable { |
| 38 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(XPathNSResolver); | 38 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(XPathNSResolver); |
| 39 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
| 40 public: | 40 public: |
| 41 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0; | 41 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0; |
| 42 | 42 |
| 43 virtual void trace(Visitor*) { } | 43 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 44 | 44 |
| 45 protected: | 45 protected: |
| 46 XPathNSResolver() { } | 46 XPathNSResolver() { } |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif // XPathNSResolver_h | 51 #endif // XPathNSResolver_h |
| OLD | NEW |