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

Side by Side Diff: third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Add new baselines for Mac and Windows Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/animation/PropertyInterpolationTypesMapping.h" 5 #include "core/animation/PropertyInterpolationTypesMapping.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/animation/CSSBasicShapeInterpolationType.h" 8 #include "core/animation/CSSBasicShapeInterpolationType.h"
9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h" 9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h"
10 #include "core/animation/CSSClipInterpolationType.h" 10 #include "core/animation/CSSClipInterpolationType.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 applicableTypes->append( 150 applicableTypes->append(
151 makeUnique<CSSLengthInterpolationType>(usedProperty)); 151 makeUnique<CSSLengthInterpolationType>(usedProperty));
152 applicableTypes->append( 152 applicableTypes->append(
153 makeUnique<CSSNumberInterpolationType>(usedProperty)); 153 makeUnique<CSSNumberInterpolationType>(usedProperty));
154 break; 154 break;
155 case CSSPropertyBackgroundColor: 155 case CSSPropertyBackgroundColor:
156 case CSSPropertyBorderBottomColor: 156 case CSSPropertyBorderBottomColor:
157 case CSSPropertyBorderLeftColor: 157 case CSSPropertyBorderLeftColor:
158 case CSSPropertyBorderRightColor: 158 case CSSPropertyBorderRightColor:
159 case CSSPropertyBorderTopColor: 159 case CSSPropertyBorderTopColor:
160 case CSSPropertyCaretColor:
160 case CSSPropertyColor: 161 case CSSPropertyColor:
161 case CSSPropertyFloodColor: 162 case CSSPropertyFloodColor:
162 case CSSPropertyLightingColor: 163 case CSSPropertyLightingColor:
163 case CSSPropertyOutlineColor: 164 case CSSPropertyOutlineColor:
164 case CSSPropertyStopColor: 165 case CSSPropertyStopColor:
165 case CSSPropertyTextDecorationColor: 166 case CSSPropertyTextDecorationColor:
166 case CSSPropertyColumnRuleColor: 167 case CSSPropertyColumnRuleColor:
167 case CSSPropertyWebkitTextStrokeColor: 168 case CSSPropertyWebkitTextStrokeColor:
168 applicableTypes->append( 169 applicableTypes->append(
169 makeUnique<CSSColorInterpolationType>(usedProperty)); 170 makeUnique<CSSColorInterpolationType>(usedProperty));
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 } 418 }
418 419
419 applicableTypes->append(makeUnique<SVGValueInterpolationType>(attribute)); 420 applicableTypes->append(makeUnique<SVGValueInterpolationType>(attribute));
420 } 421 }
421 422
422 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes)); 423 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes));
423 return *addResult.storedValue->value.get(); 424 return *addResult.storedValue->value.get();
424 } 425 }
425 426
426 } // namespace blink 427 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698