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

Side by Side Diff: Source/core/page/animation/AnimationControllerPrivate.h

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/core/page/animation/AnimationController.cpp ('k') | Source/core/page/animation/CSSPropertyAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698