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

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

Issue 1419733009: Web Animations: Add SVGNumberListInterpolationType (Closed) Base URL: ssh://pony.syd/usr/local/google/home/alancutter/repos/chromium/src@_svgRectInterpolationType
Patch Set: Fix responsive test derp 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/SVGNumberListInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGNumberListInterpolationType.h
similarity index 64%
copy from third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.h
copy to third_party/WebKit/Source/core/animation/SVGNumberListInterpolationType.h
index d1ec5bf5a53c3ace86d113a52695d54d126b0af1..f8a33800b09f434e28a45b4f1ff542c597b1126c 100644
--- a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/SVGNumberListInterpolationType.h
@@ -2,16 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SVGPointListInterpolationType_h
-#define SVGPointListInterpolationType_h
+#ifndef SVGNumberListInterpolationType_h
+#define SVGNumberListInterpolationType_h
+#include "core/SVGNames.h"
#include "core/animation/SVGInterpolationType.h"
namespace blink {
-class SVGPointListInterpolationType : public SVGInterpolationType {
+// TODO(alancutter): The rotate attribute is marked as non-additive in the SVG specs:
+// http://www.w3.org/TR/SVG/text.html#TSpanElementRotateAttribute
+// http://www.w3.org/TR/SVG/text.html#TextElementRotateAttribute
+
+class SVGNumberListInterpolationType : public SVGInterpolationType {
public:
- SVGPointListInterpolationType(const QualifiedName& attribute)
+ SVGNumberListInterpolationType(const QualifiedName& attribute)
: SVGInterpolationType(attribute)
{ }
@@ -25,4 +30,4 @@ private:
} // namespace blink
-#endif // SVGPointListInterpolationType_h
+#endif // SVGNumberListInterpolationType_h

Powered by Google App Engine
This is Rietveld 408576698