| 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/FilterInterpolationFunctions.h" | 5 #include "core/animation/FilterInterpolationFunctions.h" |
| 6 | 6 |
| 7 #include <memory> |
| 7 #include "core/animation/LengthInterpolationFunctions.h" | 8 #include "core/animation/LengthInterpolationFunctions.h" |
| 8 #include "core/animation/ShadowInterpolationFunctions.h" | 9 #include "core/animation/ShadowInterpolationFunctions.h" |
| 9 #include "core/css/CSSFunctionValue.h" | 10 #include "core/css/CSSFunctionValue.h" |
| 10 #include "core/css/CSSPrimitiveValue.h" | 11 #include "core/css/CSSPrimitiveValue.h" |
| 11 #include "core/css/resolver/FilterOperationResolver.h" | 12 #include "core/css/resolver/FilterOperationResolver.h" |
| 12 #include "core/css/resolver/StyleResolverState.h" | 13 #include "core/css/resolver/StyleResolverState.h" |
| 13 #include "core/style/FilterOperations.h" | 14 #include "core/style/FilterOperations.h" |
| 14 #include "core/style/ShadowData.h" | 15 #include "core/style/ShadowData.h" |
| 15 #include <memory> | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class FilterNonInterpolableValue : public NonInterpolableValue { | 19 class FilterNonInterpolableValue : public NonInterpolableValue { |
| 20 public: | 20 public: |
| 21 static PassRefPtr<FilterNonInterpolableValue> create( | 21 static PassRefPtr<FilterNonInterpolableValue> create( |
| 22 FilterOperation::OperationType type, | 22 FilterOperation::OperationType type, |
| 23 PassRefPtr<NonInterpolableValue> typeNonInterpolableValue) { | 23 PassRefPtr<NonInterpolableValue> typeNonInterpolableValue) { |
| 24 return adoptRef(new FilterNonInterpolableValue( | 24 return adoptRef(new FilterNonInterpolableValue( |
| 25 type, std::move(typeNonInterpolableValue))); | 25 type, std::move(typeNonInterpolableValue))); |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 return DropShadowFilterOperation::create(shadowData); | 286 return DropShadowFilterOperation::create(shadowData); |
| 287 } | 287 } |
| 288 | 288 |
| 289 default: | 289 default: |
| 290 NOTREACHED(); | 290 NOTREACHED(); |
| 291 return nullptr; | 291 return nullptr; |
| 292 } | 292 } |
| 293 } | 293 } |
| 294 | 294 |
| 295 } // namespace blink | 295 } // namespace blink |
| OLD | NEW |