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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 void attachLater(ContainerNode* parent, Node* child, bool selfClosing = fals
e); | 233 void attachLater(ContainerNode* parent, Node* child, bool selfClosing = fals
e); |
234 | 234 |
235 void findFosterSite(HTMLConstructionSiteTask&); | 235 void findFosterSite(HTMLConstructionSiteTask&); |
236 | 236 |
237 CreateElementFlags getCreateElementFlags() const; | 237 CreateElementFlags getCreateElementFlags() const; |
238 HTMLElement* createHTMLElement(AtomicHTMLToken*); | 238 HTMLElement* createHTMLElement(AtomicHTMLToken*); |
239 Element* createElement(AtomicHTMLToken*, const AtomicString& namespaceURI); | 239 Element* createElement(AtomicHTMLToken*, const AtomicString& namespaceURI); |
240 | 240 |
241 void mergeAttributesFromTokenIntoElement(AtomicHTMLToken*, Element*); | 241 void mergeAttributesFromTokenIntoElement(AtomicHTMLToken*, Element*); |
242 void dispatchDocumentElementAvailableIfNeeded(); | |
243 | 242 |
244 void executeTask(HTMLConstructionSiteTask&); | 243 void executeTask(HTMLConstructionSiteTask&); |
245 void queueTask(const HTMLConstructionSiteTask&); | 244 void queueTask(const HTMLConstructionSiteTask&); |
246 | 245 |
247 Member<Document> m_document; | 246 Member<Document> m_document; |
248 | 247 |
249 // This is the root ContainerNode to which the parser attaches all newly | 248 // This is the root ContainerNode to which the parser attaches all newly |
250 // constructed nodes. It points to a DocumentFragment when parsing fragments | 249 // constructed nodes. It points to a DocumentFragment when parsing fragments |
251 // and a Document in all other cases. | 250 // and a Document in all other cases. |
252 Member<ContainerNode> m_attachmentRoot; | 251 Member<ContainerNode> m_attachmentRoot; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // "whenever a node would be inserted into the current node, it must instead | 316 // "whenever a node would be inserted into the current node, it must instead |
318 // be foster parented." This flag tracks whether we're in that state. | 317 // be foster parented." This flag tracks whether we're in that state. |
319 bool m_redirectAttachToFosterParent; | 318 bool m_redirectAttachToFosterParent; |
320 | 319 |
321 bool m_inQuirksMode; | 320 bool m_inQuirksMode; |
322 }; | 321 }; |
323 | 322 |
324 } // namespace blink | 323 } // namespace blink |
325 | 324 |
326 #endif | 325 #endif |
OLD | NEW |