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, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 void doWrite(const String&); | 155 void doWrite(const String&); |
156 void doEnd(); | 156 void doEnd(); |
157 | 157 |
158 bool m_hasView; | 158 bool m_hasView; |
159 | 159 |
160 SegmentedString m_originalSourceForTransform; | 160 SegmentedString m_originalSourceForTransform; |
161 | 161 |
162 xmlParserCtxtPtr context() const { return m_context ? m_context->context() :
0; }; | 162 xmlParserCtxtPtr context() const { return m_context ? m_context->context() :
0; }; |
163 RefPtr<XMLParserContext> m_context; | 163 RefPtr<XMLParserContext> m_context; |
164 Deque<OwnPtr<PendingCallback> > m_pendingCallbacks; | 164 Deque<OwnPtr<PendingCallback>> m_pendingCallbacks; |
165 Vector<xmlChar> m_bufferedText; | 165 Vector<xmlChar> m_bufferedText; |
166 | 166 |
167 RawPtrWillBeMember<ContainerNode> m_currentNode; | 167 RawPtrWillBeMember<ContainerNode> m_currentNode; |
168 WillBeHeapVector<RawPtrWillBeMember<ContainerNode> > m_currentNodeStack; | 168 WillBeHeapVector<RawPtrWillBeMember<ContainerNode>> m_currentNodeStack; |
169 | 169 |
170 RefPtrWillBeMember<Text> m_leafTextNode; | 170 RefPtrWillBeMember<Text> m_leafTextNode; |
171 | 171 |
172 bool m_isCurrentlyParsing8BitChunk; | 172 bool m_isCurrentlyParsing8BitChunk; |
173 bool m_sawError; | 173 bool m_sawError; |
174 bool m_sawCSS; | 174 bool m_sawCSS; |
175 bool m_sawXSLTransform; | 175 bool m_sawXSLTransform; |
176 bool m_sawFirstElement; | 176 bool m_sawFirstElement; |
177 bool m_isXHTMLDocument; | 177 bool m_isXHTMLDocument; |
178 bool m_parserPaused; | 178 bool m_parserPaused; |
(...skipping 13 matching lines...) Expand all Loading... |
192 PrefixForNamespaceMap m_prefixToNamespaceMap; | 192 PrefixForNamespaceMap m_prefixToNamespaceMap; |
193 SegmentedString m_pendingSrc; | 193 SegmentedString m_pendingSrc; |
194 }; | 194 }; |
195 | 195 |
196 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url)
; | 196 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url)
; |
197 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 197 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
200 | 200 |
201 #endif // XMLDocumentParser_h | 201 #endif // XMLDocumentParser_h |
OLD | NEW |