| 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 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 void callTheAdoptionAgency(AtomicHTMLToken*); | 173 void callTheAdoptionAgency(AtomicHTMLToken*); |
| 174 | 174 |
| 175 void closeTheCell(); | 175 void closeTheCell(); |
| 176 | 176 |
| 177 template <bool shouldClose(const HTMLStackItem*)> | 177 template <bool shouldClose(const HTMLStackItem*)> |
| 178 void processCloseWhenNestedTag(AtomicHTMLToken*); | 178 void processCloseWhenNestedTag(AtomicHTMLToken*); |
| 179 | 179 |
| 180 void parseError(AtomicHTMLToken*); | 180 void parseError(AtomicHTMLToken*); |
| 181 | 181 |
| 182 InsertionMode insertionMode() const { return m_insertionMode; } | 182 InsertionMode getInsertionMode() const { return m_insertionMode; } |
| 183 void setInsertionMode(InsertionMode mode) { m_insertionMode = mode; } | 183 void setInsertionMode(InsertionMode mode) { m_insertionMode = mode; } |
| 184 | 184 |
| 185 void resetInsertionModeAppropriately(); | 185 void resetInsertionModeAppropriately(); |
| 186 | 186 |
| 187 void processTemplateStartTag(AtomicHTMLToken*); | 187 void processTemplateStartTag(AtomicHTMLToken*); |
| 188 bool processTemplateEndTag(AtomicHTMLToken*); | 188 bool processTemplateEndTag(AtomicHTMLToken*); |
| 189 bool processEndOfFileForInTemplateContents(AtomicHTMLToken*); | 189 bool processEndOfFileForInTemplateContents(AtomicHTMLToken*); |
| 190 | 190 |
| 191 class FragmentParsingContext { | 191 class FragmentParsingContext { |
| 192 WTF_MAKE_NONCOPYABLE(FragmentParsingContext); | 192 WTF_MAKE_NONCOPYABLE(FragmentParsingContext); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 234 |
| 235 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. | 235 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. |
| 236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. | 236 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. |
| 237 | 237 |
| 238 HTMLParserOptions m_options; | 238 HTMLParserOptions m_options; |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 } // namespace blink | 241 } // namespace blink |
| 242 | 242 |
| 243 #endif | 243 #endif |
| OLD | NEW |