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