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

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

Issue 929273002: Use IDL union for Timing.duration (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/AnimationNodeTiming.h
diff --git a/Source/core/animation/AnimationNodeTiming.h b/Source/core/animation/AnimationNodeTiming.h
index c81798bc165c4b0a23b60d56a987b578163d37ab..d68c98e2e821e4919a800cbef6b656cc77316b89 100644
--- a/Source/core/animation/AnimationNodeTiming.h
+++ b/Source/core/animation/AnimationNodeTiming.h
@@ -23,7 +23,7 @@ public:
String fill();
double iterationStart();
double iterations();
- void getDuration(String propertyName, DoubleOrString&);
+ void duration(DoubleOrString&);
double playbackRate();
String direction();
String easing();
@@ -33,7 +33,7 @@ public:
void setFill(String);
void setIterationStart(double);
void setIterations(double);
- bool setDuration(String name, double duration);
+ void setDuration(const DoubleOrString&);
void setPlaybackRate(double);
void setDirection(String);
void setEasing(String);
« no previous file with comments | « LayoutTests/web-animations-api/timed-item-specified-setters.html ('k') | Source/core/animation/AnimationNodeTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698