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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 void addNamedItem(const AtomicString& name); | 69 void addNamedItem(const AtomicString& name); |
70 void removeNamedItem(const AtomicString& name); | 70 void removeNamedItem(const AtomicString& name); |
71 bool hasNamedItem(StringImpl* name); | 71 bool hasNamedItem(StringImpl* name); |
72 | 72 |
73 void addExtraNamedItem(const AtomicString& name); | 73 void addExtraNamedItem(const AtomicString& name); |
74 void removeExtraNamedItem(const AtomicString& name); | 74 void removeExtraNamedItem(const AtomicString& name); |
75 bool hasExtraNamedItem(StringImpl* name); | 75 bool hasExtraNamedItem(StringImpl* name); |
76 | 76 |
77 static bool isCaseSensitiveAttribute(const QualifiedName&); | 77 static bool isCaseSensitiveAttribute(const QualifiedName&); |
78 | 78 |
| 79 virtual PassRefPtr<Document> cloneDocumentWithoutChildren() OVERRIDE FINAL; |
| 80 |
79 protected: | 81 protected: |
80 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); | 82 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); |
81 | 83 |
82 private: | 84 private: |
83 HTMLBodyElement* htmlBodyElement() const; | 85 HTMLBodyElement* htmlBodyElement() const; |
84 | 86 |
85 const AtomicString& bodyAttributeValue(const QualifiedName&) const; | 87 const AtomicString& bodyAttributeValue(const QualifiedName&) const; |
86 void setBodyAttribute(const QualifiedName&, const AtomicString&); | 88 void setBodyAttribute(const QualifiedName&, const AtomicString&); |
87 | 89 |
88 void addItemToMap(HashCountedSet<StringImpl*>&, const AtomicString&); | 90 void addItemToMap(HashCountedSet<StringImpl*>&, const AtomicString&); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ASSERT_WITH_SECURITY_IMPLICATION(document.isHTMLDocument()); | 129 ASSERT_WITH_SECURITY_IMPLICATION(document.isHTMLDocument()); |
128 return static_cast<const HTMLDocument&>(document); | 130 return static_cast<const HTMLDocument&>(document); |
129 } | 131 } |
130 | 132 |
131 // This will catch anyone doing an unnecessary cast. | 133 // This will catch anyone doing an unnecessary cast. |
132 void toHTMLDocument(const HTMLDocument*); | 134 void toHTMLDocument(const HTMLDocument*); |
133 | 135 |
134 } // namespace WebCore | 136 } // namespace WebCore |
135 | 137 |
136 #endif // HTMLDocument_h | 138 #endif // HTMLDocument_h |
OLD | NEW |