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

Side by Side Diff: Source/core/animation/css/CSSAnimations.h

Issue 1329843002: Support per property CSS Animation stacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Lint Created 5 years, 3 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 }; 122 };
123 123
124 using AnimationMap = HeapHashMap<AtomicString, Member<RunningAnimation>>; 124 using AnimationMap = HeapHashMap<AtomicString, Member<RunningAnimation>>;
125 AnimationMap m_animations; 125 AnimationMap m_animations;
126 126
127 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>; 127 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>;
128 TransitionMap m_transitions; 128 TransitionMap m_transitions;
129 129
130 CSSAnimationUpdate m_pendingUpdate; 130 CSSAnimationUpdate m_pendingUpdate;
131 131
132 ActiveInterpolationMap m_previousActiveInterpolationsForAnimations; 132 ActiveInterpolationsMap m_previousActiveInterpolationsForAnimations;
133 133
134 static void calculateAnimationUpdate(CSSAnimationUpdate&, const Element* ani matingElement, Element&, const ComputedStyle&, ComputedStyle* parentStyle, Style Resolver*); 134 static void calculateAnimationUpdate(CSSAnimationUpdate&, const Element* ani matingElement, Element&, const ComputedStyle&, ComputedStyle* parentStyle, Style Resolver*);
135 static void calculateTransitionUpdate(CSSAnimationUpdate&, const Element* an imatingElement, const ComputedStyle&); 135 static void calculateTransitionUpdate(CSSAnimationUpdate&, const Element* an imatingElement, const ComputedStyle&);
136 static void calculateTransitionUpdateForProperty(CSSPropertyID, const CSSTra nsitionData&, size_t transitionIndex, const ComputedStyle& oldStyle, const Compu tedStyle&, const TransitionMap* activeTransitions, CSSAnimationUpdate&, const El ement*); 136 static void calculateTransitionUpdateForProperty(CSSPropertyID, const CSSTra nsitionData&, size_t transitionIndex, const ComputedStyle& oldStyle, const Compu tedStyle&, const TransitionMap* activeTransitions, CSSAnimationUpdate&, const El ement*);
137 137
138 static void calculateAnimationActiveInterpolations(CSSAnimationUpdate&, cons t Element* animatingElement, double timelineCurrentTime); 138 static void calculateAnimationActiveInterpolations(CSSAnimationUpdate&, cons t Element* animatingElement, double timelineCurrentTime);
139 static void calculateTransitionActiveInterpolations(CSSAnimationUpdate&, con st Element* animatingElement, double timelineCurrentTime); 139 static void calculateTransitionActiveInterpolations(CSSAnimationUpdate&, con st Element* animatingElement, double timelineCurrentTime);
140 140
141 class AnimationEventDelegate final : public AnimationEffect::EventDelegate { 141 class AnimationEventDelegate final : public AnimationEffect::EventDelegate {
142 public: 142 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 RawPtrWillBeMember<Element> m_transitionTarget; 184 RawPtrWillBeMember<Element> m_transitionTarget;
185 const CSSPropertyID m_property; 185 const CSSPropertyID m_property;
186 AnimationEffect::Phase m_previousPhase; 186 AnimationEffect::Phase m_previousPhase;
187 }; 187 };
188 }; 188 };
189 189
190 } // namespace blink 190 } // namespace blink
191 191
192 #endif 192 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/css/CSSAnimationUpdate.h ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698