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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void releaseEvents() { } | 57 void releaseEvents() { } |
58 | 58 |
59 void addNamedItem(const AtomicString& name); | 59 void addNamedItem(const AtomicString& name); |
60 void removeNamedItem(const AtomicString& name); | 60 void removeNamedItem(const AtomicString& name); |
61 bool hasNamedItem(const AtomicString& name); | 61 bool hasNamedItem(const AtomicString& name); |
62 | 62 |
63 void addExtraNamedItem(const AtomicString& name); | 63 void addExtraNamedItem(const AtomicString& name); |
64 void removeExtraNamedItem(const AtomicString& name); | 64 void removeExtraNamedItem(const AtomicString& name); |
65 bool hasExtraNamedItem(const AtomicString& name); | 65 bool hasExtraNamedItem(const AtomicString& name); |
66 | 66 |
| 67 static bool isCaseSensitiveAttribute(const QualifiedName&); |
| 68 |
67 Document* cloneDocumentWithoutChildren() final; | 69 Document* cloneDocumentWithoutChildren() final; |
68 | 70 |
69 protected: | 71 protected: |
70 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); | 72 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); |
71 | 73 |
72 private: | 74 private: |
73 HTMLBodyElement* htmlBodyElement() const; | 75 HTMLBodyElement* htmlBodyElement() const; |
74 | 76 |
75 const AtomicString& bodyAttributeValue(const QualifiedName&) const; | 77 const AtomicString& bodyAttributeValue(const QualifiedName&) const; |
76 void setBodyAttribute(const QualifiedName&, const AtomicString&); | 78 void setBodyAttribute(const QualifiedName&, const AtomicString&); |
(...skipping 13 matching lines...) Expand all Loading... |
90 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) | 92 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) |
91 { | 93 { |
92 return m_extraNamedItemCounts.contains(name); | 94 return m_extraNamedItemCounts.contains(name); |
93 } | 95 } |
94 | 96 |
95 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); | 97 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); |
96 | 98 |
97 } // namespace blink | 99 } // namespace blink |
98 | 100 |
99 #endif // HTMLDocument_h | 101 #endif // HTMLDocument_h |
OLD | NEW |