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

Unified Diff: Source/core/animation/AnimatableValue.h

Issue 25456002: Web Animations CSS: Support animation of fill and stroke (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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: Source/core/animation/AnimatableValue.h
diff --git a/Source/core/animation/AnimatableValue.h b/Source/core/animation/AnimatableValue.h
index c06e6bb314ec13ce2f360d49db7a131557fd5cb2..88e622dccfa9362a3987e2ac7adfaeda3e6c7a97 100644
--- a/Source/core/animation/AnimatableValue.h
+++ b/Source/core/animation/AnimatableValue.h
@@ -52,6 +52,7 @@ public:
bool isLengthSize() const { return type() == TypeLengthSize; }
bool isNumber() const { return type() == TypeNumber; }
bool isNeutral() const { return type() == TypeNeutral; }
+ bool isSVGPaint() const { return type() == TypeSVGPaint; }
bool isTransform() const { return type() == TypeTransform; }
bool isUnknown() const { return type() == TypeUnknown; }
bool isVisibility() const { return type() == TypeVisibility; }
@@ -64,6 +65,7 @@ protected:
TypeLengthSize,
TypeNeutral,
TypeNumber,
+ TypeSVGPaint,
TypeTransform,
TypeUnknown,
TypeVisibility,

Powered by Google App Engine
This is Rietveld 408576698