| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // tokens produce only one DOM mutation. | 227 // tokens produce only one DOM mutation. |
| 228 typedef HeapVector<HTMLConstructionSiteTask, 1> TaskQueue; | 228 typedef HeapVector<HTMLConstructionSiteTask, 1> TaskQueue; |
| 229 | 229 |
| 230 void setCompatibilityMode(Document::CompatibilityMode); | 230 void setCompatibilityMode(Document::CompatibilityMode); |
| 231 void setCompatibilityModeFromDoctype(const String& name, const String& publi
cId, const String& systemId); | 231 void setCompatibilityModeFromDoctype(const String& name, const String& publi
cId, const String& systemId); |
| 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 HTMLElement* createHTMLElement(AtomicHTMLToken*); | 238 HTMLElement* createHTMLElement(AtomicHTMLToken*); |
| 238 Element* createElement(AtomicHTMLToken*, const AtomicString& namespaceURI); | 239 Element* createElement(AtomicHTMLToken*, const AtomicString& namespaceURI); |
| 239 | 240 |
| 240 void mergeAttributesFromTokenIntoElement(AtomicHTMLToken*, Element*); | 241 void mergeAttributesFromTokenIntoElement(AtomicHTMLToken*, Element*); |
| 241 void dispatchDocumentElementAvailableIfNeeded(); | 242 void dispatchDocumentElementAvailableIfNeeded(); |
| 242 | 243 |
| 243 void executeTask(HTMLConstructionSiteTask&); | 244 void executeTask(HTMLConstructionSiteTask&); |
| 244 void queueTask(const HTMLConstructionSiteTask&); | 245 void queueTask(const HTMLConstructionSiteTask&); |
| 245 | 246 |
| 246 Member<Document> m_document; | 247 Member<Document> m_document; |
| (...skipping 69 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 |