OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 DEFINE_WRAPPERTYPEINFO(); | 42 DEFINE_WRAPPERTYPEINFO(); |
43 | 43 |
44 public: | 44 public: |
45 static DOMImplementation* create(Document& document) { | 45 static DOMImplementation* create(Document& document) { |
46 return new DOMImplementation(document); | 46 return new DOMImplementation(document); |
47 } | 47 } |
48 | 48 |
49 Document& document() const { return *m_document; } | 49 Document& document() const { return *m_document; } |
50 | 50 |
51 // DOM methods & attributes for DOMImplementation | 51 // DOM methods & attributes for DOMImplementation |
52 bool hasFeature() { return true; } | |
53 DocumentType* createDocumentType(const AtomicString& qualifiedName, | 52 DocumentType* createDocumentType(const AtomicString& qualifiedName, |
54 const String& publicId, | 53 const String& publicId, |
55 const String& systemId, | 54 const String& systemId, |
56 ExceptionState&); | 55 ExceptionState&); |
57 XMLDocument* createDocument(const AtomicString& namespaceURI, | 56 XMLDocument* createDocument(const AtomicString& namespaceURI, |
58 const AtomicString& qualifiedName, | 57 const AtomicString& qualifiedName, |
59 DocumentType*, | 58 DocumentType*, |
60 ExceptionState&); | 59 ExceptionState&); |
61 | 60 |
62 // From the HTMLDOMImplementation interface | 61 // From the HTMLDOMImplementation interface |
(...skipping 12 matching lines...) Expand all Loading... |
75 | 74 |
76 private: | 75 private: |
77 explicit DOMImplementation(Document&); | 76 explicit DOMImplementation(Document&); |
78 | 77 |
79 Member<Document> m_document; | 78 Member<Document> m_document; |
80 }; | 79 }; |
81 | 80 |
82 } // namespace blink | 81 } // namespace blink |
83 | 82 |
84 #endif // DOMImplementation_h | 83 #endif // DOMImplementation_h |
OLD | NEW |