[webkit-changes] [WebKit/WebKit] ad7981: [web-animations] move AnimationEvent and Transitio...

Antoine Quint noreply at github.com
Sat Nov 26 11:49:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ad7981b66a8d23c1f37f498aae3e00c9e7e2ffd4
      https://github.com/WebKit/WebKit/commit/ad7981b66a8d23c1f37f498aae3e00c9e7e2ffd4
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2022-11-26 (Sat, 26 Nov 2022)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/animation/AnimationEvent.cpp
    A Source/WebCore/animation/AnimationEvent.h
    A Source/WebCore/animation/AnimationEvent.idl
    M Source/WebCore/animation/KeyframeEffectStack.cpp
    A Source/WebCore/animation/TransitionEvent.cpp
    A Source/WebCore/animation/TransitionEvent.h
    A Source/WebCore/animation/TransitionEvent.idl
    R Source/WebCore/dom/AnimationEvent.cpp
    R Source/WebCore/dom/AnimationEvent.h
    R Source/WebCore/dom/AnimationEvent.idl
    R Source/WebCore/dom/TransitionEvent.cpp
    R Source/WebCore/dom/TransitionEvent.h
    R Source/WebCore/dom/TransitionEvent.idl

  Log Message:
  -----------
  [web-animations] move AnimationEvent and TransitionEvent to Source/WebCore/animation
https://bugs.webkit.org/show_bug.cgi?id=248364

Reviewed by Alexey Shvayka.

These files are currently located un Source/WebCore/dom but they would be a better
fit under Source/WebCore/animation along with the rest of the animation code.

We also need to fix a missing include in KeyframeEffectStack.cpp which causes a
build failure on macOS.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/animation/AnimationEvent.cpp: Renamed from Source/WebCore/dom/AnimationEvent.cpp.
(WebCore::AnimationEvent::AnimationEvent):
(WebCore::AnimationEvent::animationName const):
(WebCore::AnimationEvent::elapsedTime const):
(WebCore::AnimationEvent::pseudoElement const):
(WebCore::AnimationEvent::eventInterface const):
* Source/WebCore/animation/AnimationEvent.h: Renamed from Source/WebCore/dom/AnimationEvent.h.
* Source/WebCore/animation/AnimationEvent.idl: Renamed from Source/WebCore/dom/AnimationEvent.idl.
* Source/WebCore/animation/KeyframeEffectStack.cpp:
* Source/WebCore/animation/TransitionEvent.cpp: Renamed from Source/WebCore/dom/TransitionEvent.cpp.
(WebCore::TransitionEvent::TransitionEvent):
(WebCore::TransitionEvent::propertyName const):
(WebCore::TransitionEvent::elapsedTime const):
(WebCore::TransitionEvent::pseudoElement const):
(WebCore::TransitionEvent::eventInterface const):
* Source/WebCore/animation/TransitionEvent.h: Renamed from Source/WebCore/dom/TransitionEvent.h.
* Source/WebCore/animation/TransitionEvent.idl: Renamed from Source/WebCore/dom/TransitionEvent.idl.

Canonical link: https://commits.webkit.org/257037@main




More information about the webkit-changes mailing list