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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 using Document::write; | 68 using Document::write; |
69 using Document::writeln; | 69 using Document::writeln; |
70 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 70 void write(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
71 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); | 71 void writeln(LocalDOMWindow*, const Vector<String>& text, ExceptionState&); |
72 | 72 |
73 static bool isCaseSensitiveAttribute(const QualifiedName&); | 73 static bool isCaseSensitiveAttribute(const QualifiedName&); |
74 | 74 |
75 virtual PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren() OVER
RIDE FINAL; | 75 virtual PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren() OVER
RIDE FINAL; |
76 | 76 |
| 77 virtual void trace(Visitor* visitor) OVERRIDE |
| 78 { |
| 79 Document::trace(visitor); |
| 80 ResourceClient::trace(visitor); |
| 81 } |
| 82 |
77 protected: | 83 protected: |
78 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); | 84 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); |
79 | 85 |
80 private: | 86 private: |
81 HTMLBodyElement* htmlBodyElement() const; | 87 HTMLBodyElement* htmlBodyElement() const; |
82 | 88 |
83 const AtomicString& bodyAttributeValue(const QualifiedName&) const; | 89 const AtomicString& bodyAttributeValue(const QualifiedName&) const; |
84 void setBodyAttribute(const QualifiedName&, const AtomicString&); | 90 void setBodyAttribute(const QualifiedName&, const AtomicString&); |
85 | 91 |
86 void addItemToMap(HashCountedSet<AtomicString>&, const AtomicString&); | 92 void addItemToMap(HashCountedSet<AtomicString>&, const AtomicString&); |
(...skipping 11 matching lines...) Expand all Loading... |
98 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) | 104 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) |
99 { | 105 { |
100 return m_extraNamedItemCounts.contains(name); | 106 return m_extraNamedItemCounts.contains(name); |
101 } | 107 } |
102 | 108 |
103 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); | 109 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); |
104 | 110 |
105 } // namespace blink | 111 } // namespace blink |
106 | 112 |
107 #endif // HTMLDocument_h | 113 #endif // HTMLDocument_h |
OLD | NEW |