[webkit-changes] [WebKit/WebKit] 65da5f: [web-animations] prefix AnimationEvent and Transit...

Antoine Quint noreply at github.com
Sat Nov 26 14:26:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65da5f9b2e68fb35c7e4e43b77281d005180d4ce
      https://github.com/WebKit/WebKit/commit/65da5f9b2e68fb35c7e4e43b77281d005180d4ce
  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-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    R Source/WebCore/animation/AnimationEvent.cpp
    R Source/WebCore/animation/AnimationEvent.h
    R Source/WebCore/animation/AnimationEvent.idl
    M Source/WebCore/animation/AnimationEventBase.h
    M Source/WebCore/animation/CSSAnimation.cpp
    A Source/WebCore/animation/CSSAnimationEvent.cpp
    A Source/WebCore/animation/CSSAnimationEvent.h
    A Source/WebCore/animation/CSSAnimationEvent.idl
    M Source/WebCore/animation/CSSTransition.cpp
    A Source/WebCore/animation/CSSTransitionEvent.cpp
    A Source/WebCore/animation/CSSTransitionEvent.h
    A Source/WebCore/animation/CSSTransitionEvent.idl
    M Source/WebCore/animation/DeclarativeAnimation.cpp
    R Source/WebCore/animation/TransitionEvent.cpp
    R Source/WebCore/animation/TransitionEvent.h
    R Source/WebCore/animation/TransitionEvent.idl
    M Source/WebCore/animation/WebAnimationUtilities.cpp
    M Source/WebCore/dom/EventNames.in

  Log Message:
  -----------
  [web-animations] prefix AnimationEvent and TransitionEvent internal names with CSS
https://bugs.webkit.org/show_bug.cgi?id=248365

Reviewed by Dean Jackson.

We rename the AnimationEvent and TransitionEvent source files internally to have a CSS prefix and
make it clearer how they relate to CSSAnimation and CSSTransition classes.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/animation/AnimationEventBase.h:
(WebCore::AnimationEventBase::isCSSAnimationEvent const):
(WebCore::AnimationEventBase::isCSSTransitionEvent const):
(WebCore::AnimationEventBase::isAnimationEvent const): Deleted.
(WebCore::AnimationEventBase::isTransitionEvent const): Deleted.
* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::createEvent):
* Source/WebCore/animation/CSSAnimationEvent.cpp: Renamed from Source/WebCore/animation/AnimationEvent.cpp.
(WebCore::CSSAnimationEvent::CSSAnimationEvent):
(WebCore::CSSAnimationEvent::animationName const):
(WebCore::CSSAnimationEvent::elapsedTime const):
(WebCore::CSSAnimationEvent::pseudoElement const):
(WebCore::CSSAnimationEvent::eventInterface const):
* Source/WebCore/animation/CSSAnimationEvent.h: Renamed from Source/WebCore/animation/AnimationEvent.h.
* Source/WebCore/animation/CSSAnimationEvent.idl: Renamed from Source/WebCore/animation/AnimationEvent.idl.
* Source/WebCore/animation/CSSTransition.cpp:
(WebCore::CSSTransition::createEvent):
* Source/WebCore/animation/CSSTransitionEvent.cpp: Renamed from Source/WebCore/animation/TransitionEvent.cpp.
(WebCore::CSSTransitionEvent::CSSTransitionEvent):
(WebCore::CSSTransitionEvent::propertyName const):
(WebCore::CSSTransitionEvent::elapsedTime const):
(WebCore::CSSTransitionEvent::pseudoElement const):
(WebCore::CSSTransitionEvent::eventInterface const):
* Source/WebCore/animation/CSSTransitionEvent.h: Renamed from Source/WebCore/animation/TransitionEvent.h.
* Source/WebCore/animation/CSSTransitionEvent.idl: Renamed from Source/WebCore/animation/TransitionEvent.idl.
* Source/WebCore/animation/DeclarativeAnimation.cpp:
* Source/WebCore/animation/WebAnimationUtilities.cpp:
(WebCore::compareAnimationEventsByCompositeOrder):
* Source/WebCore/dom/EventNames.in:

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




More information about the webkit-changes mailing list