| 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 10 matching lines...) Expand all Loading... |
| 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef HTMLElementStack_h | 27 #ifndef HTMLElementStack_h |
| 28 #define HTMLElementStack_h | 28 #define HTMLElementStack_h |
| 29 | 29 |
| 30 #include "core/html/parser/HTMLStackItem.h" | 30 #include "core/html/parser/HTMLStackItem.h" |
| 31 #include "wtf/Forward.h" | 31 #include "platform/wtf/Forward.h" |
| 32 #include "wtf/Noncopyable.h" | 32 #include "platform/wtf/Noncopyable.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "platform/wtf/RefPtr.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class ContainerNode; | 37 class ContainerNode; |
| 38 class Element; | 38 class Element; |
| 39 class QualifiedName; | 39 class QualifiedName; |
| 40 | 40 |
| 41 // NOTE: The HTML5 spec uses a backwards (grows downward) stack. We're using | 41 // NOTE: The HTML5 spec uses a backwards (grows downward) stack. We're using |
| 42 // more standard (grows upwards) stack terminology here. | 42 // more standard (grows upwards) stack terminology here. |
| 43 class HTMLElementStack { | 43 class HTMLElementStack { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 Member<Element> head_element_; | 189 Member<Element> head_element_; |
| 190 Member<Element> body_element_; | 190 Member<Element> body_element_; |
| 191 unsigned stack_depth_; | 191 unsigned stack_depth_; |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord); | 194 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord); |
| 195 | 195 |
| 196 } // namespace blink | 196 } // namespace blink |
| 197 | 197 |
| 198 #endif // HTMLElementStack_h | 198 #endif // HTMLElementStack_h |
| OLD | NEW |