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

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

Issue 1441853002: Web Animations: Add SVGPathInterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgNumberListInterpolationType
Patch Set: Rebased Created 5 years 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/PathSVGInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/PathSVGInterpolation.h b/third_party/WebKit/Source/core/animation/PathSVGInterpolation.h
deleted file mode 100644
index 7191aad1a1836400682778088868497a1ca609c8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/PathSVGInterpolation.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 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 PathSVGInterpolation_h
-#define PathSVGInterpolation_h
-
-#include "core/animation/SVGInterpolation.h"
-#include "core/svg/SVGPathData.h"
-
-namespace blink {
-
-class PathSVGInterpolation : public SVGInterpolation {
-public:
- static PassRefPtr<PathSVGInterpolation> maybeCreate(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute);
-
- PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final;
-
-private:
- PathSVGInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute,
- Vector<SVGPathSegType> pathSegTypes)
- : SVGInterpolation(start, end, attribute)
- {
- m_pathSegTypes.swap(pathSegTypes);
- }
-
- static PassRefPtrWillBeRawPtr<SVGPropertyBase> fromInterpolableValue(const InterpolableValue&, const Vector<SVGPathSegType>&);
-
- Vector<SVGPathSegType> m_pathSegTypes;
-};
-
-}
-
-#endif // NumberSVGInterpolation_h

Powered by Google App Engine
This is Rietveld 408576698