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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void insertComment(AtomicHTMLToken*); | 146 void insertComment(AtomicHTMLToken*); |
147 void insertCommentOnDocument(AtomicHTMLToken*); | 147 void insertCommentOnDocument(AtomicHTMLToken*); |
148 void insertCommentOnHTMLHtmlElement(AtomicHTMLToken*); | 148 void insertCommentOnHTMLHtmlElement(AtomicHTMLToken*); |
149 void insertHTMLElement(AtomicHTMLToken*); | 149 void insertHTMLElement(AtomicHTMLToken*); |
150 void insertSelfClosingHTMLElementDestroyingToken(AtomicHTMLToken*); | 150 void insertSelfClosingHTMLElementDestroyingToken(AtomicHTMLToken*); |
151 void insertFormattingElement(AtomicHTMLToken*); | 151 void insertFormattingElement(AtomicHTMLToken*); |
152 void insertHTMLHeadElement(AtomicHTMLToken*); | 152 void insertHTMLHeadElement(AtomicHTMLToken*); |
153 void insertHTMLBodyElement(AtomicHTMLToken*); | 153 void insertHTMLBodyElement(AtomicHTMLToken*); |
154 void insertHTMLFormElement(AtomicHTMLToken*, bool isDemoted = false); | 154 void insertHTMLFormElement(AtomicHTMLToken*, bool isDemoted = false); |
155 void insertScriptElement(AtomicHTMLToken*); | 155 void insertScriptElement(AtomicHTMLToken*); |
| 156 void insertLinkElement(AtomicHTMLToken*); |
156 void insertTextNode(const String&, WhitespaceMode = WhitespaceUnknown); | 157 void insertTextNode(const String&, WhitespaceMode = WhitespaceUnknown); |
157 void insertForeignElement(AtomicHTMLToken*, const AtomicString& namespaceURI
); | 158 void insertForeignElement(AtomicHTMLToken*, const AtomicString& namespaceURI
); |
158 | 159 |
159 void insertHTMLHtmlStartTagBeforeHTML(AtomicHTMLToken*); | 160 void insertHTMLHtmlStartTagBeforeHTML(AtomicHTMLToken*); |
160 void insertHTMLHtmlStartTagInBody(AtomicHTMLToken*); | 161 void insertHTMLHtmlStartTagInBody(AtomicHTMLToken*); |
161 void insertHTMLBodyStartTagInBody(AtomicHTMLToken*); | 162 void insertHTMLBodyStartTagInBody(AtomicHTMLToken*); |
162 | 163 |
163 void reparent(HTMLElementStack::ElementRecord* newParent, HTMLElementStack::
ElementRecord* child); | 164 void reparent(HTMLElementStack::ElementRecord* newParent, HTMLElementStack::
ElementRecord* child); |
164 void reparent(HTMLElementStack::ElementRecord* newParent, HTMLStackItem* chi
ld); | 165 void reparent(HTMLElementStack::ElementRecord* newParent, HTMLStackItem* chi
ld); |
165 // insertAlreadyParsedChild assumes that |child| has already been parsed (i.
e., we're just | 166 // insertAlreadyParsedChild assumes that |child| has already been parsed (i.
e., we're just |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 // "whenever a node would be inserted into the current node, it must instead | 317 // "whenever a node would be inserted into the current node, it must instead |
317 // be foster parented." This flag tracks whether we're in that state. | 318 // be foster parented." This flag tracks whether we're in that state. |
318 bool m_redirectAttachToFosterParent; | 319 bool m_redirectAttachToFosterParent; |
319 | 320 |
320 bool m_inQuirksMode; | 321 bool m_inQuirksMode; |
321 }; | 322 }; |
322 | 323 |
323 } // namespace blink | 324 } // namespace blink |
324 | 325 |
325 #endif | 326 #endif |
OLD | NEW |