| 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 12 matching lines...) Expand all Loading... |
| 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 "wtf/Forward.h" |
| 32 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
| 33 #include "wtf/OwnPtr.h" | |
| 34 #include "wtf/PassOwnPtr.h" | |
| 35 #include "wtf/RefPtr.h" | 33 #include "wtf/RefPtr.h" |
| 36 | 34 |
| 37 namespace blink { | 35 namespace blink { |
| 38 | 36 |
| 39 class ContainerNode; | 37 class ContainerNode; |
| 40 class Element; | 38 class Element; |
| 41 class QualifiedName; | 39 class QualifiedName; |
| 42 | 40 |
| 43 // 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 |
| 44 // more standard (grows upwards) stack terminology here. | 42 // more standard (grows upwards) stack terminology here. |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 Member<Element> m_headElement; | 180 Member<Element> m_headElement; |
| 183 Member<Element> m_bodyElement; | 181 Member<Element> m_bodyElement; |
| 184 unsigned m_stackDepth; | 182 unsigned m_stackDepth; |
| 185 }; | 183 }; |
| 186 | 184 |
| 187 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord); | 185 WILL_NOT_BE_EAGERLY_TRACED_CLASS(HTMLElementStack::ElementRecord); |
| 188 | 186 |
| 189 } // namespace blink | 187 } // namespace blink |
| 190 | 188 |
| 191 #endif // HTMLElementStack_h | 189 #endif // HTMLElementStack_h |
| OLD | NEW |