| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 // Default processing for the different insertion modes. | 160 // Default processing for the different insertion modes. |
| 161 void defaultForInitial(); | 161 void defaultForInitial(); |
| 162 void defaultForBeforeHTML(); | 162 void defaultForBeforeHTML(); |
| 163 void defaultForBeforeHead(); | 163 void defaultForBeforeHead(); |
| 164 void defaultForInHead(); | 164 void defaultForInHead(); |
| 165 void defaultForInHeadNoscript(); | 165 void defaultForInHeadNoscript(); |
| 166 void defaultForAfterHead(); | 166 void defaultForAfterHead(); |
| 167 void defaultForInTableText(); | 167 void defaultForInTableText(); |
| 168 | 168 |
| 169 inline PassRefPtr<HTMLStackItem> adjustedCurrentStackItem() const; |
| 169 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); | 170 inline bool shouldProcessTokenInForeignContent(AtomicHTMLToken*); |
| 170 void processTokenInForeignContent(AtomicHTMLToken*); | 171 void processTokenInForeignContent(AtomicHTMLToken*); |
| 171 | 172 |
| 172 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*); | 173 Vector<Attribute> attributesForIsindexInput(AtomicHTMLToken*); |
| 173 | 174 |
| 174 void callTheAdoptionAgency(AtomicHTMLToken*); | 175 void callTheAdoptionAgency(AtomicHTMLToken*); |
| 175 | 176 |
| 176 void closeTheCell(); | 177 void closeTheCell(); |
| 177 | 178 |
| 178 template <bool shouldClose(const HTMLStackItem*)> | 179 template <bool shouldClose(const HTMLStackItem*)> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 231 |
| 231 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be
fore resuming the parser. | 232 RefPtr<Element> m_scriptToProcess; // <script> tag which needs processing be
fore resuming the parser. |
| 232 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. | 233 TextPosition m_scriptToProcessStartPosition; // Starting line number of the
script tag needing processing. |
| 233 | 234 |
| 234 HTMLParserOptions m_options; | 235 HTMLParserOptions m_options; |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } | 238 } |
| 238 | 239 |
| 239 #endif | 240 #endif |
| OLD | NEW |