gecko-dev/dom/animation
Hiroyuki Ikezoe 75fc208a71 Bug 1415780 - De-templatize AnimationEventDispatcher. r=birtles,masayuki
Now single AnimationEventDispatcher can handle both CSS animation/transition
events simultaneously.  To do this we had to change AnimationEventInfo and
TransitionEventInfo into a single struct, the struct is also named
AnimationEventInfo.

It results we can sort both CSS animation/transition events altogether.  Thus
we make sure CSS animation/transition events are sorted by scheduled event time
prior to their composite order (i.e. transitions is prior to animations).

At this moment, we don't sort both events altogether since nsAnimationManager
and nsTransitionManager has an AnimationEventDispatcher respectively.  In the
next patch we move AnimationEventDispatcher into nsPresContext, i.e. each
document has an AnimationEventDispatcher without the distinction between
CSS animations and transitions.

Note that, after this patch, we copy all members in InternalTransitionEvent and
InternalAnimationEvent in the copy-constructor of AnimationEventInfo, this
will be fixed once WidgetEvent has move-constructor and move-assignment
(bug 1433008).

MozReview-Commit-ID: 5JAh6N7C6ee

--HG--
extra : rebase_source : 50da76f51cf65cdd1245d93d8b48aaf0ae0ec94b
2018-01-27 21:17:27 +09:00
..
test Bug 1430654 - Use assert_times_equal for comparing timing values. r=birtles 2018-01-22 14:57:57 +09:00
Animation.cpp Backed out 12 changesets (bug 1415780) for build bustages nsRefreshDriver.cpp:1606:1 and AnimationCommon.h:168:51 on a CLOSED TREE 2018-01-27 12:47:29 +02:00
Animation.h Bug 1430975 - Don't pass a copy of StickyTimeDuration. r=boris 2018-01-17 18:05:03 +09:00
AnimationComparator.h Bug 1417365 - Unified build issues in dom/animation. r=baku 2017-10-26 11:55:28 +01:00
AnimationEffectReadOnly.cpp Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
AnimationEffectReadOnly.h Bug 1379564 - Use BaseTimeDuration::bool() to check the TimeDuration is not zero. r=birtles 2017-07-10 16:21:30 +09:00
AnimationEffectTiming.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTiming.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTimingReadOnly.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTimingReadOnly.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEventDispatcher.h Bug 1415780 - De-templatize AnimationEventDispatcher. r=birtles,masayuki 2018-01-27 21:17:27 +09:00
AnimationPerformanceWarning.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
AnimationPerformanceWarning.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
AnimationPropertySegment.h
AnimationTarget.h
AnimationTimeline.cpp Bug 1374125 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj 2017-06-19 18:19:14 +02:00
AnimationTimeline.h
AnimationUtils.cpp Bug 1418220 - Drop AnimationUtils::IsCoreAPIEnabled(ForCaller) and use nsContentUtils::AnimationsAPICoreEnabled / nsDocument::IsWebAnimationsEnabled instead; r=hiro 2017-11-20 14:18:43 +09:00
AnimationUtils.h Bug 1418220 - Drop AnimationUtils::IsCoreAPIEnabled(ForCaller) and use nsContentUtils::AnimationsAPICoreEnabled / nsDocument::IsWebAnimationsEnabled instead; r=hiro 2017-11-20 14:18:43 +09:00
AnimValuesStyleRule.cpp Bug 1384542: Move GetParent and IsLinkContext to GeckoStyleContext. r=heycam 2017-07-31 14:32:59 +02:00
AnimValuesStyleRule.h
ComputedTiming.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00
ComputedTimingFunction.cpp
ComputedTimingFunction.h Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
CSSPseudoElement.cpp Bug 1413216 - Fix some missing includes in dom code. r=baku 2017-10-12 13:50:23 +01:00
CSSPseudoElement.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DocumentTimeline.cpp Bug 1416966 - Perform a micro task checkpoint in DocumentTimeline::WillRefresh. r=bevis,birtles 2017-12-12 18:44:05 +09:00
DocumentTimeline.h
EffectCompositor.cpp Bug 1417365 - Unified build issues in dom/animation. r=baku 2017-10-26 11:55:28 +01:00
EffectCompositor.h Bug 1406750: Fix detection of animations to avoid flushing. r=hiro,birtles 2017-10-25 19:02:01 +02:00
EffectSet.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EffectSet.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
Keyframe.h Bug 1381389 - Append PropertyValuePair objects on Gecko side so they are initialized correctly; r=hiro 2017-07-20 14:38:54 +09:00
KeyframeEffect.cpp Bug 1413104 - Drop telemetry probes for layer size; r=botond 2017-12-14 21:36:09 +00:00
KeyframeEffect.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectParams.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00
KeyframeEffectReadOnly.cpp Bug 1425213 - Unthrottle transform animations regardless in overflowable frames or not. r=hiro 2018-01-17 22:44:00 +02:00
KeyframeEffectReadOnly.h Bug 1425213 - Unthrottle transform animations regardless in overflowable frames or not. r=hiro 2018-01-17 22:44:00 +02:00
KeyframeUtils.cpp Bug 1432104 - KeyframeUtils::GetAnimationPropertiesFromKeyframes needs specializations both for GeckoStyleContext* and const ServoStyleContext*. r=birtles 2018-01-22 19:19:41 +09:00
KeyframeUtils.h Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
moz.build Bug 1415780 - Split AnimationEventDipatcher into an independent file. r=birtles 2018-01-27 21:17:27 +09:00
PendingAnimationTracker.cpp Bug 1403433 - Add another variant of SchedulePaint that does not call InvalidateRenderingObservers for PendingAnimationTracker. r=birtles 2017-09-29 19:42:13 +09:00
PendingAnimationTracker.h Bug 1282691 - Drop the assertion about an animation that we're making play-pending not already being pause-pending; r=boris 2017-10-13 14:37:51 +09:00
PseudoElementHashEntry.h
TimingParams.cpp Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam 2017-12-01 17:35:47 +08:00
TimingParams.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00