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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 void suspendAnimations(); | 78 void suspendAnimations(); |
79 void resumeAnimations(); | 79 void resumeAnimations(); |
80 void animationFrameCallbackFired(); | 80 void animationFrameCallbackFired(); |
81 | 81 |
82 void suspendAnimationsForDocument(Document*); | 82 void suspendAnimationsForDocument(Document*); |
83 void resumeAnimationsForDocument(Document*); | 83 void resumeAnimationsForDocument(Document*); |
84 | 84 |
85 bool isRunningAnimationOnRenderer(RenderObject*, CSSPropertyID, bool isRunni
ngNow) const; | 85 bool isRunningAnimationOnRenderer(RenderObject*, CSSPropertyID, bool isRunni
ngNow) const; |
86 bool isRunningAcceleratedAnimationOnRenderer(RenderObject*, CSSPropertyID, b
ool isRunningNow) const; | 86 bool isRunningAcceleratedAnimationOnRenderer(RenderObject*, CSSPropertyID, b
ool isRunningNow) const; |
87 | 87 |
88 bool pauseAnimationAtTime(RenderObject*, const AtomicString& name, double t)
; | 88 void pauseAnimationsForTesting(double t); |
89 bool pauseTransitionAtTime(RenderObject*, const String& property, double t); | |
90 unsigned numberOfActiveAnimations(Document*) const; | 89 unsigned numberOfActiveAnimations(Document*) const; |
91 | 90 |
92 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer); | 91 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer); |
93 | 92 |
94 double beginAnimationUpdateTime(); | 93 double beginAnimationUpdateTime(); |
95 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t;
} | 94 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t;
} |
96 void endAnimationUpdate(); | 95 void endAnimationUpdate(); |
97 void receivedStartTimeResponse(double); | 96 void receivedStartTimeResponse(double); |
98 | 97 |
99 void addToAnimationsWaitingForStyle(AnimationBase*); | 98 void addToAnimationsWaitingForStyle(AnimationBase*); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 134 |
136 typedef HashSet<RefPtr<AnimationBase> > WaitingAnimationsSet; | 135 typedef HashSet<RefPtr<AnimationBase> > WaitingAnimationsSet; |
137 WaitingAnimationsSet m_animationsWaitingForStyle; | 136 WaitingAnimationsSet m_animationsWaitingForStyle; |
138 WaitingAnimationsSet m_animationsWaitingForStartTimeResponse; | 137 WaitingAnimationsSet m_animationsWaitingForStartTimeResponse; |
139 bool m_waitingForAsyncStartNotification; | 138 bool m_waitingForAsyncStartNotification; |
140 }; | 139 }; |
141 | 140 |
142 } // namespace WebCore | 141 } // namespace WebCore |
143 | 142 |
144 #endif // AnimationControllerPrivate_h | 143 #endif // AnimationControllerPrivate_h |
OLD | NEW |