1. 08 Oct, 2020 2 commits
  2. 07 Oct, 2020 2 commits
    • Alexander Mikhaylenko's avatar
    • clord@igalia.com's avatar
      Add support for smooth scrolling animation with async scrolling... · 9e48fb46
      clord@igalia.com authored
      Add support for smooth scrolling animation with async scrolling https://bugs.webkit.org/show_bug.cgi?id=210382
      
      Reviewed by Carlos Garcia Campos.
      
      This removes the dependency on ScrollableArea from
      ScrollAnimationSmooth, which allows its use as a utility class for
      smooth scrolling. This class is then used in the Nicosia async layer
      composition scrolling code to provide smooth scrolling, when the
      feature is enabled. This mirrors the work done in bug 209230 for
      kinetic scrolling.
      
      No new tests, enabling existing functionality in more situations.
      
      * page/scrolling/ScrollingTreeScrollingNode.cpp:
      (WebCore::ScrollingTreeScrollingNode::scrollTo):
      * page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.cpp:
      (WebCore::ScrollingTreeFrameScrollingNodeNicosia::ScrollingTreeFrameScrollingNodeNicosia):
      (WebCore::ScrollingTreeFrameScrollingNodeNicosia::commitStateAfterChildren):
      (WebCore::ScrollingTreeFrameScrollingNodeNicosia::handleWheelEvent):
      (WebCore::ScrollingTreeFrameScrollingNodeNicosia::stopScrollAnimations):
      * page/scrolling/nicosia/ScrollingTreeFrameScrollingNodeNicosia.h:
      * page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.cpp:
      (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::ScrollingTreeOverflowScrollingNodeNicosia):
      (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::commitStateAfterChildren):
      (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::handleWheelEvent):
      (WebCore::ScrollingTreeOverflowScrollingNodeNicosia::stopScrollAnimations):
      * page/scrolling/nicosia/ScrollingTreeOverflowScrollingNodeNicosia.h:
      * platform/ScrollAnimation.h:
      (WebCore::ScrollAnimation::serviceAnimation):
      * platform/ScrollAnimationKinetic.cpp:
      * platform/ScrollAnimationKinetic.h:
      * platform/ScrollAnimationSmooth.cpp:
      (WebCore::ScrollAnimationSmooth::ScrollAnimationSmooth):
      (WebCore::ScrollAnimationSmooth::scroll):
      (WebCore::ScrollAnimationSmooth::stop):
      (WebCore::ScrollAnimationSmooth::updateVisibleLengths):
      (WebCore::ScrollAnimationSmooth::animationTimerFired):
      * platform/ScrollAnimationSmooth.h:
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::ScrollAnimator):
      * platform/generic/ScrollAnimatorGeneric.cpp:
      (WebCore::ScrollAnimatorGeneric::ScrollAnimatorGeneric):
      (WebCore::ScrollAnimatorGeneric::ensureSmoothScrollingAnimation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@266390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e48fb46
  3. 06 Oct, 2020 1 commit
  4. 01 Oct, 2020 2 commits
  5. 30 Sep, 2020 3 commits
  6. 27 Sep, 2020 1 commit
  7. 21 Sep, 2020 7 commits
  8. 14 Sep, 2020 1 commit
  9. 11 Sep, 2020 5 commits
  10. 04 Sep, 2020 4 commits
  11. 14 Aug, 2020 8 commits
  12. 29 Jul, 2020 4 commits