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