| 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, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 , m_wrapFlow(RenderStyle::initialWrapFlow()) | 58 , m_wrapFlow(RenderStyle::initialWrapFlow()) |
| 59 , m_wrapThrough(RenderStyle::initialWrapThrough()) | 59 , m_wrapThrough(RenderStyle::initialWrapThrough()) |
| 60 , m_hasAspectRatio(false) | 60 , m_hasAspectRatio(false) |
| 61 , m_touchAction(RenderStyle::initialTouchAction()) | 61 , m_touchAction(RenderStyle::initialTouchAction()) |
| 62 , m_objectFit(RenderStyle::initialObjectFit()) | 62 , m_objectFit(RenderStyle::initialObjectFit()) |
| 63 , m_justifyItems(RenderStyle::initialJustifyItems()) | 63 , m_justifyItems(RenderStyle::initialJustifyItems()) |
| 64 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl
ignment()) | 64 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl
ignment()) |
| 65 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType()) | 65 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType()) |
| 66 , m_justifySelf(RenderStyle::initialJustifySelf()) | 66 , m_justifySelf(RenderStyle::initialJustifySelf()) |
| 67 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig
nment()) | 67 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig
nment()) |
| 68 , m_scrollBehavior(RenderStyle::initialScrollBehavior()) | |
| 69 , m_requiresAcceleratedCompositingForExternalReasons(false) | 68 , m_requiresAcceleratedCompositingForExternalReasons(false) |
| 70 { | 69 { |
| 71 m_maskBoxImage.setMaskDefaults(); | 70 m_maskBoxImage.setMaskDefaults(); |
| 72 } | 71 } |
| 73 | 72 |
| 74 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
Data& o) | 73 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
Data& o) |
| 75 : RefCounted<StyleRareNonInheritedData>() | 74 : RefCounted<StyleRareNonInheritedData>() |
| 76 , opacity(o.opacity) | 75 , opacity(o.opacity) |
| 77 , m_aspectRatioDenominator(o.m_aspectRatioDenominator) | 76 , m_aspectRatioDenominator(o.m_aspectRatioDenominator) |
| 78 , m_aspectRatioNumerator(o.m_aspectRatioNumerator) | 77 , m_aspectRatioNumerator(o.m_aspectRatioNumerator) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 109 , m_wrapFlow(o.m_wrapFlow) | 108 , m_wrapFlow(o.m_wrapFlow) |
| 110 , m_wrapThrough(o.m_wrapThrough) | 109 , m_wrapThrough(o.m_wrapThrough) |
| 111 , m_hasAspectRatio(o.m_hasAspectRatio) | 110 , m_hasAspectRatio(o.m_hasAspectRatio) |
| 112 , m_touchAction(o.m_touchAction) | 111 , m_touchAction(o.m_touchAction) |
| 113 , m_objectFit(o.m_objectFit) | 112 , m_objectFit(o.m_objectFit) |
| 114 , m_justifyItems(o.m_justifyItems) | 113 , m_justifyItems(o.m_justifyItems) |
| 115 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment) | 114 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment) |
| 116 , m_justifyItemsPositionType(o.m_justifyItemsPositionType) | 115 , m_justifyItemsPositionType(o.m_justifyItemsPositionType) |
| 117 , m_justifySelf(o.m_justifySelf) | 116 , m_justifySelf(o.m_justifySelf) |
| 118 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) | 117 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) |
| 119 , m_scrollBehavior(o.m_scrollBehavior) | |
| 120 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated
CompositingForExternalReasons) | 118 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated
CompositingForExternalReasons) |
| 121 { | 119 { |
| 122 } | 120 } |
| 123 | 121 |
| 124 StyleRareNonInheritedData::~StyleRareNonInheritedData() | 122 StyleRareNonInheritedData::~StyleRareNonInheritedData() |
| 125 { | 123 { |
| 126 } | 124 } |
| 127 | 125 |
| 128 bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
onst | 126 bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
onst |
| 129 { | 127 { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 && m_wrapFlow == o.m_wrapFlow | 161 && m_wrapFlow == o.m_wrapFlow |
| 164 && m_wrapThrough == o.m_wrapThrough | 162 && m_wrapThrough == o.m_wrapThrough |
| 165 && m_hasAspectRatio == o.m_hasAspectRatio | 163 && m_hasAspectRatio == o.m_hasAspectRatio |
| 166 && m_touchAction == o.m_touchAction | 164 && m_touchAction == o.m_touchAction |
| 167 && m_objectFit == o.m_objectFit | 165 && m_objectFit == o.m_objectFit |
| 168 && m_justifyItems == o.m_justifyItems | 166 && m_justifyItems == o.m_justifyItems |
| 169 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment | 167 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment |
| 170 && m_justifyItemsPositionType == o.m_justifyItemsPositionType | 168 && m_justifyItemsPositionType == o.m_justifyItemsPositionType |
| 171 && m_justifySelf == o.m_justifySelf | 169 && m_justifySelf == o.m_justifySelf |
| 172 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment | 170 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment |
| 173 && m_scrollBehavior == o.m_scrollBehavior | |
| 174 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc
eleratedCompositingForExternalReasons; | 171 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc
eleratedCompositingForExternalReasons; |
| 175 } | 172 } |
| 176 | 173 |
| 177 bool StyleRareNonInheritedData::counterDataEquivalent(const StyleRareNonInherite
dData& o) const | 174 bool StyleRareNonInheritedData::counterDataEquivalent(const StyleRareNonInherite
dData& o) const |
| 178 { | 175 { |
| 179 return dataEquivalent(m_counterDirectives, o.m_counterDirectives); | 176 return dataEquivalent(m_counterDirectives, o.m_counterDirectives); |
| 180 } | 177 } |
| 181 | 178 |
| 182 bool StyleRareNonInheritedData::shadowDataEquivalent(const StyleRareNonInherited
Data& o) const | 179 bool StyleRareNonInheritedData::shadowDataEquivalent(const StyleRareNonInherited
Data& o) const |
| 183 { | 180 { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 201 return false; | 198 return false; |
| 202 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); | 199 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); |
| 203 } | 200 } |
| 204 | 201 |
| 205 bool StyleRareNonInheritedData::hasFilters() const | 202 bool StyleRareNonInheritedData::hasFilters() const |
| 206 { | 203 { |
| 207 return m_filter.get() && !m_filter->m_operations.isEmpty(); | 204 return m_filter.get() && !m_filter->m_operations.isEmpty(); |
| 208 } | 205 } |
| 209 | 206 |
| 210 } // namespace blink | 207 } // namespace blink |
| OLD | NEW |