OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 10 matching lines...) Expand all Loading... |
21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #ifndef StyleRareNonInheritedData_h | 25 #ifndef StyleRareNonInheritedData_h |
26 #define StyleRareNonInheritedData_h | 26 #define StyleRareNonInheritedData_h |
27 | 27 |
28 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
29 #include "core/css/StyleColor.h" | 29 #include "core/css/StyleColor.h" |
30 #include "core/layout/ClipPathOperation.h" | 30 #include "core/layout/ClipPathOperation.h" |
| 31 #include "core/style/ComputedStyleConstants.h" |
31 #include "core/style/CounterDirectives.h" | 32 #include "core/style/CounterDirectives.h" |
32 #include "core/style/DataPersistent.h" | 33 #include "core/style/DataPersistent.h" |
33 #include "core/style/DataRef.h" | 34 #include "core/style/DataRef.h" |
34 #include "core/style/FillLayer.h" | 35 #include "core/style/FillLayer.h" |
35 #include "core/style/ComputedStyleConstants.h" | |
36 #include "core/style/LineClampValue.h" | 36 #include "core/style/LineClampValue.h" |
37 #include "core/style/NinePieceImage.h" | 37 #include "core/style/NinePieceImage.h" |
38 #include "core/style/ShapeValue.h" | 38 #include "core/style/ShapeValue.h" |
39 #include "core/style/StyleContentAlignmentData.h" | 39 #include "core/style/StyleContentAlignmentData.h" |
40 #include "core/style/StyleScrollSnapData.h" | 40 #include "core/style/StyleScrollSnapData.h" |
41 #include "core/style/StyleSelfAlignmentData.h" | 41 #include "core/style/StyleSelfAlignmentData.h" |
42 #include "platform/LengthPoint.h" | 42 #include "platform/LengthPoint.h" |
43 #include "wtf/OwnPtr.h" | |
44 #include "wtf/PassRefPtr.h" | 43 #include "wtf/PassRefPtr.h" |
45 #include "wtf/RefCounted.h" | 44 #include "wtf/RefCounted.h" |
46 #include "wtf/Vector.h" | 45 #include "wtf/Vector.h" |
| 46 #include <memory> |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 class ContentData; | 50 class ContentData; |
51 class CSSAnimationData; | 51 class CSSAnimationData; |
52 class CSSTransitionData; | 52 class CSSTransitionData; |
53 class LengthSize; | 53 class LengthSize; |
54 class ShadowList; | 54 class ShadowList; |
55 class StyleDeprecatedFlexibleBoxData; | 55 class StyleDeprecatedFlexibleBoxData; |
56 class StyleFilterData; | 56 class StyleFilterData; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change | 116 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change |
117 | 117 |
118 DataPersistent<StyleFilterData> m_filter; // Filter operations (url, sepia,
blur, etc.) | 118 DataPersistent<StyleFilterData> m_filter; // Filter operations (url, sepia,
blur, etc.) |
119 DataPersistent<StyleFilterData> m_backdropFilter; // Backdrop filter operati
ons (url, sepia, blur, etc.) | 119 DataPersistent<StyleFilterData> m_backdropFilter; // Backdrop filter operati
ons (url, sepia, blur, etc.) |
120 | 120 |
121 DataRef<StyleGridData> m_grid; | 121 DataRef<StyleGridData> m_grid; |
122 DataRef<StyleGridItemData> m_gridItem; | 122 DataRef<StyleGridItemData> m_gridItem; |
123 DataRef<StyleScrollSnapData> m_scrollSnap; | 123 DataRef<StyleScrollSnapData> m_scrollSnap; |
124 | 124 |
125 Persistent<ContentData> m_content; | 125 Persistent<ContentData> m_content; |
126 OwnPtr<CounterDirectiveMap> m_counterDirectives; | 126 std::unique_ptr<CounterDirectiveMap> m_counterDirectives; |
127 OwnPtr<CSSAnimationData> m_animations; | 127 std::unique_ptr<CSSAnimationData> m_animations; |
128 OwnPtr<CSSTransitionData> m_transitions; | 128 std::unique_ptr<CSSTransitionData> m_transitions; |
129 | 129 |
130 RefPtr<ShadowList> m_boxShadow; | 130 RefPtr<ShadowList> m_boxShadow; |
131 | 131 |
132 RefPtr<StyleReflection> m_boxReflect; | 132 RefPtr<StyleReflection> m_boxReflect; |
133 | 133 |
134 Persistent<ShapeValue> m_shapeOutside; | 134 Persistent<ShapeValue> m_shapeOutside; |
135 RefPtr<ClipPathOperation> m_clipPath; | 135 RefPtr<ClipPathOperation> m_clipPath; |
136 | 136 |
137 FillLayer m_mask; | 137 FillLayer m_mask; |
138 NinePieceImage m_maskBoxImage; | 138 NinePieceImage m_maskBoxImage; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. | 215 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. |
216 | 216 |
217 private: | 217 private: |
218 StyleRareNonInheritedData(); | 218 StyleRareNonInheritedData(); |
219 StyleRareNonInheritedData(const StyleRareNonInheritedData&); | 219 StyleRareNonInheritedData(const StyleRareNonInheritedData&); |
220 }; | 220 }; |
221 | 221 |
222 } // namespace blink | 222 } // namespace blink |
223 | 223 |
224 #endif // StyleRareNonInheritedData_h | 224 #endif // StyleRareNonInheritedData_h |
OLD | NEW |