| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 bool processStartTagForInHead(AtomicHTMLToken*); | 129 bool processStartTagForInHead(AtomicHTMLToken*); |
| 130 void processStartTagForInBody(AtomicHTMLToken*); | 130 void processStartTagForInBody(AtomicHTMLToken*); |
| 131 void processStartTagForInTable(AtomicHTMLToken*); | 131 void processStartTagForInTable(AtomicHTMLToken*); |
| 132 void processEndTagForInBody(AtomicHTMLToken*); | 132 void processEndTagForInBody(AtomicHTMLToken*); |
| 133 void processEndTagForInTable(AtomicHTMLToken*); | 133 void processEndTagForInTable(AtomicHTMLToken*); |
| 134 void processEndTagForInTableBody(AtomicHTMLToken*); | 134 void processEndTagForInTableBody(AtomicHTMLToken*); |
| 135 void processEndTagForInRow(AtomicHTMLToken*); | 135 void processEndTagForInRow(AtomicHTMLToken*); |
| 136 void processEndTagForInCell(AtomicHTMLToken*); | 136 void processEndTagForInCell(AtomicHTMLToken*); |
| 137 | 137 |
| 138 void processIsindexStartTagForInBody(AtomicHTMLToken*); | |
| 139 void processHtmlStartTagForInBody(AtomicHTMLToken*); | 138 void processHtmlStartTagForInBody(AtomicHTMLToken*); |
| 140 bool processBodyEndTagForInBody(AtomicHTMLToken*); | 139 bool processBodyEndTagForInBody(AtomicHTMLToken*); |
| 141 bool processTableEndTagForInTable(); | 140 bool processTableEndTagForInTable(); |
| 142 bool processCaptionEndTagForInCaption(); | 141 bool processCaptionEndTagForInCaption(); |
| 143 bool processColgroupEndTagForInColumnGroup(); | 142 bool processColgroupEndTagForInColumnGroup(); |
| 144 bool processTrEndTagForInRow(); | 143 bool processTrEndTagForInRow(); |
| 145 // FIXME: This function should be inlined into its one call site or it | 144 // FIXME: This function should be inlined into its one call site or it |
| 146 // needs to assert which tokens it can be called with. | 145 // needs to assert which tokens it can be called with. |
| 147 void processAnyOtherEndTagForInBody(AtomicHTMLToken*); | 146 void processAnyOtherEndTagForInBody(AtomicHTMLToken*); |
| 148 | 147 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 164 void defaultForBeforeHead(); | 163 void defaultForBeforeHead(); |
| 165 void defaultForInHead(); | 164 void defaultForInHead(); |
| 166 void defaultForInHeadNoscript(); | 165 void defaultForInHeadNoscript(); |
| 167 void defaultForAfterHead(); | 166 void defaultForAfterHead(); |
| 168 void defaultForInTableText(); | 167 void defaultForInTableText(); |
| 169 | 168 |
| 170 inline HTMLStackItem* adjustedCurrentStackItem() const; | 169 inline HTMLStackItem* adjustedCurrentStackItem() const; |
| 171 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); | 170 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); |
| 172 void processTokenInForeignContent(AtomicHTMLToken*); | 171 void processTokenInForeignContent(AtomicHTMLToken*); |
| 173 | 172 |
| 174 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*); | |
| 175 | |
| 176 void callTheAdoptionAgency(AtomicHTMLToken*); | 173 void callTheAdoptionAgency(AtomicHTMLToken*); |
| 177 | 174 |
| 178 void closeTheCell(); | 175 void closeTheCell(); |
| 179 | 176 |
| 180 template <bool shouldClose(const HTMLStackItem*)> | 177 template <bool shouldClose(const HTMLStackItem*)> |
| 181 void processCloseWhenNestedTag(AtomicHTMLToken*); | 178 void processCloseWhenNestedTag(AtomicHTMLToken*); |
| 182 | 179 |
| 183 void parseError(AtomicHTMLToken*); | 180 void parseError(AtomicHTMLToken*); |
| 184 | 181 |
| 185 InsertionMode insertionMode() const { return m_insertionMode; } | 182 InsertionMode insertionMode() const { return m_insertionMode; } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 233 |
| 237 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. | 234 RefPtrWillBeMember<Element> m_scriptToProcess; // <script> tag which needs p
rocessing before resuming the parser. |
| 238 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. | 235 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. |
| 239 | 236 |
| 240 HTMLParserOptions m_options; | 237 HTMLParserOptions m_options; |
| 241 }; | 238 }; |
| 242 | 239 |
| 243 } | 240 } |
| 244 | 241 |
| 245 #endif | 242 #endif |
| OLD | NEW |