[webkit-changes] [WebKit/WebKit] e4d5fc: [scroll-animations] Move some functions from Docum...

Nikos Mouchtaris noreply at github.com
Thu Sep 12 12:23:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4d5fc8e99945e2e1e6aed054d54fddb399c1a47
      https://github.com/WebKit/WebKit/commit/e4d5fc8e99945e2e1e6aed054d54fddb399c1a47
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M Source/WebCore/animation/AnimationTimeline.cpp
    M Source/WebCore/animation/AnimationTimeline.h
    M Source/WebCore/animation/AnimationTimelinesController.cpp
    M Source/WebCore/animation/DocumentTimeline.cpp
    M Source/WebCore/animation/DocumentTimeline.h
    M Source/WebCore/animation/ScrollTimeline.cpp
    M Source/WebCore/animation/ScrollTimeline.h
    M Source/WebCore/animation/ViewTimeline.cpp
    M Source/WebCore/animation/ViewTimeline.h

  Log Message:
  -----------
  [scroll-animations] Move some functions from DocumentTimeline to AnimationTimeline
https://bugs.webkit.org/show_bug.cgi?id=279466
rdar://135748611

Reviewed by Antoine Quint.

Move some functions on DocumentTimeline to the AnimationTimeline superclass.

* Source/WebCore/animation/AnimationTimeline.cpp:
(WebCore::AnimationTimeline::detachFromDocument):
(WebCore::AnimationTimeline::suspendAnimations):
(WebCore::AnimationTimeline::resumeAnimations):
(WebCore::AnimationTimeline::animationsAreSuspended const):
* Source/WebCore/animation/AnimationTimeline.h:
(WebCore::AnimationTimeline::documentWillUpdateAnimationsAndSendEvents):
(WebCore::AnimationTimeline::controller const):
* Source/WebCore/animation/DocumentTimeline.cpp:
(WebCore::DocumentTimeline::detachFromDocument):
(WebCore::DocumentTimeline::suspendAnimations):
(WebCore::DocumentTimeline::resumeAnimations):
(WebCore::DocumentTimeline::animationsAreSuspended const): Deleted.
* Source/WebCore/animation/DocumentTimeline.h:
* Source/WebCore/animation/ScrollTimeline.cpp:
(WebCore::ScrollTimeline::ScrollTimeline):
(WebCore::ScrollTimeline::controller const):
* Source/WebCore/animation/ScrollTimeline.h:
* Source/WebCore/animation/ViewTimeline.cpp:
(WebCore::ViewTimeline::ViewTimeline):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list