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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 PassRefPtr<StyleRareNonInheritedData> Copy() const { | 79 PassRefPtr<StyleRareNonInheritedData> Copy() const { |
80 return AdoptRef(new StyleRareNonInheritedData(*this)); | 80 return AdoptRef(new StyleRareNonInheritedData(*this)); |
81 } | 81 } |
82 ~StyleRareNonInheritedData(); | 82 ~StyleRareNonInheritedData(); |
83 | 83 |
84 bool operator==(const StyleRareNonInheritedData&) const; | 84 bool operator==(const StyleRareNonInheritedData&) const; |
85 bool operator!=(const StyleRareNonInheritedData& o) const { | 85 bool operator!=(const StyleRareNonInheritedData& o) const { |
86 return !(*this == o); | 86 return !(*this == o); |
87 } | 87 } |
88 | 88 |
89 float opacity; // Whether or not we're transparent. | 89 float opacity_; // Whether or not we're transparent. |
90 | 90 |
91 float perspective_; | 91 float perspective_; |
92 float shape_image_threshold_; | 92 float shape_image_threshold_; |
93 | 93 |
94 int order_; | 94 int order_; |
95 | 95 |
96 LengthPoint perspective_origin_; | 96 LengthPoint perspective_origin_; |
97 LengthPoint object_position_; | 97 LengthPoint object_position_; |
98 | 98 |
99 LineClampValue line_clamp; // An Apple extension. | 99 LineClampValue line_clamp_; // An Apple extension. |
100 unsigned draggable_region_mode_ : 2; // DraggableRegionMode | 100 unsigned draggable_region_mode_ : 2; // DraggableRegionMode |
101 | 101 |
102 DataRef<StyleDeprecatedFlexibleBoxData> | 102 DataRef<StyleDeprecatedFlexibleBoxData> |
103 deprecated_flexible_box_; // Flexible box properties | 103 deprecated_flexible_box_; // Flexible box properties |
104 DataRef<StyleFlexibleBoxData> flexible_box_; | 104 DataRef<StyleFlexibleBoxData> flexible_box_; |
105 DataRef<StyleMultiColData> multi_col_; // CSS3 multicol properties | 105 DataRef<StyleMultiColData> multi_col_; // CSS3 multicol properties |
106 DataRef<StyleTransformData> | 106 DataRef<StyleTransformData> |
107 transform_; // Transform properties (rotate, scale, skew, etc.) | 107 transform_; // Transform properties (rotate, scale, skew, etc.) |
108 DataRef<StyleWillChangeData> will_change_; // CSS Will Change | 108 DataRef<StyleWillChangeData> will_change_; // CSS Will Change |
109 | 109 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 std::unique_ptr<StyleNonInheritedVariables> variables_; | 152 std::unique_ptr<StyleNonInheritedVariables> variables_; |
153 | 153 |
154 StyleContentAlignmentData align_content_; | 154 StyleContentAlignmentData align_content_; |
155 StyleSelfAlignmentData align_items_; | 155 StyleSelfAlignmentData align_items_; |
156 StyleSelfAlignmentData align_self_; | 156 StyleSelfAlignmentData align_self_; |
157 StyleContentAlignmentData justify_content_; | 157 StyleContentAlignmentData justify_content_; |
158 StyleSelfAlignmentData justify_items_; | 158 StyleSelfAlignmentData justify_items_; |
159 StyleSelfAlignmentData justify_self_; | 159 StyleSelfAlignmentData justify_self_; |
160 | 160 |
161 unsigned page_size_type_ : 2; // PageSizeType | 161 unsigned page_size_type_ : 2; // PageSizeType |
162 unsigned transform_style3d_ : 1; // ETransformStyle3D | 162 unsigned transform_style_3d_ : 1; // ETransformStyle3D |
163 unsigned backface_visibility_ : 1; // EBackfaceVisibility | 163 unsigned backface_visibility_ : 1; // EBackfaceVisibility |
164 | 164 |
165 unsigned user_drag : 2; // EUserDrag | 165 unsigned user_drag_ : 2; // EUserDrag |
166 unsigned text_overflow : 1; // Whether or not lines that spill out should be | 166 unsigned text_overflow_ : 1; // Whether or not lines that spill out should be |
167 // truncated with "..." | 167 // truncated with "..." |
168 unsigned margin_before_collapse : 2; // EMarginCollapse | 168 unsigned margin_before_collapse_ : 2; // EMarginCollapse |
169 unsigned margin_after_collapse : 2; // EMarginCollapse | 169 unsigned margin_after_collapse_ : 2; // EMarginCollapse |
170 unsigned appearance_ : 6; // EAppearance | 170 unsigned appearance_ : 6; // EAppearance |
171 | 171 |
172 unsigned text_decoration_style_ : 3; // TextDecorationStyle | 172 unsigned text_decoration_style_ : 3; // TextDecorationStyle |
173 | 173 |
174 unsigned has_current_opacity_animation_ : 1; | 174 unsigned has_current_opacity_animation_ : 1; |
175 unsigned has_current_transform_animation_ : 1; | 175 unsigned has_current_transform_animation_ : 1; |
176 unsigned has_current_filter_animation_ : 1; | 176 unsigned has_current_filter_animation_ : 1; |
177 unsigned has_current_backdrop_filter_animation_ : 1; | 177 unsigned has_current_backdrop_filter_animation_ : 1; |
178 unsigned running_opacity_animation_on_compositor_ : 1; | 178 unsigned running_opacity_animation_on_compositor_ : 1; |
179 unsigned running_transform_animation_on_compositor_ : 1; | 179 unsigned running_transform_animation_on_compositor_ : 1; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 unsigned has_author_border_ : 1; // Whether there is a author-defined border. | 218 unsigned has_author_border_ : 1; // Whether there is a author-defined border. |
219 | 219 |
220 private: | 220 private: |
221 StyleRareNonInheritedData(); | 221 StyleRareNonInheritedData(); |
222 StyleRareNonInheritedData(const StyleRareNonInheritedData&); | 222 StyleRareNonInheritedData(const StyleRareNonInheritedData&); |
223 }; | 223 }; |
224 | 224 |
225 } // namespace blink | 225 } // namespace blink |
226 | 226 |
227 #endif // StyleRareNonInheritedData_h | 227 #endif // StyleRareNonInheritedData_h |
OLD | NEW |