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 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #ifndef HTMLDocument_h | 23 #ifndef HTMLDocument_h |
24 #define HTMLDocument_h | 24 #define HTMLDocument_h |
25 | 25 |
26 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
27 #include "core/fetch/ResourceClient.h" | 27 #include "core/fetch/ResourceClient.h" |
28 #include "wtf/HashCountedSet.h" | 28 #include "wtf/HashCountedSet.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class FrameView; | |
33 class HTMLBodyElement; | 32 class HTMLBodyElement; |
34 class HTMLElement; | |
35 | 33 |
36 class HTMLDocument : public Document, public ResourceClient { | 34 class HTMLDocument : public Document, public ResourceClient { |
37 DEFINE_WRAPPERTYPEINFO(); | 35 DEFINE_WRAPPERTYPEINFO(); |
38 public: | 36 public: |
39 static PassRefPtrWillBeRawPtr<HTMLDocument> create(const DocumentInit& initi
alizer = DocumentInit()) | 37 static PassRefPtrWillBeRawPtr<HTMLDocument> create(const DocumentInit& initi
alizer = DocumentInit()) |
40 { | 38 { |
41 return adoptRefWillBeNoop(new HTMLDocument(initializer)); | 39 return adoptRefWillBeNoop(new HTMLDocument(initializer)); |
42 } | 40 } |
43 virtual ~HTMLDocument(); | 41 virtual ~HTMLDocument(); |
44 | 42 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) | 97 inline bool HTMLDocument::hasExtraNamedItem(const AtomicString& name) |
100 { | 98 { |
101 return m_extraNamedItemCounts.contains(name); | 99 return m_extraNamedItemCounts.contains(name); |
102 } | 100 } |
103 | 101 |
104 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); | 102 DEFINE_DOCUMENT_TYPE_CASTS(HTMLDocument); |
105 | 103 |
106 } // namespace blink | 104 } // namespace blink |
107 | 105 |
108 #endif // HTMLDocument_h | 106 #endif // HTMLDocument_h |
OLD | NEW |