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

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

Issue 1431593004: Web Animations: Migrate SVG Rect interpolation to interpolation types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/SVGRectInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/SVGAngleInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.h
similarity index 75%
copy from third_party/WebKit/Source/core/animation/SVGAngleInterpolationType.h
copy to third_party/WebKit/Source/core/animation/SVGRectInterpolationType.h
index 176bf33001a9fb01482f2e1c49442147050830ff..77619e3782f78513942ed668f68389b71747c29c 100644
--- a/third_party/WebKit/Source/core/animation/SVGAngleInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.h
@@ -1,27 +1,22 @@
// 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 SVGAngleInterpolationType_h
-#define SVGAngleInterpolationType_h
+#ifndef SVGRectInterpolationType_h
+#define SVGRectInterpolationType_h
#include "core/animation/SVGInterpolationType.h"
-
namespace blink {
-
-class SVGAngleInterpolationType : public SVGInterpolationType {
+class SVGRectInterpolationType : public SVGInterpolationType {
public:
- SVGAngleInterpolationType(const QualifiedName& attribute)
+ SVGRectInterpolationType(const QualifiedName& attribute)
: SVGInterpolationType(attribute)
{ }
-
private:
PassOwnPtr<InterpolationValue> maybeConvertNeutral() const final;
PassOwnPtr<InterpolationValue> maybeConvertSVGValue(const SVGPropertyBase& svgValue) const final;
PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;
RefPtrWillBeRawPtr<SVGPropertyBase> appliedSVGValue(const InterpolableValue&, const NonInterpolableValue*) const final;
};
-
} // namespace blink
-#endif // SVGAngleInterpolationType_h
+#endif // SVGRectInterpolationType_h

Powered by Google App Engine
This is Rietveld 408576698