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

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

Issue 1592593002: Web Animations: Animate d presentation attribute using InterpolableValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assert 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/PathInterpolationFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.h
new file mode 100644
index 0000000000000000000000000000000000000000..ef28b5609f95e067cb7f98db3e41a93f284e8d29
--- /dev/null
+++ b/third_party/WebKit/Source/core/animation/PathInterpolationFunctions.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 PathInterpolationFunctions_h
+#define PathInterpolationFunctions_h
+
+#include "core/animation/InterpolationType.h"
+#include "core/svg/SVGPathByteStream.h"
+
+namespace blink {
+
+class PathInterpolationFunctions {
+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 // PathInterpolationFunctions_h

Powered by Google App Engine
This is Rietveld 408576698