| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 void updateStyleIfNeededDispatcherFired(Timer<AnimationControllerPrivate>*); | 70 void updateStyleIfNeededDispatcherFired(Timer<AnimationControllerPrivate>*); |
| 71 void startUpdateStyleIfNeededDispatcher(); | 71 void startUpdateStyleIfNeededDispatcher(); |
| 72 void addEventToDispatch(PassRefPtr<Element> element, const AtomicString& eve
ntType, const String& name, double elapsedTime); | 72 void addEventToDispatch(PassRefPtr<Element> element, const AtomicString& eve
ntType, const String& name, double elapsedTime); |
| 73 void addNodeChangeToDispatch(PassRefPtr<Node>); | 73 void addNodeChangeToDispatch(PassRefPtr<Node>); |
| 74 | 74 |
| 75 bool hasAnimations() const { return !m_compositeAnimations.isEmpty(); } | 75 bool hasAnimations() const { return !m_compositeAnimations.isEmpty(); } |
| 76 | 76 |
| 77 void serviceAnimations(); | 77 void serviceAnimations(); |
| 78 | 78 |
| 79 bool isRunningAnimationOnRenderer(RenderObject*, CSSPropertyID, bool isRunni
ngNow) const; | 79 bool isRunningAnimationOnRenderer(const RenderObject*, CSSPropertyID, bool i
sRunningNow) const; |
| 80 bool isRunningAcceleratableAnimationOnRenderer(RenderObject*) const; | 80 bool isRunningAcceleratableAnimationOnRenderer(const RenderObject*) const; |
| 81 bool isRunningAcceleratedAnimationOnRenderer(RenderObject*, CSSPropertyID, b
ool isRunningNow) const; | 81 bool isRunningAcceleratedAnimationOnRenderer(const RenderObject*, CSSPropert
yID, bool isRunningNow) const; |
| 82 | 82 |
| 83 void pauseAnimationsForTesting(double t); | 83 void pauseAnimationsForTesting(double t); |
| 84 unsigned numberOfActiveAnimations(Document*) const; | 84 unsigned numberOfActiveAnimations(Document*) const; |
| 85 | 85 |
| 86 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer); | 86 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer); |
| 87 | 87 |
| 88 double beginAnimationUpdateTime(); | 88 double beginAnimationUpdateTime(); |
| 89 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t;
} | 89 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t;
} |
| 90 void endAnimationUpdate(); | 90 void endAnimationUpdate(); |
| 91 void receivedStartTimeResponse(double); | 91 void receivedStartTimeResponse(double); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 typedef HashSet<RefPtr<AnimationBase> > WaitingAnimationsSet; | 132 typedef HashSet<RefPtr<AnimationBase> > WaitingAnimationsSet; |
| 133 WaitingAnimationsSet m_animationsWaitingForStyle; | 133 WaitingAnimationsSet m_animationsWaitingForStyle; |
| 134 WaitingAnimationsSet m_animationsWaitingForStartTimeResponse; | 134 WaitingAnimationsSet m_animationsWaitingForStartTimeResponse; |
| 135 WaitingAnimationsSet m_animationsWaitingForAsyncStartNotification; | 135 WaitingAnimationsSet m_animationsWaitingForAsyncStartNotification; |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } // namespace WebCore | 138 } // namespace WebCore |
| 139 | 139 |
| 140 #endif // AnimationControllerPrivate_h | 140 #endif // AnimationControllerPrivate_h |
| OLD | NEW |