| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef PairwiseInterpolationValue_h | 5 #ifndef PairwiseInterpolationValue_h |
| 6 #define PairwiseInterpolationValue_h | 6 #define PairwiseInterpolationValue_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/animation/InterpolableValue.h" | 9 #include "core/animation/InterpolableValue.h" |
| 9 #include "core/animation/NonInterpolableValue.h" | 10 #include "core/animation/NonInterpolableValue.h" |
| 10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 // Represents the smooth interpolation between an adjacent pair of | 15 // Represents the smooth interpolation between an adjacent pair of |
| 16 // PropertySpecificKeyframes. | 16 // PropertySpecificKeyframes. |
| 17 struct PairwiseInterpolationValue { | 17 struct PairwiseInterpolationValue { |
| 18 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 18 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 19 | 19 |
| 20 PairwiseInterpolationValue( | 20 PairwiseInterpolationValue( |
| 21 std::unique_ptr<InterpolableValue> startInterpolableValue, | 21 std::unique_ptr<InterpolableValue> startInterpolableValue, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 35 operator bool() const { return startInterpolableValue.get(); } | 35 operator bool() const { return startInterpolableValue.get(); } |
| 36 | 36 |
| 37 std::unique_ptr<InterpolableValue> startInterpolableValue; | 37 std::unique_ptr<InterpolableValue> startInterpolableValue; |
| 38 std::unique_ptr<InterpolableValue> endInterpolableValue; | 38 std::unique_ptr<InterpolableValue> endInterpolableValue; |
| 39 RefPtr<NonInterpolableValue> nonInterpolableValue; | 39 RefPtr<NonInterpolableValue> nonInterpolableValue; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace blink | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // PairwiseInterpolationValue_h | 44 #endif // PairwiseInterpolationValue_h |
| OLD | NEW |