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

Unified Diff: third_party/WebKit/Source/core/animation/PathInterpolation.h

Issue 1592593002: Web Animations: Animate d presentation attribute using InterpolableValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/PathInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/PathInterpolation.h b/third_party/WebKit/Source/core/animation/PathInterpolation.h
new file mode 100644
index 0000000000000000000000000000000000000000..e5899e825734c567c1510a5e08b593a6cdd6b9bd
--- /dev/null
+++ b/third_party/WebKit/Source/core/animation/PathInterpolation.h
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PathInterpolation_h
+#define PathInterpolation_h
+
+#include "core/animation/InterpolationType.h"
+#include "core/svg/SVGPathByteStream.h"
+
+namespace blink {
+
+class PathInterpolation {
alancutter (OOO until 2018) 2016/01/15 05:16:44 s/PathInterpolation/PathInterpolationFunctions/ fo
Eric Willigers 2016/01/18 06:19:54 Done.
+public:
+ static PassRefPtr<SVGPathByteStream> appliedValue(const InterpolableValue&, const NonInterpolableValue*);
+
+ static void composite(UnderlyingValue&, double underlyingFraction, const InterpolationValue&);
+
+ static PassOwnPtr<InterpolationValue> convertValue(const InterpolationType&, const SVGPathByteStream&);
+
+ static PassOwnPtr<InterpolationValue> maybeConvertNeutral(const InterpolationType&, const UnderlyingValue&, InterpolationType::ConversionCheckers&);
+
+ static PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(const InterpolationType&, InterpolationValue& startValue, InterpolationValue& endValue);
+};
+
+} // namespace blink
+
+#endif // PathInterpolation_h

Powered by Google App Engine
This is Rietveld 408576698