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

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

Issue 710113003: Initial step of removing CSS zoom related properties. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 "config.h" 5 #include "config.h"
6 #include "core/animation/css/CSSPropertyEquality.h" 6 #include "core/animation/css/CSSPropertyEquality.h"
7 7
8 #include "core/animation/css/CSSAnimations.h" 8 #include "core/animation/css/CSSAnimations.h"
9 #include "core/rendering/style/DataEquivalency.h" 9 #include "core/rendering/style/DataEquivalency.h"
10 #include "core/rendering/style/RenderStyle.h" 10 #include "core/rendering/style/RenderStyle.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 case CSSPropertyTransformOrigin: 223 case CSSPropertyTransformOrigin:
224 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); 224 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ();
225 case CSSPropertyWidows: 225 case CSSPropertyWidows:
226 return a.widows() == b.widows(); 226 return a.widows() == b.widows();
227 case CSSPropertyWidth: 227 case CSSPropertyWidth:
228 return a.width() == b.width(); 228 return a.width() == b.width();
229 case CSSPropertyWordSpacing: 229 case CSSPropertyWordSpacing:
230 return a.wordSpacing() == b.wordSpacing(); 230 return a.wordSpacing() == b.wordSpacing();
231 case CSSPropertyZIndex: 231 case CSSPropertyZIndex:
232 return a.zIndex() == b.zIndex(); 232 return a.zIndex() == b.zIndex();
233 case CSSPropertyZoom:
234 return a.zoom() == b.zoom();
235 default: 233 default:
236 ASSERT_NOT_REACHED(); 234 ASSERT_NOT_REACHED();
237 return true; 235 return true;
238 } 236 }
239 } 237 }
240 238
241 } 239 }
OLDNEW
« no previous file with comments | « sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | sky/engine/core/css/CSSCalculationValueTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698