| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 void attach(Animation*) override; | 102 void attach(Animation*) override; |
| 103 void detach() override; | 103 void detach() override; |
| 104 void specifiedTimingChanged() override; | 104 void specifiedTimingChanged() override; |
| 105 double calculateTimeToEffectChange(bool forwards, double inheritedTime, doub
le timeToNextIteration) const override; | 105 double calculateTimeToEffectChange(bool forwards, double inheritedTime, doub
le timeToNextIteration) const override; |
| 106 virtual bool hasIncompatibleStyle(); | 106 virtual bool hasIncompatibleStyle(); |
| 107 bool hasMultipleTransformProperties() const; | 107 bool hasMultipleTransformProperties() const; |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 KeyframeEffect(Element*, EffectModel*, const Timing&, Priority, EventDelegat
e*); | 110 KeyframeEffect(Element*, EffectModel*, const Timing&, Priority, EventDelegat
e*); |
| 111 | 111 |
| 112 RawPtrWillBeMember<Element> m_target; | 112 Member<Element> m_target; |
| 113 Member<EffectModel> m_model; | 113 Member<EffectModel> m_model; |
| 114 Member<SampledEffect> m_sampledEffect; | 114 Member<SampledEffect> m_sampledEffect; |
| 115 | 115 |
| 116 Priority m_priority; | 116 Priority m_priority; |
| 117 | 117 |
| 118 Vector<int> m_compositorAnimationIds; | 118 Vector<int> m_compositorAnimationIds; |
| 119 | 119 |
| 120 friend class AnimationAnimationV8Test; | 120 friend class AnimationAnimationV8Test; |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 DEFINE_TYPE_CASTS(KeyframeEffect, AnimationEffect, animationNode, animationNode-
>isKeyframeEffect(), animationNode.isKeyframeEffect()); | 123 DEFINE_TYPE_CASTS(KeyframeEffect, AnimationEffect, animationNode, animationNode-
>isKeyframeEffect(), animationNode.isKeyframeEffect()); |
| 124 | 124 |
| 125 } // namespace blink | 125 } // namespace blink |
| 126 | 126 |
| 127 #endif // KeyframeEffect_h | 127 #endif // KeyframeEffect_h |
| OLD | NEW |