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

Side by Side Diff: third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 years, 2 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 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 InvalidatableInterpolation_h 5 #ifndef InvalidatableInterpolation_h
6 #define InvalidatableInterpolation_h 6 #define InvalidatableInterpolation_h
7 7
8 #include "core/animation/InterpolationType.h" 8 #include "core/animation/InterpolationType.h"
9 #include "core/animation/PrimitiveInterpolation.h" 9 #include "core/animation/PrimitiveInterpolation.h"
10 #include "core/animation/PropertyInterpolationTypesMapping.h" 10 #include "core/animation/PropertyInterpolationTypesMapping.h"
11 #include "core/animation/StyleInterpolation.h" 11 #include "core/animation/StyleInterpolation.h"
12 #include "core/animation/TypedInterpolationValue.h" 12 #include "core/animation/TypedInterpolationValue.h"
13 #include <memory> 13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 // TODO(alancutter): This class will replace *StyleInterpolation and Interpolati on. 17 // TODO(alancutter): This class will replace *StyleInterpolation and
18 // For now it needs to distinguish itself during the refactor and temporarily ha s an ugly name. 18 // Interpolation. For now it needs to distinguish itself during the refactor and
19 // temporarily has an ugly name.
19 class CORE_EXPORT InvalidatableInterpolation : public Interpolation { 20 class CORE_EXPORT InvalidatableInterpolation : public Interpolation {
20 public: 21 public:
21 static PassRefPtr<InvalidatableInterpolation> create( 22 static PassRefPtr<InvalidatableInterpolation> create(
22 PropertyHandle property, 23 PropertyHandle property,
23 const InterpolationTypes& interpolationTypes, 24 const InterpolationTypes& interpolationTypes,
24 PassRefPtr<PropertySpecificKeyframe> startKeyframe, 25 PassRefPtr<PropertySpecificKeyframe> startKeyframe,
25 PassRefPtr<PropertySpecificKeyframe> endKeyframe) { 26 PassRefPtr<PropertySpecificKeyframe> endKeyframe) {
26 return adoptRef(new InvalidatableInterpolation(property, interpolationTypes, 27 return adoptRef(new InvalidatableInterpolation(property, interpolationTypes,
27 std::move(startKeyframe), 28 std::move(startKeyframe),
28 std::move(endKeyframe))); 29 std::move(endKeyframe)));
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 87
87 DEFINE_TYPE_CASTS(InvalidatableInterpolation, 88 DEFINE_TYPE_CASTS(InvalidatableInterpolation,
88 Interpolation, 89 Interpolation,
89 value, 90 value,
90 value->isInvalidatableInterpolation(), 91 value->isInvalidatableInterpolation(),
91 value.isInvalidatableInterpolation()); 92 value.isInvalidatableInterpolation());
92 93
93 } // namespace blink 94 } // namespace blink
94 95
95 #endif // InvalidatableInterpolation_h 96 #endif // InvalidatableInterpolation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698