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 19 matching lines...) Expand all Loading... |
30 #include "core/dom/DatasetDOMStringMap.h" | 30 #include "core/dom/DatasetDOMStringMap.h" |
31 #include "core/dom/NamedNodeMap.h" | 31 #include "core/dom/NamedNodeMap.h" |
32 #include "core/dom/NodeIntersectionObserverData.h" | 32 #include "core/dom/NodeIntersectionObserverData.h" |
33 #include "core/dom/NodeRareData.h" | 33 #include "core/dom/NodeRareData.h" |
34 #include "core/dom/PseudoElement.h" | 34 #include "core/dom/PseudoElement.h" |
35 #include "core/dom/PseudoElementData.h" | 35 #include "core/dom/PseudoElementData.h" |
36 #include "core/dom/custom/CustomElementDefinition.h" | 36 #include "core/dom/custom/CustomElementDefinition.h" |
37 #include "core/dom/custom/V0CustomElementDefinition.h" | 37 #include "core/dom/custom/V0CustomElementDefinition.h" |
38 #include "core/dom/shadow/ElementShadow.h" | 38 #include "core/dom/shadow/ElementShadow.h" |
39 #include "core/html/ClassList.h" | 39 #include "core/html/ClassList.h" |
40 #include "core/layout/LayoutObject.h" | |
41 #include "core/style/StyleInheritedData.h" | |
42 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
43 #include "wtf/HashSet.h" | 41 #include "wtf/HashSet.h" |
44 #include <memory> | 42 #include <memory> |
45 | 43 |
46 namespace blink { | 44 namespace blink { |
47 | 45 |
| 46 class LayoutObject; |
48 class CompositorProxiedPropertySet; | 47 class CompositorProxiedPropertySet; |
49 class ResizeObservation; | 48 class ResizeObservation; |
50 class ResizeObserver; | 49 class ResizeObserver; |
51 | 50 |
52 class ElementRareData : public NodeRareData { | 51 class ElementRareData : public NodeRareData { |
53 public: | 52 public: |
54 static ElementRareData* create(LayoutObject* layoutObject) { | 53 static ElementRareData* create(LayoutObject* layoutObject) { |
55 return new ElementRareData(layoutObject); | 54 return new ElementRareData(layoutObject); |
56 } | 55 } |
57 | 56 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 inline CompositorProxiedPropertySet& | 274 inline CompositorProxiedPropertySet& |
276 ElementRareData::ensureCompositorProxiedPropertySet() { | 275 ElementRareData::ensureCompositorProxiedPropertySet() { |
277 if (!m_proxiedProperties) | 276 if (!m_proxiedProperties) |
278 m_proxiedProperties = CompositorProxiedPropertySet::create(); | 277 m_proxiedProperties = CompositorProxiedPropertySet::create(); |
279 return *m_proxiedProperties; | 278 return *m_proxiedProperties; |
280 } | 279 } |
281 | 280 |
282 } // namespace blink | 281 } // namespace blink |
283 | 282 |
284 #endif // ElementRareData_h | 283 #endif // ElementRareData_h |
OLD | NEW |