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 void releaseEvents() { } | 67 void releaseEvents() { } |
68 | 68 |
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(const AtomicString& name); | 71 bool hasNamedItem(const AtomicString& 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(const AtomicString& name); | 75 bool hasExtraNamedItem(const AtomicString& name); |
76 | 76 |
| 77 using Document::write; |
| 78 using Document::writeln; |
| 79 void write(DOMWindow*, const Vector<String>& text); |
| 80 void writeln(DOMWindow*, const Vector<String>& text); |
| 81 |
77 static bool isCaseSensitiveAttribute(const QualifiedName&); | 82 static bool isCaseSensitiveAttribute(const QualifiedName&); |
78 | 83 |
79 virtual PassRefPtr<Document> cloneDocumentWithoutChildren() OVERRIDE FINAL; | 84 virtual PassRefPtr<Document> cloneDocumentWithoutChildren() OVERRIDE FINAL; |
80 | 85 |
81 protected: | 86 protected: |
82 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); | 87 HTMLDocument(const DocumentInit&, DocumentClassFlags extendedDocumentClasses
= DefaultDocumentClass); |
83 | 88 |
84 private: | 89 private: |
85 HTMLBodyElement* htmlBodyElement() const; | 90 HTMLBodyElement* htmlBodyElement() const; |
86 | 91 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 ASSERT_WITH_SECURITY_IMPLICATION(document.isHTMLDocument()); | 132 ASSERT_WITH_SECURITY_IMPLICATION(document.isHTMLDocument()); |
128 return static_cast<const HTMLDocument&>(document); | 133 return static_cast<const HTMLDocument&>(document); |
129 } | 134 } |
130 | 135 |
131 // This will catch anyone doing an unnecessary cast. | 136 // This will catch anyone doing an unnecessary cast. |
132 void toHTMLDocument(const HTMLDocument*); | 137 void toHTMLDocument(const HTMLDocument*); |
133 | 138 |
134 } // namespace WebCore | 139 } // namespace WebCore |
135 | 140 |
136 #endif // HTMLDocument_h | 141 #endif // HTMLDocument_h |
OLD | NEW |