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

Side by Side Diff: sky/engine/core/animation/AnimationNodeTiming.h

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
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 SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_
6 #define SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_
7
8 #include "sky/engine/tonic/dart_wrappable.h"
9 #include "sky/engine/bindings/nullable.h"
10 #include "sky/engine/core/animation/AnimationNode.h"
11 #include "sky/engine/wtf/RefCounted.h"
12 #include "sky/engine/wtf/text/WTFString.h"
13
14 namespace blink {
15
16 class AnimationNodeTiming : public RefCounted<AnimationNodeTiming>, public DartW rappable {
17 DEFINE_WRAPPERTYPEINFO();
18 public:
19 static PassRefPtr<AnimationNodeTiming> create(AnimationNode* parent);
20 double delay();
21 double endDelay();
22 String fill();
23 double iterationStart();
24 double iterations();
25 String getDuration(String propertyName);
26 double playbackRate();
27 String direction();
28 String easing();
29
30 void setDelay(double);
31 void setEndDelay(double);
32 void setFill(String);
33 void setIterationStart(double);
34 void setIterations(double);
35 bool setDuration(String name, double duration);
36 void setPlaybackRate(double);
37 void setDirection(String);
38 void setEasing(String);
39
40 private:
41 RefPtr<AnimationNode> m_parent;
42 explicit AnimationNodeTiming(AnimationNode*);
43 };
44
45 } // namespace blink
46
47 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_
OLDNEW
« no previous file with comments | « sky/engine/core/animation/AnimationNodeTest.cpp ('k') | sky/engine/core/animation/AnimationNodeTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698