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

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

Issue 38823002: Web Animations CSS: Support animation of {text,box,-webkit-box}-shadow and fix blur clamping (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: use 0 instead of PassRefPtr<..>() 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
« no previous file with comments | « Source/core/animation/AnimatableShadow.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableValue.h
diff --git a/Source/core/animation/AnimatableValue.h b/Source/core/animation/AnimatableValue.h
index 023b1ff4a66cdb6b7ffeb8003db8ee2af7ee928f..264c8a053ad390f76bd261faad6241c317162e6e 100644
--- a/Source/core/animation/AnimatableValue.h
+++ b/Source/core/animation/AnimatableValue.h
@@ -68,6 +68,7 @@ public:
bool isRepeatable() const { return type() == TypeRepeatable; }
bool isSVGLength() const { return type() == TypeSVGLength; }
bool isSVGPaint() const { return type() == TypeSVGPaint; }
+ bool isShadow() const { return type() == TypeShadow; }
bool isShapeValue() const { return type() == TypeShapeValue; }
bool isStrokeDasharrayList() const { return type() == TypeStrokeDasharrayList; }
bool isTransform() const { return type() == TypeTransform; }
@@ -100,6 +101,7 @@ protected:
TypeRepeatable,
TypeSVGLength,
TypeSVGPaint,
+ TypeShadow,
TypeShapeValue,
TypeStrokeDasharrayList,
TypeTransform,
« no previous file with comments | « Source/core/animation/AnimatableShadow.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698