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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 void addExtraNamedItem(const AtomicString& name); | 76 void addExtraNamedItem(const AtomicString& name); |
77 void removeExtraNamedItem(const AtomicString& name); | 77 void removeExtraNamedItem(const AtomicString& name); |
78 bool hasExtraNamedItem(AtomicStringImpl* name); | 78 bool hasExtraNamedItem(AtomicStringImpl* name); |
79 | 79 |
80 static bool isCaseSensitiveAttribute(const QualifiedName&); | 80 static bool isCaseSensitiveAttribute(const QualifiedName&); |
81 | 81 |
82 protected: | 82 protected: |
83 HTMLDocument(Frame*, const KURL&); | 83 HTMLDocument(Frame*, const KURL&); |
84 | 84 |
| 85 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 86 |
85 private: | 87 private: |
86 virtual PassRefPtr<Element> createElement(const AtomicString& tagName, Excep
tionCode&); | 88 virtual PassRefPtr<Element> createElement(const AtomicString& tagName, Excep
tionCode&); |
87 | 89 |
88 virtual bool isFrameSet() const; | 90 virtual bool isFrameSet() const; |
89 virtual PassRefPtr<DocumentParser> createParser(); | 91 virtual PassRefPtr<DocumentParser> createParser(); |
90 | 92 |
91 void addItemToMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&); | 93 void addItemToMap(HashCountedSet<AtomicStringImpl*>&, const AtomicString&); |
92 void removeItemFromMap(HashCountedSet<AtomicStringImpl*>&, const AtomicStrin
g&); | 94 void removeItemFromMap(HashCountedSet<AtomicStringImpl*>&, const AtomicStrin
g&); |
93 | 95 |
94 HashCountedSet<AtomicStringImpl*> m_namedItemCounts; | 96 HashCountedSet<AtomicStringImpl*> m_namedItemCounts; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 { | 140 { |
139 return toHTMLDocument(Handle<const Document>(document)); | 141 return toHTMLDocument(Handle<const Document>(document)); |
140 } | 142 } |
141 | 143 |
142 // This will catch anyone doing an unnecessary cast. | 144 // This will catch anyone doing an unnecessary cast. |
143 void toHTMLDocument(const HTMLDocument*); | 145 void toHTMLDocument(const HTMLDocument*); |
144 | 146 |
145 } // namespace WebCore | 147 } // namespace WebCore |
146 | 148 |
147 #endif // HTMLDocument_h | 149 #endif // HTMLDocument_h |
OLD | NEW |