OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/animation/AnimationEffectTiming.h" | 35 #include "core/animation/AnimationEffectTiming.h" |
36 #include "core/animation/EffectModel.h" | 36 #include "core/animation/EffectModel.h" |
37 #include "core/animation/KeyframeEffectReadOnly.h" | 37 #include "core/animation/KeyframeEffectReadOnly.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class Element; | 41 class Element; |
42 class ExceptionState; | 42 class ExceptionState; |
43 class KeyframeEffectOptions; | 43 class KeyframeEffectOptions; |
44 class PropertyHandle; | |
45 | 44 |
46 // Represents the effect of an Animation on an Element's properties. | 45 // Represents the effect of an Animation on an Element's properties. |
47 // http://w3c.github.io/web-animations/#keyframe-effect | 46 // http://w3c.github.io/web-animations/#keyframe-effect |
48 class CORE_EXPORT KeyframeEffect final : public KeyframeEffectReadOnly { | 47 class CORE_EXPORT KeyframeEffect final : public KeyframeEffectReadOnly { |
49 DEFINE_WRAPPERTYPEINFO(); | 48 DEFINE_WRAPPERTYPEINFO(); |
50 | 49 |
51 public: | 50 public: |
52 static KeyframeEffect* create(Element*, | 51 static KeyframeEffect* create(Element*, |
53 EffectModel*, | 52 EffectModel*, |
54 const Timing&, | 53 const Timing&, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 89 |
91 DEFINE_TYPE_CASTS(KeyframeEffect, | 90 DEFINE_TYPE_CASTS(KeyframeEffect, |
92 AnimationEffectReadOnly, | 91 AnimationEffectReadOnly, |
93 animationNode, | 92 animationNode, |
94 animationNode->isKeyframeEffect(), | 93 animationNode->isKeyframeEffect(), |
95 animationNode.isKeyframeEffect()); | 94 animationNode.isKeyframeEffect()); |
96 | 95 |
97 } // namespace blink | 96 } // namespace blink |
98 | 97 |
99 #endif // KeyframeEffect_h | 98 #endif // KeyframeEffect_h |
OLD | NEW |