[webkit-changes] [WebKit/WebKit] 439e1e: [web-animations] Refactor Animation::AnimationDire...

Antoine Quint noreply at github.com
Tue May 30 14:44:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 439e1e3a5a82fefbd6c0c1e86031a1e916b2800e
      https://github.com/WebKit/WebKit/commit/439e1e3a5a82fefbd6c0c1e86031a1e916b2800e
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M Source/WebCore/animation/CSSAnimation.cpp
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/css/CSSToStyleMap.cpp
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/platform/animation/Animation.cpp
    M Source/WebCore/platform/animation/Animation.h
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp
    M Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h

  Log Message:
  -----------
  [web-animations] Refactor Animation::AnimationDirection into an enum class
https://bugs.webkit.org/show_bug.cgi?id=256638

Reviewed by Dean Jackson.

Animation::AnimationDirection is now Animation::Direction.

* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::syncPropertiesWithBackingAnimation):
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::backingAnimationForCompositedRenderer const):
* Source/WebCore/css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapAnimationDirection):
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::valueForAnimationDirection):
* Source/WebCore/platform/animation/Animation.cpp:
(WebCore::Animation::Animation):
(WebCore::operator<<):
* Source/WebCore/platform/animation/Animation.h:
(WebCore::Animation::direction const):
(WebCore::Animation::directionIsForwards const):
(WebCore::Animation::setDirection):
(WebCore::Animation::fillDirection):
(WebCore::Animation::initialDirection):
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setupAnimation):
* Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp:
(Nicosia::shouldReverseAnimationValue):
(Nicosia::normalizedAnimationValue):
(Nicosia::normalizedAnimationValueForFillsForwards):
* Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h:

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




More information about the webkit-changes mailing list