| OLD | NEW |
| 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" |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 WTF::MakeUnique<CSSFontWeightInterpolationType>(used_property)); | 218 WTF::MakeUnique<CSSFontWeightInterpolationType>(used_property)); |
| 219 break; | 219 break; |
| 220 case CSSPropertyVisibility: | 220 case CSSPropertyVisibility: |
| 221 applicable_types->push_back( | 221 applicable_types->push_back( |
| 222 WTF::MakeUnique<CSSVisibilityInterpolationType>(used_property)); | 222 WTF::MakeUnique<CSSVisibilityInterpolationType>(used_property)); |
| 223 break; | 223 break; |
| 224 case CSSPropertyClip: | 224 case CSSPropertyClip: |
| 225 applicable_types->push_back( | 225 applicable_types->push_back( |
| 226 WTF::MakeUnique<CSSClipInterpolationType>(used_property)); | 226 WTF::MakeUnique<CSSClipInterpolationType>(used_property)); |
| 227 break; | 227 break; |
| 228 case CSSPropertyOffsetRotation: | |
| 229 case CSSPropertyOffsetRotate: | 228 case CSSPropertyOffsetRotate: |
| 230 applicable_types->push_back( | 229 applicable_types->push_back( |
| 231 WTF::MakeUnique<CSSOffsetRotateInterpolationType>(used_property)); | 230 WTF::MakeUnique<CSSOffsetRotateInterpolationType>(used_property)); |
| 232 break; | 231 break; |
| 233 case CSSPropertyBackgroundPositionX: | 232 case CSSPropertyBackgroundPositionX: |
| 234 case CSSPropertyBackgroundPositionY: | 233 case CSSPropertyBackgroundPositionY: |
| 235 case CSSPropertyWebkitMaskPositionX: | 234 case CSSPropertyWebkitMaskPositionX: |
| 236 case CSSPropertyWebkitMaskPositionY: | 235 case CSSPropertyWebkitMaskPositionY: |
| 237 applicable_types->push_back( | 236 applicable_types->push_back( |
| 238 WTF::MakeUnique<CSSPositionAxisListInterpolationType>(used_property)); | 237 WTF::MakeUnique<CSSPositionAxisListInterpolationType>(used_property)); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 default: | 377 default: |
| 379 NOTREACHED(); | 378 NOTREACHED(); |
| 380 break; | 379 break; |
| 381 } | 380 } |
| 382 } | 381 } |
| 383 result.push_back(WTF::MakeUnique<CSSValueInterpolationType>(property)); | 382 result.push_back(WTF::MakeUnique<CSSValueInterpolationType>(property)); |
| 384 return result; | 383 return result; |
| 385 } | 384 } |
| 386 | 385 |
| 387 } // namespace blink | 386 } // namespace blink |
| OLD | NEW |