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

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

Issue 2578043002: Rename apply() in CSSInterpolationType subclasses (Closed)
Patch Set: rebased Created 3 years, 12 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 CSSImageListInterpolationType_h 5 #ifndef CSSImageListInterpolationType_h
6 #define CSSImageListInterpolationType_h 6 #define CSSImageListInterpolationType_h
7 7
8 #include "core/animation/CSSInterpolationType.h" 8 #include "core/animation/CSSInterpolationType.h"
9 #include "core/animation/ImageListPropertyFunctions.h" 9 #include "core/animation/ImageListPropertyFunctions.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class CSSImageListInterpolationType : public CSSInterpolationType { 13 class CSSImageListInterpolationType : public CSSInterpolationType {
14 public: 14 public:
15 CSSImageListInterpolationType(PropertyHandle property) 15 CSSImageListInterpolationType(PropertyHandle property)
16 : CSSInterpolationType(property) {} 16 : CSSInterpolationType(property) {}
17 17
18 InterpolationValue maybeConvertUnderlyingValue( 18 InterpolationValue maybeConvertUnderlyingValue(
19 const InterpolationEnvironment&) const final; 19 const InterpolationEnvironment&) const final;
20 void composite(UnderlyingValueOwner&, 20 void composite(UnderlyingValueOwner&,
21 double underlyingFraction, 21 double underlyingFraction,
22 const InterpolationValue&, 22 const InterpolationValue&,
23 double interpolationFraction) const final; 23 double interpolationFraction) const final;
24 void apply(const InterpolableValue&, 24 void applyStandardPropertyValue(const InterpolableValue&,
25 const NonInterpolableValue*, 25 const NonInterpolableValue*,
26 InterpolationEnvironment&) const final; 26 StyleResolverState&) const final;
27 27
28 private: 28 private:
29 InterpolationValue maybeConvertStyleImageList(const StyleImageList&) const; 29 InterpolationValue maybeConvertStyleImageList(const StyleImageList&) const;
30 30
31 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying, 31 InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,
32 ConversionCheckers&) const final; 32 ConversionCheckers&) const final;
33 InterpolationValue maybeConvertInitial(const StyleResolverState&, 33 InterpolationValue maybeConvertInitial(const StyleResolverState&,
34 ConversionCheckers&) const final; 34 ConversionCheckers&) const final;
35 InterpolationValue maybeConvertInherit(const StyleResolverState&, 35 InterpolationValue maybeConvertInherit(const StyleResolverState&,
36 ConversionCheckers&) const final; 36 ConversionCheckers&) const final;
37 InterpolationValue maybeConvertValue(const CSSValue&, 37 InterpolationValue maybeConvertValue(const CSSValue&,
38 const StyleResolverState&, 38 const StyleResolverState&,
39 ConversionCheckers&) const final; 39 ConversionCheckers&) const final;
40 40
41 PairwiseInterpolationValue maybeMergeSingles( 41 PairwiseInterpolationValue maybeMergeSingles(
42 InterpolationValue&& start, 42 InterpolationValue&& start,
43 InterpolationValue&& end) const final; 43 InterpolationValue&& end) const final;
44 }; 44 };
45 45
46 } // namespace blink 46 } // namespace blink
47 47
48 #endif // CSSImageListInterpolationType_h 48 #endif // CSSImageListInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698