| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #include "core/style/StyleRareNonInheritedData.h" | 22 #include "core/style/StyleRareNonInheritedData.h" |
| 23 | 23 |
| 24 #include "core/animation/css/CSSAnimationData.h" | 24 #include "core/animation/css/CSSAnimationData.h" |
| 25 #include "core/animation/css/CSSTransitionData.h" | 25 #include "core/animation/css/CSSTransitionData.h" |
| 26 #include "core/style/ComputedStyle.h" |
| 26 #include "core/style/ContentData.h" | 27 #include "core/style/ContentData.h" |
| 27 #include "core/style/DataEquivalency.h" | 28 #include "core/style/DataEquivalency.h" |
| 28 #include "core/style/ComputedStyle.h" | |
| 29 #include "core/style/ShadowList.h" | 29 #include "core/style/ShadowList.h" |
| 30 #include "core/style/StyleFilterData.h" | 30 #include "core/style/StyleFilterData.h" |
| 31 #include "core/style/StyleNonInheritedVariables.h" | 31 #include "core/style/StyleNonInheritedVariables.h" |
| 32 #include "core/style/StyleScrollSnapData.h" |
| 32 #include "core/style/StyleTransformData.h" | 33 #include "core/style/StyleTransformData.h" |
| 33 | 34 |
| 34 namespace blink { | 35 namespace blink { |
| 35 | 36 |
| 36 class SameSizeStyleRareNonInheritedData | 37 class SameSizeStyleRareNonInheritedData |
| 37 : public RefCounted<StyleRareNonInheritedData> { | 38 : public RefCounted<StyleRareNonInheritedData> { |
| 38 public: | 39 public: |
| 39 float floats[3]; | 40 float floats[3]; |
| 40 int integers; | 41 int integers; |
| 41 | 42 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 running_transform_animation_on_compositor_(false), | 118 running_transform_animation_on_compositor_(false), |
| 118 running_filter_animation_on_compositor_(false), | 119 running_filter_animation_on_compositor_(false), |
| 119 running_backdrop_filter_animation_on_compositor_(false), | 120 running_backdrop_filter_animation_on_compositor_(false), |
| 120 is_stacking_context_(false), | 121 is_stacking_context_(false), |
| 121 effective_blend_mode_(ComputedStyle::InitialBlendMode()), | 122 effective_blend_mode_(ComputedStyle::InitialBlendMode()), |
| 122 touch_action_(ComputedStyle::InitialTouchAction()), | 123 touch_action_(ComputedStyle::InitialTouchAction()), |
| 123 object_fit_(ComputedStyle::InitialObjectFit()), | 124 object_fit_(ComputedStyle::InitialObjectFit()), |
| 124 isolation_(ComputedStyle::InitialIsolation()), | 125 isolation_(ComputedStyle::InitialIsolation()), |
| 125 contain_(ComputedStyle::InitialContain()), | 126 contain_(ComputedStyle::InitialContain()), |
| 126 scroll_behavior_(ComputedStyle::InitialScrollBehavior()), | 127 scroll_behavior_(ComputedStyle::InitialScrollBehavior()), |
| 127 scroll_snap_type_(ComputedStyle::InitialScrollSnapType()), | |
| 128 requires_accelerated_compositing_for_external_reasons_(false), | 128 requires_accelerated_compositing_for_external_reasons_(false), |
| 129 has_inline_transform_(false), | 129 has_inline_transform_(false), |
| 130 resize_(ComputedStyle::InitialResize()), | 130 resize_(ComputedStyle::InitialResize()), |
| 131 has_compositor_proxy_(false), | 131 has_compositor_proxy_(false), |
| 132 has_author_background_(false), | 132 has_author_background_(false), |
| 133 has_author_border_(false) {} | 133 has_author_border_(false) {} |
| 134 | 134 |
| 135 StyleRareNonInheritedData::StyleRareNonInheritedData( | 135 StyleRareNonInheritedData::StyleRareNonInheritedData( |
| 136 const StyleRareNonInheritedData& o) | 136 const StyleRareNonInheritedData& o) |
| 137 : RefCounted<StyleRareNonInheritedData>(), | 137 : RefCounted<StyleRareNonInheritedData>(), |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 o.running_filter_animation_on_compositor_), | 210 o.running_filter_animation_on_compositor_), |
| 211 running_backdrop_filter_animation_on_compositor_( | 211 running_backdrop_filter_animation_on_compositor_( |
| 212 o.running_backdrop_filter_animation_on_compositor_), | 212 o.running_backdrop_filter_animation_on_compositor_), |
| 213 is_stacking_context_(o.is_stacking_context_), | 213 is_stacking_context_(o.is_stacking_context_), |
| 214 effective_blend_mode_(o.effective_blend_mode_), | 214 effective_blend_mode_(o.effective_blend_mode_), |
| 215 touch_action_(o.touch_action_), | 215 touch_action_(o.touch_action_), |
| 216 object_fit_(o.object_fit_), | 216 object_fit_(o.object_fit_), |
| 217 isolation_(o.isolation_), | 217 isolation_(o.isolation_), |
| 218 contain_(o.contain_), | 218 contain_(o.contain_), |
| 219 scroll_behavior_(o.scroll_behavior_), | 219 scroll_behavior_(o.scroll_behavior_), |
| 220 scroll_snap_type_(o.scroll_snap_type_), | |
| 221 requires_accelerated_compositing_for_external_reasons_( | 220 requires_accelerated_compositing_for_external_reasons_( |
| 222 o.requires_accelerated_compositing_for_external_reasons_), | 221 o.requires_accelerated_compositing_for_external_reasons_), |
| 223 has_inline_transform_(o.has_inline_transform_), | 222 has_inline_transform_(o.has_inline_transform_), |
| 224 resize_(o.resize_), | 223 resize_(o.resize_), |
| 225 has_compositor_proxy_(o.has_compositor_proxy_), | 224 has_compositor_proxy_(o.has_compositor_proxy_), |
| 226 has_author_background_(o.has_author_background_), | 225 has_author_background_(o.has_author_background_), |
| 227 has_author_border_(o.has_author_border_) {} | 226 has_author_border_(o.has_author_border_) {} |
| 228 | 227 |
| 229 StyleRareNonInheritedData::~StyleRareNonInheritedData() {} | 228 StyleRareNonInheritedData::~StyleRareNonInheritedData() {} |
| 230 | 229 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 has_current_transform_animation_ == | 283 has_current_transform_animation_ == |
| 285 o.has_current_transform_animation_ && | 284 o.has_current_transform_animation_ && |
| 286 has_current_filter_animation_ == o.has_current_filter_animation_ && | 285 has_current_filter_animation_ == o.has_current_filter_animation_ && |
| 287 has_current_backdrop_filter_animation_ == | 286 has_current_backdrop_filter_animation_ == |
| 288 o.has_current_backdrop_filter_animation_ && | 287 o.has_current_backdrop_filter_animation_ && |
| 289 is_stacking_context_ == o.is_stacking_context_ && | 288 is_stacking_context_ == o.is_stacking_context_ && |
| 290 effective_blend_mode_ == o.effective_blend_mode_ && | 289 effective_blend_mode_ == o.effective_blend_mode_ && |
| 291 touch_action_ == o.touch_action_ && object_fit_ == o.object_fit_ && | 290 touch_action_ == o.touch_action_ && object_fit_ == o.object_fit_ && |
| 292 isolation_ == o.isolation_ && contain_ == o.contain_ && | 291 isolation_ == o.isolation_ && contain_ == o.contain_ && |
| 293 scroll_behavior_ == o.scroll_behavior_ && | 292 scroll_behavior_ == o.scroll_behavior_ && |
| 294 scroll_snap_type_ == o.scroll_snap_type_ && | |
| 295 requires_accelerated_compositing_for_external_reasons_ == | 293 requires_accelerated_compositing_for_external_reasons_ == |
| 296 o.requires_accelerated_compositing_for_external_reasons_ && | 294 o.requires_accelerated_compositing_for_external_reasons_ && |
| 297 has_inline_transform_ == o.has_inline_transform_ && | 295 has_inline_transform_ == o.has_inline_transform_ && |
| 298 resize_ == o.resize_ && | 296 resize_ == o.resize_ && |
| 299 has_compositor_proxy_ == o.has_compositor_proxy_ && | 297 has_compositor_proxy_ == o.has_compositor_proxy_ && |
| 300 has_author_background_ == o.has_author_background_ && | 298 has_author_background_ == o.has_author_background_ && |
| 301 has_author_border_ == o.has_author_border_; | 299 has_author_border_ == o.has_author_border_; |
| 302 } | 300 } |
| 303 | 301 |
| 304 } // namespace blink | 302 } // namespace blink |
| OLD | NEW |