Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Side by Side Diff: sky/engine/core/animation/css/CSSPropertyEquality.cpp

Issue 1069403003: Remove CSS list-style (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 case CSSPropertyFontWeight: 125 case CSSPropertyFontWeight:
126 return a.fontWeight() == b.fontWeight(); 126 return a.fontWeight() == b.fontWeight();
127 case CSSPropertyHeight: 127 case CSSPropertyHeight:
128 return a.height() == b.height(); 128 return a.height() == b.height();
129 case CSSPropertyLeft: 129 case CSSPropertyLeft:
130 return a.left() == b.left(); 130 return a.left() == b.left();
131 case CSSPropertyLetterSpacing: 131 case CSSPropertyLetterSpacing:
132 return a.letterSpacing() == b.letterSpacing(); 132 return a.letterSpacing() == b.letterSpacing();
133 case CSSPropertyLineHeight: 133 case CSSPropertyLineHeight:
134 return a.specifiedLineHeight() == b.specifiedLineHeight(); 134 return a.specifiedLineHeight() == b.specifiedLineHeight();
135 case CSSPropertyListStyleImage:
136 return dataEquivalent(a.listStyleImage(), b.listStyleImage());
137 case CSSPropertyMarginBottom: 135 case CSSPropertyMarginBottom:
138 return a.marginBottom() == b.marginBottom(); 136 return a.marginBottom() == b.marginBottom();
139 case CSSPropertyMarginLeft: 137 case CSSPropertyMarginLeft:
140 return a.marginLeft() == b.marginLeft(); 138 return a.marginLeft() == b.marginLeft();
141 case CSSPropertyMarginRight: 139 case CSSPropertyMarginRight:
142 return a.marginRight() == b.marginRight(); 140 return a.marginRight() == b.marginRight();
143 case CSSPropertyMarginTop: 141 case CSSPropertyMarginTop:
144 return a.marginTop() == b.marginTop(); 142 return a.marginTop() == b.marginTop();
145 case CSSPropertyMaxHeight: 143 case CSSPropertyMaxHeight:
146 return a.maxHeight() == b.maxHeight(); 144 return a.maxHeight() == b.maxHeight();
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | sky/engine/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698