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

Side by Side Diff: Source/core/animation/AnimationNodeTiming.h

Issue 1113173003: Web Animations: Update naming to reflect spec changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No, really. Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef AnimationNodeTiming_h
6 #define AnimationNodeTiming_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h"
10 #include "core/animation/AnimationNode.h"
11 #include "wtf/RefCounted.h"
12 #include "wtf/text/WTFString.h"
13
14 namespace blink {
15
16 class UnrestrictedDoubleOrString;
17
18 class CORE_EXPORT AnimationNodeTiming : public RefCountedWillBeGarbageCollectedF inalized<AnimationNodeTiming>, public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO();
20 public:
21 static PassRefPtrWillBeRawPtr<AnimationNodeTiming> create(AnimationNode* par ent);
22 double delay();
23 double endDelay();
24 String fill();
25 double iterationStart();
26 double iterations();
27 void duration(UnrestrictedDoubleOrString&);
28 double playbackRate();
29 String direction();
30 String easing();
31
32 void setDelay(double);
33 void setEndDelay(double);
34 void setFill(String);
35 void setIterationStart(double);
36 void setIterations(double);
37 void setDuration(const UnrestrictedDoubleOrString&);
38 void setPlaybackRate(double);
39 void setDirection(String);
40 void setEasing(String);
41
42 DECLARE_TRACE();
43
44 private:
45 RefPtrWillBeMember<AnimationNode> m_parent;
46 explicit AnimationNodeTiming(AnimationNode*);
47 };
48
49 } // namespace blink
50
51 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationNodeTest.cpp ('k') | Source/core/animation/AnimationNodeTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698