Confirmed users
220
edits
No edit summary |
|||
Line 8: | Line 8: | ||
== Class Structure and Relationship == | == Class Structure and Relationship == | ||
=== AnimationCommon.h === | === AnimationCommon.h === | ||
'''class CommonAnimationManager''' | |||
* The base class of nsAnimationManager and nsTransitionManager. | |||
* Hooks up with refresh driver and style rule processor. | |||
* ''ExtractComputedValueForTransition()'' | |||
** Calls ''nsStyleAnimation::ExtractComputedValue(aProperty, aStyleContext, aComputedValue);'' to get the computed value for the given property(width, color...etc.) from the given style context. | |||
** This method is called whem building an animation segment, starting a transition, or a style context change for transition. | |||
* Adds a CommonElementAnimationData with AddElementData(). | |||
== Overview of how they work == | == Overview of how they work == | ||
=== nsTransitionManager.h === | === nsTransitionManager.h === | ||
=== nsAnimationManager.h === | === nsAnimationManager.h === | ||
== What's Next == | == What's Next == |