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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include "bindings/v8/ScriptWrappable.h" | 30 #include "bindings/v8/ScriptWrappable.h" |
31 #include "wtf/Forward.h" | 31 #include "wtf/Forward.h" |
32 #include "wtf/RefCounted.h" | 32 #include "wtf/RefCounted.h" |
33 | 33 |
34 namespace WebCore { | 34 namespace WebCore { |
35 | 35 |
36 class XPathNSResolver : public RefCounted<XPathNSResolver>, public ScriptWrappab
le { | 36 class XPathNSResolver : public RefCounted<XPathNSResolver>, public ScriptWrappab
le { |
37 public: | 37 public: |
38 virtual ~XPathNSResolver(); | 38 virtual ~XPathNSResolver(); |
39 virtual String lookupNamespaceURI(const String& prefix) = 0; | 39 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0; |
40 | 40 |
41 protected: | 41 protected: |
42 XPathNSResolver() | 42 XPathNSResolver() |
43 { | 43 { |
44 ScriptWrappable::init(this); | 44 ScriptWrappable::init(this); |
45 } | 45 } |
46 }; | 46 }; |
47 | 47 |
48 } | 48 } |
49 | 49 |
50 #endif // XPathNSResolver_h | 50 #endif // XPathNSResolver_h |
OLD | NEW |