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 27 matching lines...) Expand all Loading... |
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" | 40 #include "core/layout/LayoutObject.h" |
41 #include "core/style/StyleInheritedData.h" | 41 #include "core/style/StyleInheritedData.h" |
42 #include "platform/heap/Handle.h" | 42 #include "platform/heap/Handle.h" |
43 #include "wtf/HashSet.h" | 43 #include "wtf/HashSet.h" |
44 #include <memory> | 44 #include <memory> |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class HTMLElement; | |
49 class CompositorProxiedPropertySet; | 48 class CompositorProxiedPropertySet; |
50 class ResizeObservation; | 49 class ResizeObservation; |
51 class ResizeObserver; | 50 class ResizeObserver; |
52 | 51 |
53 class ElementRareData : public NodeRareData { | 52 class ElementRareData : public NodeRareData { |
54 public: | 53 public: |
55 static ElementRareData* create(LayoutObject* layoutObject) { | 54 static ElementRareData* create(LayoutObject* layoutObject) { |
56 return new ElementRareData(layoutObject); | 55 return new ElementRareData(layoutObject); |
57 } | 56 } |
58 | 57 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 inline CompositorProxiedPropertySet& | 275 inline CompositorProxiedPropertySet& |
277 ElementRareData::ensureCompositorProxiedPropertySet() { | 276 ElementRareData::ensureCompositorProxiedPropertySet() { |
278 if (!m_proxiedProperties) | 277 if (!m_proxiedProperties) |
279 m_proxiedProperties = CompositorProxiedPropertySet::create(); | 278 m_proxiedProperties = CompositorProxiedPropertySet::create(); |
280 return *m_proxiedProperties; | 279 return *m_proxiedProperties; |
281 } | 280 } |
282 | 281 |
283 } // namespace blink | 282 } // namespace blink |
284 | 283 |
285 #endif // ElementRareData_h | 284 #endif // ElementRareData_h |
OLD | NEW |