| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ | 5 #ifndef SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ |
| 6 #define SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ | 6 #define SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ |
| 7 | 7 |
| 8 #include "sky/engine/bindings/core/v8/Nullable.h" | 8 #include "sky/engine/tonic/dart_wrappable.h" |
| 9 #include "sky/engine/bindings/core/v8/ScriptWrappable.h" | 9 #include "sky/engine/bindings2/nullable.h" |
| 10 #include "sky/engine/core/animation/AnimationNode.h" | 10 #include "sky/engine/core/animation/AnimationNode.h" |
| 11 #include "sky/engine/wtf/RefCounted.h" | 11 #include "sky/engine/wtf/RefCounted.h" |
| 12 #include "sky/engine/wtf/text/WTFString.h" | 12 #include "sky/engine/wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class AnimationNodeTiming : public RefCounted<AnimationNodeTiming>, public Scrip
tWrappable { | 16 class AnimationNodeTiming : public RefCounted<AnimationNodeTiming>, public DartW
rappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 public: | 18 public: |
| 19 static PassRefPtr<AnimationNodeTiming> create(AnimationNode* parent); | 19 static PassRefPtr<AnimationNodeTiming> create(AnimationNode* parent); |
| 20 double delay(); | 20 double delay(); |
| 21 double endDelay(); | 21 double endDelay(); |
| 22 String fill(); | 22 String fill(); |
| 23 double iterationStart(); | 23 double iterationStart(); |
| 24 double iterations(); | 24 double iterations(); |
| 25 void getDuration(String propertyName, Nullable<double>& element0, String& el
ement1); | 25 void getDuration(String propertyName, Nullable<double>& element0, String& el
ement1); |
| 26 double playbackRate(); | 26 double playbackRate(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 38 void setEasing(String); | 38 void setEasing(String); |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 RefPtr<AnimationNode> m_parent; | 41 RefPtr<AnimationNode> m_parent; |
| 42 explicit AnimationNodeTiming(AnimationNode*); | 42 explicit AnimationNodeTiming(AnimationNode*); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ | 47 #endif // SKY_ENGINE_CORE_ANIMATION_ANIMATIONNODETIMING_H_ |
| OLD | NEW |