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

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: Address review feedback Created 7 years, 2 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 c45d471041fd1fc4fa45a78661819a86d5abd453..4eaae3f497e76495b7c1867f2fa0cbfc8c6f6042 100644
--- a/Source/core/animation/AnimatableValue.h
+++ b/Source/core/animation/AnimatableValue.h
@@ -55,6 +55,7 @@ public:
bool isLengthSize() const { return type() == TypeLengthSize; }
bool isNeutral() const { return type() == TypeNeutral; }
bool isShapeValue() const { return type() == TypeShapeValue; }
+ bool isSVGPaint() const { return type() == TypeSVGPaint; }
bool isTransform() const { return type() == TypeTransform; }
bool isUnknown() const { return type() == TypeUnknown; }
bool isVisibility() const { return type() == TypeVisibility; }
@@ -70,6 +71,7 @@ protected:
TypeLengthSize,
TypeNeutral,
TypeShapeValue,
+ TypeSVGPaint,
TypeTransform,
TypeUnknown,
TypeVisibility,
« no previous file with comments | « Source/core/animation/AnimatableSVGPaint.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698