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

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

Issue 2891743003: Enable interpolation of CSS property font-variation-settings (Closed)
Patch Set: updatetest Created 3 years, 7 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 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/CSSInterpolationTypesMap.h" 5 #include "core/animation/CSSInterpolationTypesMap.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "core/animation/CSSAngleInterpolationType.h" 8 #include "core/animation/CSSAngleInterpolationType.h"
9 #include "core/animation/CSSBasicShapeInterpolationType.h" 9 #include "core/animation/CSSBasicShapeInterpolationType.h"
10 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h" 10 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h"
11 #include "core/animation/CSSClipInterpolationType.h" 11 #include "core/animation/CSSClipInterpolationType.h"
12 #include "core/animation/CSSColorInterpolationType.h" 12 #include "core/animation/CSSColorInterpolationType.h"
13 #include "core/animation/CSSFilterListInterpolationType.h" 13 #include "core/animation/CSSFilterListInterpolationType.h"
14 #include "core/animation/CSSFontSizeInterpolationType.h" 14 #include "core/animation/CSSFontSizeInterpolationType.h"
15 #include "core/animation/CSSFontVariationSettingsInterpolationType.h"
15 #include "core/animation/CSSFontWeightInterpolationType.h" 16 #include "core/animation/CSSFontWeightInterpolationType.h"
16 #include "core/animation/CSSImageInterpolationType.h" 17 #include "core/animation/CSSImageInterpolationType.h"
17 #include "core/animation/CSSImageListInterpolationType.h" 18 #include "core/animation/CSSImageListInterpolationType.h"
18 #include "core/animation/CSSImageSliceInterpolationType.h" 19 #include "core/animation/CSSImageSliceInterpolationType.h"
19 #include "core/animation/CSSLengthInterpolationType.h" 20 #include "core/animation/CSSLengthInterpolationType.h"
20 #include "core/animation/CSSLengthListInterpolationType.h" 21 #include "core/animation/CSSLengthListInterpolationType.h"
21 #include "core/animation/CSSLengthPairInterpolationType.h" 22 #include "core/animation/CSSLengthPairInterpolationType.h"
22 #include "core/animation/CSSNumberInterpolationType.h" 23 #include "core/animation/CSSNumberInterpolationType.h"
23 #include "core/animation/CSSOffsetRotateInterpolationType.h" 24 #include "core/animation/CSSOffsetRotateInterpolationType.h"
24 #include "core/animation/CSSPaintInterpolationType.h" 25 #include "core/animation/CSSPaintInterpolationType.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 WTF::MakeUnique<CSSImageListInterpolationType>(used_property)); 211 WTF::MakeUnique<CSSImageListInterpolationType>(used_property));
211 break; 212 break;
212 case CSSPropertyStrokeDasharray: 213 case CSSPropertyStrokeDasharray:
213 applicable_types->push_back( 214 applicable_types->push_back(
214 WTF::MakeUnique<CSSLengthListInterpolationType>(used_property)); 215 WTF::MakeUnique<CSSLengthListInterpolationType>(used_property));
215 break; 216 break;
216 case CSSPropertyFontWeight: 217 case CSSPropertyFontWeight:
217 applicable_types->push_back( 218 applicable_types->push_back(
218 WTF::MakeUnique<CSSFontWeightInterpolationType>(used_property)); 219 WTF::MakeUnique<CSSFontWeightInterpolationType>(used_property));
219 break; 220 break;
221 case CSSPropertyFontVariationSettings:
222 applicable_types->push_back(
223 WTF::MakeUnique<CSSFontVariationSettingsInterpolationType>(
224 used_property));
225 break;
220 case CSSPropertyVisibility: 226 case CSSPropertyVisibility:
221 applicable_types->push_back( 227 applicable_types->push_back(
222 WTF::MakeUnique<CSSVisibilityInterpolationType>(used_property)); 228 WTF::MakeUnique<CSSVisibilityInterpolationType>(used_property));
223 break; 229 break;
224 case CSSPropertyClip: 230 case CSSPropertyClip:
225 applicable_types->push_back( 231 applicable_types->push_back(
226 WTF::MakeUnique<CSSClipInterpolationType>(used_property)); 232 WTF::MakeUnique<CSSClipInterpolationType>(used_property));
227 break; 233 break;
228 case CSSPropertyOffsetRotate: 234 case CSSPropertyOffsetRotate:
229 applicable_types->push_back( 235 applicable_types->push_back(
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 default: 383 default:
378 NOTREACHED(); 384 NOTREACHED();
379 break; 385 break;
380 } 386 }
381 } 387 }
382 result.push_back(WTF::MakeUnique<CSSValueInterpolationType>(property)); 388 result.push_back(WTF::MakeUnique<CSSValueInterpolationType>(property));
383 return result; 389 return result;
384 } 390 }
385 391
386 } // namespace blink 392 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698