| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef HTMLConstructionSite_h | 27 #ifndef HTMLConstructionSite_h |
| 28 #define HTMLConstructionSite_h | 28 #define HTMLConstructionSite_h |
| 29 | 29 |
| 30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
| 31 #include "core/dom/ParserContentPolicy.h" | 31 #include "core/dom/ParserContentPolicy.h" |
| 32 #include "core/html/parser/HTMLElementStack.h" | 32 #include "core/html/parser/HTMLElementStack.h" |
| 33 #include "core/html/parser/HTMLFormattingElementList.h" | 33 #include "core/html/parser/HTMLFormattingElementList.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "platform/wtf/Noncopyable.h" |
| 36 #include "wtf/Vector.h" | 36 #include "platform/wtf/Vector.h" |
| 37 #include "wtf/text/StringBuilder.h" | 37 #include "platform/wtf/text/StringBuilder.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 struct HTMLConstructionSiteTask { | 41 struct HTMLConstructionSiteTask { |
| 42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 43 | 43 |
| 44 public: | 44 public: |
| 45 enum Operation { | 45 enum Operation { |
| 46 kInsert, | 46 kInsert, |
| 47 kInsertText, // Handles possible merging of text nodes. | 47 kInsertText, // Handles possible merging of text nodes. |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // "whenever a node would be inserted into the current node, it must instead | 342 // "whenever a node would be inserted into the current node, it must instead |
| 343 // be foster parented." This flag tracks whether we're in that state. | 343 // be foster parented." This flag tracks whether we're in that state. |
| 344 bool redirect_attach_to_foster_parent_; | 344 bool redirect_attach_to_foster_parent_; |
| 345 | 345 |
| 346 bool in_quirks_mode_; | 346 bool in_quirks_mode_; |
| 347 }; | 347 }; |
| 348 | 348 |
| 349 } // namespace blink | 349 } // namespace blink |
| 350 | 350 |
| 351 #endif // HTMLConstructionSite_h | 351 #endif // HTMLConstructionSite_h |
| OLD | NEW |