| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "core/dom/NodeIntersectionObserverData.h" | 31 #include "core/dom/NodeIntersectionObserverData.h" |
| 32 #include "core/dom/NodeRareData.h" | 32 #include "core/dom/NodeRareData.h" |
| 33 #include "core/dom/PseudoElement.h" | 33 #include "core/dom/PseudoElement.h" |
| 34 #include "core/dom/PseudoElementData.h" | 34 #include "core/dom/PseudoElementData.h" |
| 35 #include "core/dom/custom/V0CustomElementDefinition.h" | 35 #include "core/dom/custom/V0CustomElementDefinition.h" |
| 36 #include "core/dom/shadow/ElementShadow.h" | 36 #include "core/dom/shadow/ElementShadow.h" |
| 37 #include "core/html/ClassList.h" | 37 #include "core/html/ClassList.h" |
| 38 #include "core/style/StyleInheritedData.h" | 38 #include "core/style/StyleInheritedData.h" |
| 39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
| 40 #include "wtf/HashSet.h" | 40 #include "wtf/HashSet.h" |
| 41 #include <memory> | 41 #include "wtf/OwnPtr.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class HTMLElement; | 45 class HTMLElement; |
| 46 class CompositorProxiedPropertySet; | 46 class CompositorProxiedPropertySet; |
| 47 | 47 |
| 48 class ElementRareData : public NodeRareData { | 48 class ElementRareData : public NodeRareData { |
| 49 public: | 49 public: |
| 50 static ElementRareData* create(LayoutObject* layoutObject) | 50 static ElementRareData* create(LayoutObject* layoutObject) |
| 51 { | 51 { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 LayoutSize m_minimumSizeForResizing; | 151 LayoutSize m_minimumSizeForResizing; |
| 152 IntSize m_savedLayerScrollOffset; | 152 IntSize m_savedLayerScrollOffset; |
| 153 | 153 |
| 154 Member<DatasetDOMStringMap> m_dataset; | 154 Member<DatasetDOMStringMap> m_dataset; |
| 155 Member<ElementShadow> m_shadow; | 155 Member<ElementShadow> m_shadow; |
| 156 Member<ClassList> m_classList; | 156 Member<ClassList> m_classList; |
| 157 Member<NamedNodeMap> m_attributeMap; | 157 Member<NamedNodeMap> m_attributeMap; |
| 158 Member<AttrNodeList> m_attrNodeList; | 158 Member<AttrNodeList> m_attrNodeList; |
| 159 Member<InlineCSSStyleDeclaration> m_cssomWrapper; | 159 Member<InlineCSSStyleDeclaration> m_cssomWrapper; |
| 160 Member<InlineStylePropertyMap> m_cssomMapWrapper; | 160 Member<InlineStylePropertyMap> m_cssomMapWrapper; |
| 161 std::unique_ptr<CompositorProxiedPropertySet> m_proxiedProperties; | 161 OwnPtr<CompositorProxiedPropertySet> m_proxiedProperties; |
| 162 | 162 |
| 163 Member<ElementAnimations> m_elementAnimations; | 163 Member<ElementAnimations> m_elementAnimations; |
| 164 Member<NodeIntersectionObserverData> m_intersectionObserverData; | 164 Member<NodeIntersectionObserverData> m_intersectionObserverData; |
| 165 | 165 |
| 166 RefPtr<ComputedStyle> m_computedStyle; | 166 RefPtr<ComputedStyle> m_computedStyle; |
| 167 Member<V0CustomElementDefinition> m_customElementDefinition; | 167 Member<V0CustomElementDefinition> m_customElementDefinition; |
| 168 | 168 |
| 169 Member<PseudoElementData> m_pseudoElementData; | 169 Member<PseudoElementData> m_pseudoElementData; |
| 170 | 170 |
| 171 explicit ElementRareData(LayoutObject*); | 171 explicit ElementRareData(LayoutObject*); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 inline CompositorProxiedPropertySet& ElementRareData::ensureCompositorProxiedPro
pertySet() | 232 inline CompositorProxiedPropertySet& ElementRareData::ensureCompositorProxiedPro
pertySet() |
| 233 { | 233 { |
| 234 if (!m_proxiedProperties) | 234 if (!m_proxiedProperties) |
| 235 m_proxiedProperties = CompositorProxiedPropertySet::create(); | 235 m_proxiedProperties = CompositorProxiedPropertySet::create(); |
| 236 return *m_proxiedProperties; | 236 return *m_proxiedProperties; |
| 237 } | 237 } |
| 238 | 238 |
| 239 } // namespace blink | 239 } // namespace blink |
| 240 | 240 |
| 241 #endif // ElementRareData_h | 241 #endif // ElementRareData_h |
| OLD | NEW |