| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sky/engine/config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "sky/engine/core/animation/css/CSSPropertyEquality.h" | 6 #include "sky/engine/core/animation/css/CSSPropertyEquality.h" |
| 7 | 7 |
| 8 #include "sky/engine/core/animation/css/CSSAnimations.h" | 8 #include "sky/engine/core/animation/css/CSSAnimations.h" |
| 9 #include "sky/engine/core/rendering/style/DataEquivalency.h" | 9 #include "sky/engine/core/rendering/style/DataEquivalency.h" |
| 10 #include "sky/engine/core/rendering/style/RenderStyle.h" | 10 #include "sky/engine/core/rendering/style/RenderStyle.h" |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 case CSSPropertyMaxWidth: | 147 case CSSPropertyMaxWidth: |
| 148 return a.maxWidth() == b.maxWidth(); | 148 return a.maxWidth() == b.maxWidth(); |
| 149 case CSSPropertyMinHeight: | 149 case CSSPropertyMinHeight: |
| 150 return a.minHeight() == b.minHeight(); | 150 return a.minHeight() == b.minHeight(); |
| 151 case CSSPropertyMinWidth: | 151 case CSSPropertyMinWidth: |
| 152 return a.minWidth() == b.minWidth(); | 152 return a.minWidth() == b.minWidth(); |
| 153 case CSSPropertyObjectPosition: | 153 case CSSPropertyObjectPosition: |
| 154 return a.objectPosition() == b.objectPosition(); | 154 return a.objectPosition() == b.objectPosition(); |
| 155 case CSSPropertyOpacity: | 155 case CSSPropertyOpacity: |
| 156 return a.opacity() == b.opacity(); | 156 return a.opacity() == b.opacity(); |
| 157 case CSSPropertyOrphans: | |
| 158 return a.orphans() == b.orphans(); | |
| 159 case CSSPropertyOutlineColor: | 157 case CSSPropertyOutlineColor: |
| 160 return a.outlineColor().resolve(a.color()) == b.outlineColor().resolve(b
.color()); | 158 return a.outlineColor().resolve(a.color()) == b.outlineColor().resolve(b
.color()); |
| 161 case CSSPropertyOutlineOffset: | 159 case CSSPropertyOutlineOffset: |
| 162 return a.outlineOffset() == b.outlineOffset(); | 160 return a.outlineOffset() == b.outlineOffset(); |
| 163 case CSSPropertyOutlineWidth: | 161 case CSSPropertyOutlineWidth: |
| 164 return a.outlineWidth() == b.outlineWidth(); | 162 return a.outlineWidth() == b.outlineWidth(); |
| 165 case CSSPropertyPaddingBottom: | 163 case CSSPropertyPaddingBottom: |
| 166 return a.paddingBottom() == b.paddingBottom(); | 164 return a.paddingBottom() == b.paddingBottom(); |
| 167 case CSSPropertyPaddingLeft: | 165 case CSSPropertyPaddingLeft: |
| 168 return a.paddingLeft() == b.paddingLeft(); | 166 return a.paddingLeft() == b.paddingLeft(); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 return a.wordSpacing() == b.wordSpacing(); | 209 return a.wordSpacing() == b.wordSpacing(); |
| 212 case CSSPropertyZIndex: | 210 case CSSPropertyZIndex: |
| 213 return a.zIndex() == b.zIndex(); | 211 return a.zIndex() == b.zIndex(); |
| 214 default: | 212 default: |
| 215 ASSERT_NOT_REACHED(); | 213 ASSERT_NOT_REACHED(); |
| 216 return true; | 214 return true; |
| 217 } | 215 } |
| 218 } | 216 } |
| 219 | 217 |
| 220 } | 218 } |
| OLD | NEW |