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

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

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 7 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 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 #ifndef CSSOffsetRotateInterpolationType_h 5 #ifndef CSSOffsetRotateInterpolationType_h
6 #define CSSOffsetRotateInterpolationType_h 6 #define CSSOffsetRotateInterpolationType_h
7 7
8 #include "core/animation/CSSInterpolationType.h" 8 #include "core/animation/CSSInterpolationType.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CSSOffsetRotateInterpolationType : public CSSInterpolationType { 12 class CSSOffsetRotateInterpolationType : public CSSInterpolationType {
13 public: 13 public:
14 CSSOffsetRotateInterpolationType(PropertyHandle property) 14 CSSOffsetRotateInterpolationType(PropertyHandle property)
15 : CSSInterpolationType(property) { 15 : CSSInterpolationType(property) {
16 DCHECK(CssProperty() == CSSPropertyOffsetRotate || 16 DCHECK(CssProperty() == CSSPropertyOffsetRotate);
17 CssProperty() == CSSPropertyOffsetRotation);
18 } 17 }
19 18
20 InterpolationValue MaybeConvertStandardPropertyUnderlyingValue( 19 InterpolationValue MaybeConvertStandardPropertyUnderlyingValue(
21 const ComputedStyle&) const final; 20 const ComputedStyle&) const final;
22 void Composite(UnderlyingValueOwner&, 21 void Composite(UnderlyingValueOwner&,
23 double underlying_fraction, 22 double underlying_fraction,
24 const InterpolationValue&, 23 const InterpolationValue&,
25 double interpolation_fraction) const final; 24 double interpolation_fraction) const final;
26 void ApplyStandardPropertyValue(const InterpolableValue&, 25 void ApplyStandardPropertyValue(const InterpolableValue&,
27 const NonInterpolableValue*, 26 const NonInterpolableValue*,
(...skipping 10 matching lines...) Expand all
38 const StyleResolverState*, 37 const StyleResolverState*,
39 ConversionCheckers&) const final; 38 ConversionCheckers&) const final;
40 PairwiseInterpolationValue MaybeMergeSingles( 39 PairwiseInterpolationValue MaybeMergeSingles(
41 InterpolationValue&& start, 40 InterpolationValue&& start,
42 InterpolationValue&& end) const final; 41 InterpolationValue&& end) const final;
43 }; 42 };
44 43
45 } // namespace blink 44 } // namespace blink
46 45
47 #endif // CSSOffsetRotateInterpolationType_h 46 #endif // CSSOffsetRotateInterpolationType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698