| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 AnimationMap m_animations; | 188 AnimationMap m_animations; |
| 189 TransitionMap m_transitions; | 189 TransitionMap m_transitions; |
| 190 OwnPtr<CSSAnimationUpdate> m_pendingUpdate; | 190 OwnPtr<CSSAnimationUpdate> m_pendingUpdate; |
| 191 | 191 |
| 192 HashMap<CSSPropertyID, RefPtr<Interpolation> > m_previousActiveInterpolation
sForAnimations; | 192 HashMap<CSSPropertyID, RefPtr<Interpolation> > m_previousActiveInterpolation
sForAnimations; |
| 193 | 193 |
| 194 static void calculateAnimationUpdate(CSSAnimationUpdate*, Element*, const El
ement& parentElement, const RenderStyle&, RenderStyle* parentStyle, StyleResolve
r*); | 194 static void calculateAnimationUpdate(CSSAnimationUpdate*, Element*, const El
ement& parentElement, const RenderStyle&, RenderStyle* parentStyle, StyleResolve
r*); |
| 195 static void calculateTransitionUpdate(CSSAnimationUpdate*, const Element*, c
onst RenderStyle&); | 195 static void calculateTransitionUpdate(CSSAnimationUpdate*, const Element*, c
onst RenderStyle&); |
| 196 static void calculateTransitionUpdateForProperty(CSSPropertyID, const CSSAni
mationData*, const RenderStyle& oldStyle, const RenderStyle&, const TransitionMa
p* activeTransitions, CSSAnimationUpdate*, const Element*); | 196 static void calculateTransitionUpdateForProperty(CSSPropertyID, const CSSAni
mationData*, const RenderStyle& oldStyle, const RenderStyle&, const TransitionMa
p* activeTransitions, CSSAnimationUpdate*, const Element*); |
| 197 | 197 |
| 198 static void calculateAnimationActiveInterpolations(CSSAnimationUpdate*, cons
t Element*); | 198 static void calculateAnimationActiveInterpolations(CSSAnimationUpdate*, cons
t Element*, double timelineCurrentTime); |
| 199 static void calculateTransitionActiveInterpolations(CSSAnimationUpdate*, con
st Element*); | 199 static void calculateTransitionActiveInterpolations(CSSAnimationUpdate*, con
st Element*, double timelineCurrentTime); |
| 200 | 200 |
| 201 class AnimationEventDelegate FINAL : public TimedItem::EventDelegate { | 201 class AnimationEventDelegate FINAL : public TimedItem::EventDelegate { |
| 202 public: | 202 public: |
| 203 AnimationEventDelegate(Element* target, const AtomicString& name) | 203 AnimationEventDelegate(Element* target, const AtomicString& name) |
| 204 : m_target(target) | 204 : m_target(target) |
| 205 , m_name(name) | 205 , m_name(name) |
| 206 { | 206 { |
| 207 } | 207 } |
| 208 virtual void onEventCondition(const TimedItem*, bool isFirstSample, Time
dItem::Phase previousPhase, double previousIteration) OVERRIDE; | 208 virtual void onEventCondition(const TimedItem*, bool isFirstSample, Time
dItem::Phase previousPhase, double previousIteration) OVERRIDE; |
| 209 private: | 209 private: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 222 virtual void onEventCondition(const TimedItem*, bool isFirstSample, Time
dItem::Phase previousPhase, double previousIteration) OVERRIDE; | 222 virtual void onEventCondition(const TimedItem*, bool isFirstSample, Time
dItem::Phase previousPhase, double previousIteration) OVERRIDE; |
| 223 private: | 223 private: |
| 224 Element* m_target; | 224 Element* m_target; |
| 225 const CSSPropertyID m_property; | 225 const CSSPropertyID m_property; |
| 226 }; | 226 }; |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace WebCore | 229 } // namespace WebCore |
| 230 | 230 |
| 231 #endif | 231 #endif |
| OLD | NEW |