| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // Flush pending text if node has length limit. Flush queued tasks. | 99 // Flush pending text if node has length limit. Flush queued tasks. |
| 100 FlushIfAtTextLimit, | 100 FlushIfAtTextLimit, |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 class AtomicHTMLToken; | 103 class AtomicHTMLToken; |
| 104 class Document; | 104 class Document; |
| 105 class Element; | 105 class Element; |
| 106 class HTMLFormElement; | 106 class HTMLFormElement; |
| 107 | 107 |
| 108 class HTMLConstructionSite FINAL { | 108 class HTMLConstructionSite final { |
| 109 WTF_MAKE_NONCOPYABLE(HTMLConstructionSite); | 109 WTF_MAKE_NONCOPYABLE(HTMLConstructionSite); |
| 110 DISALLOW_ALLOCATION(); | 110 DISALLOW_ALLOCATION(); |
| 111 public: | 111 public: |
| 112 HTMLConstructionSite(Document*, ParserContentPolicy); | 112 HTMLConstructionSite(Document*, ParserContentPolicy); |
| 113 HTMLConstructionSite(DocumentFragment*, ParserContentPolicy); | 113 HTMLConstructionSite(DocumentFragment*, ParserContentPolicy); |
| 114 ~HTMLConstructionSite(); | 114 ~HTMLConstructionSite(); |
| 115 void trace(Visitor*); | 115 void trace(Visitor*); |
| 116 | 116 |
| 117 void detach(); | 117 void detach(); |
| 118 | 118 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // and a Document in all other cases. | 249 // and a Document in all other cases. |
| 250 RawPtrWillBeMember<ContainerNode> m_attachmentRoot; | 250 RawPtrWillBeMember<ContainerNode> m_attachmentRoot; |
| 251 | 251 |
| 252 RefPtrWillBeMember<HTMLStackItem> m_head; | 252 RefPtrWillBeMember<HTMLStackItem> m_head; |
| 253 RefPtrWillBeMember<HTMLFormElement> m_form; | 253 RefPtrWillBeMember<HTMLFormElement> m_form; |
| 254 mutable HTMLElementStack m_openElements; | 254 mutable HTMLElementStack m_openElements; |
| 255 mutable HTMLFormattingElementList m_activeFormattingElements; | 255 mutable HTMLFormattingElementList m_activeFormattingElements; |
| 256 | 256 |
| 257 TaskQueue m_taskQueue; | 257 TaskQueue m_taskQueue; |
| 258 | 258 |
| 259 class PendingText FINAL { | 259 class PendingText final { |
| 260 DISALLOW_ALLOCATION(); | 260 DISALLOW_ALLOCATION(); |
| 261 public: | 261 public: |
| 262 PendingText() | 262 PendingText() |
| 263 : whitespaceMode(WhitespaceUnknown) | 263 : whitespaceMode(WhitespaceUnknown) |
| 264 { | 264 { |
| 265 } | 265 } |
| 266 | 266 |
| 267 void append(PassRefPtrWillBeRawPtr<ContainerNode> newParent, PassRefPtrW
illBeRawPtr<Node> newNextChild, const String& newString, WhitespaceMode newWhite
spaceMode) | 267 void append(PassRefPtrWillBeRawPtr<ContainerNode> newParent, PassRefPtrW
illBeRawPtr<Node> newNextChild, const String& newString, WhitespaceMode newWhite
spaceMode) |
| 268 { | 268 { |
| 269 ASSERT(!parent || parent == newParent); | 269 ASSERT(!parent || parent == newParent); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 // "whenever a node would be inserted into the current node, it must instead | 315 // "whenever a node would be inserted into the current node, it must instead |
| 316 // be foster parented." This flag tracks whether we're in that state. | 316 // be foster parented." This flag tracks whether we're in that state. |
| 317 bool m_redirectAttachToFosterParent; | 317 bool m_redirectAttachToFosterParent; |
| 318 | 318 |
| 319 bool m_inQuirksMode; | 319 bool m_inQuirksMode; |
| 320 }; | 320 }; |
| 321 | 321 |
| 322 } // namespace blink | 322 } // namespace blink |
| 323 | 323 |
| 324 #endif | 324 #endif |
| OLD | NEW |