Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/WebKit/WebCore/page/animation/AnimationControllerPrivate.h

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 12 matching lines...) Expand all
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef AnimationControllerPrivate_h 29 #ifndef AnimationControllerPrivate_h
30 #define AnimationControllerPrivate_h 30 #define AnimationControllerPrivate_h
31 31
32 #include "AtomicString.h" 32 #include "AtomicString.h"
33 #include "CSSPropertyNames.h"
34 #include "PlatformString.h" 33 #include "PlatformString.h"
35 #include "Timer.h" 34 #include "Timer.h"
36 #include <wtf/HashMap.h> 35 #include <wtf/HashMap.h>
37 #include <wtf/PassRefPtr.h> 36 #include <wtf/PassRefPtr.h>
38 #include <wtf/RefPtr.h> 37 #include <wtf/RefPtr.h>
39 #include <wtf/Vector.h> 38 #include <wtf/Vector.h>
40 39
41 namespace WebCore { 40 namespace WebCore {
42 41
43 class AnimationBase; 42 class AnimationBase;
(...skipping 19 matching lines...) Expand all
63 void updateRenderingDispatcherFired(Timer<AnimationControllerPrivate>*); 62 void updateRenderingDispatcherFired(Timer<AnimationControllerPrivate>*);
64 void startUpdateRenderingDispatcher(); 63 void startUpdateRenderingDispatcher();
65 void addEventToDispatch(PassRefPtr<Element> element, const AtomicString& eve ntType, const String& name, double elapsedTime); 64 void addEventToDispatch(PassRefPtr<Element> element, const AtomicString& eve ntType, const String& name, double elapsedTime);
66 void addNodeChangeToDispatch(PassRefPtr<Node>); 65 void addNodeChangeToDispatch(PassRefPtr<Node>);
67 66
68 bool hasAnimations() const { return !m_compositeAnimations.isEmpty(); } 67 bool hasAnimations() const { return !m_compositeAnimations.isEmpty(); }
69 68
70 void suspendAnimations(Document*); 69 void suspendAnimations(Document*);
71 void resumeAnimations(Document*); 70 void resumeAnimations(Document*);
72 71
73 bool isAnimatingPropertyOnRenderer(RenderObject*, CSSPropertyID, bool isRunn ingNow) const; 72 bool isAnimatingPropertyOnRenderer(RenderObject*, int property, bool isRunni ngNow) const;
74 73
75 bool pauseAnimationAtTime(RenderObject*, const String& name, double t); 74 bool pauseAnimationAtTime(RenderObject*, const String& name, double t);
76 bool pauseTransitionAtTime(RenderObject*, const String& property, double t); 75 bool pauseTransitionAtTime(RenderObject*, const String& property, double t);
77 unsigned numberOfActiveAnimations() const; 76 unsigned numberOfActiveAnimations() const;
78 77
79 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer); 78 PassRefPtr<RenderStyle> getAnimatedStyleForRenderer(RenderObject* renderer);
80 79
81 double beginAnimationUpdateTime(); 80 double beginAnimationUpdateTime();
82 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t; } 81 void setBeginAnimationUpdateTime(double t) { m_beginAnimationUpdateTime = t; }
83 void endAnimationUpdate() 82 void endAnimationUpdate()
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 AnimationBase* m_lastStyleAvailableWaiter; 125 AnimationBase* m_lastStyleAvailableWaiter;
127 126
128 AnimationBase* m_responseWaiters; 127 AnimationBase* m_responseWaiters;
129 AnimationBase* m_lastResponseWaiter; 128 AnimationBase* m_lastResponseWaiter;
130 bool m_waitingForAResponse; 129 bool m_waitingForAResponse;
131 }; 130 };
132 131
133 } // namespace WebCore 132 } // namespace WebCore
134 133
135 #endif // AnimationControllerPrivate_h 134 #endif // AnimationControllerPrivate_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698