OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2005, 2006 Apple Computer, Inc. | 3 * Copyright (C) 2005, 2006 Apple Computer, Inc. |
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
5 * Copyright (C) 2010 Google, Inc. | 5 * Copyright (C) 2010 Google, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 13 matching lines...) Expand all Loading... |
24 #ifndef DocumentParser_h | 24 #ifndef DocumentParser_h |
25 #define DocumentParser_h | 25 #define DocumentParser_h |
26 | 26 |
27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
28 #include "wtf/Forward.h" | 28 #include "wtf/Forward.h" |
29 #include "wtf/RefCounted.h" | 29 #include "wtf/RefCounted.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 class Document; | 33 class Document; |
34 class DocumentWriter; | |
35 class SegmentedString; | 34 class SegmentedString; |
36 class ScriptableDocumentParser; | 35 class ScriptableDocumentParser; |
37 class TextResourceDecoder; | 36 class TextResourceDecoder; |
38 | 37 |
39 class DocumentParser : public RefCountedWillBeGarbageCollectedFinalized<Document
Parser> { | 38 class DocumentParser : public RefCountedWillBeGarbageCollectedFinalized<Document
Parser> { |
40 public: | 39 public: |
41 virtual ~DocumentParser(); | 40 virtual ~DocumentParser(); |
42 virtual void trace(Visitor*); | 41 virtual void trace(Visitor*); |
43 | 42 |
44 virtual ScriptableDocumentParser* asScriptableDocumentParser() { return 0; } | 43 virtual ScriptableDocumentParser* asScriptableDocumentParser() { return 0; } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 bool m_documentWasLoadedAsPartOfNavigation; | 121 bool m_documentWasLoadedAsPartOfNavigation; |
123 | 122 |
124 // Every DocumentParser needs a pointer back to the document. | 123 // Every DocumentParser needs a pointer back to the document. |
125 // m_document will be 0 after the parser is stopped. | 124 // m_document will be 0 after the parser is stopped. |
126 RawPtrWillBeMember<Document> m_document; | 125 RawPtrWillBeMember<Document> m_document; |
127 }; | 126 }; |
128 | 127 |
129 } // namespace WebCore | 128 } // namespace WebCore |
130 | 129 |
131 #endif // DocumentParser_h | 130 #endif // DocumentParser_h |
OLD | NEW |