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

Side by Side Diff: Source/core/animation/ShadowStyleInterpolation.h

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
Patch Set: Rebase Created 5 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ShadowStyleInterpolation_h 5 #ifndef ShadowStyleInterpolation_h
6 #define ShadowStyleInterpolation_h 6 #define ShadowStyleInterpolation_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/StyleInterpolation.h" 9 #include "core/animation/StyleInterpolation.h"
10 #include "core/css/CSSShadowValue.h" 10 #include "core/css/CSSShadowValue.h"
(...skipping 21 matching lines...) Expand all
32 32
33 static PassOwnPtrWillBeRawPtr<InterpolableValue> shadowToInterpolableValue(c onst CSSValue& value, NonInterpolableType& type) 33 static PassOwnPtrWillBeRawPtr<InterpolableValue> shadowToInterpolableValue(c onst CSSValue& value, NonInterpolableType& type)
34 { 34 {
35 return toInterpolableValue(value, type); 35 return toInterpolableValue(value, type);
36 } 36 }
37 static CSSValue interpolableValueToShadow(const InterpolableValue& value, No nInterpolableType type, InterpolationRange range = RangeAll) 37 static CSSValue interpolableValueToShadow(const InterpolableValue& value, No nInterpolableType type, InterpolationRange range = RangeAll)
38 { 38 {
39 return fromInterpolableValue(value, type, range); 39 return fromInterpolableValue(value, type, range);
40 } 40 }
41 41
42 static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthToInterpolableValue(P assRefPtrWillBeRawPtr<CSSPrimitiveValue>); 42 static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthToInterpolableValue(N ullableCSSValue);
43 43
44 friend class AnimationShadowStyleInterpolationTest; 44 friend class AnimationShadowStyleInterpolationTest;
45 }; 45 };
46 46
47 } // namespace blink 47 } // namespace blink
48 48
49 #endif // ShadowStyleInterpolation_h 49 #endif // ShadowStyleInterpolation_h
OLDNEW
« no previous file with comments | « Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp ('k') | Source/core/animation/ShadowStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698