OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 212 |
213 RefPtr<StringImpl> m_characters; | 213 RefPtr<StringImpl> m_characters; |
214 unsigned m_current; | 214 unsigned m_current; |
215 unsigned m_end; | 215 unsigned m_end; |
216 }; | 216 }; |
217 | 217 |
218 HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, | 218 HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, |
219 Document& document, | 219 Document& document, |
220 ParserContentPolicy parserContentPolicy, | 220 ParserContentPolicy parserContentPolicy, |
221 const HTMLParserOptions& options) | 221 const HTMLParserOptions& options) |
222 : m_framesetOk(true) | 222 : m_framesetOk(true), |
223 #if ENABLE(ASSERT) | 223 #if ENABLE(ASSERT) |
224 , | 224 m_isAttached(true), |
225 m_isAttached(true) | |
226 #endif | 225 #endif |
227 , | |
228 m_tree(parser->reentryPermit(), document, parserContentPolicy), | 226 m_tree(parser->reentryPermit(), document, parserContentPolicy), |
229 m_insertionMode(InitialMode), | 227 m_insertionMode(InitialMode), |
230 m_originalInsertionMode(InitialMode), | 228 m_originalInsertionMode(InitialMode), |
231 m_shouldSkipLeadingNewline(false), | 229 m_shouldSkipLeadingNewline(false), |
232 m_parser(parser), | 230 m_parser(parser), |
233 m_scriptToProcessStartPosition(uninitializedPositionValue1()), | 231 m_scriptToProcessStartPosition(uninitializedPositionValue1()), |
234 m_options(options) { | 232 m_options(options) { |
235 } | 233 } |
236 | 234 |
237 HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, | 235 HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, |
(...skipping 2519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2757 DEFINE_STRINGIFY(AfterFramesetMode) | 2755 DEFINE_STRINGIFY(AfterFramesetMode) |
2758 DEFINE_STRINGIFY(AfterAfterBodyMode) | 2756 DEFINE_STRINGIFY(AfterAfterBodyMode) |
2759 DEFINE_STRINGIFY(AfterAfterFramesetMode) | 2757 DEFINE_STRINGIFY(AfterAfterFramesetMode) |
2760 #undef DEFINE_STRINGIFY | 2758 #undef DEFINE_STRINGIFY |
2761 } | 2759 } |
2762 return "<unknown>"; | 2760 return "<unknown>"; |
2763 } | 2761 } |
2764 #endif | 2762 #endif |
2765 | 2763 |
2766 } // namespace blink | 2764 } // namespace blink |
OLD | NEW |