Skip to content
  • weinig@apple.com's avatar
    Move ScrollView scroll wheel code to ScrollAnimator. · 10187a97
    weinig@apple.com authored
    Reviewed by Adam Roben.
    
    * platform/ScrollAnimator.cpp:
    (WebCore::ScrollAnimator::handleWheelEvent):
    * platform/ScrollAnimator.h:
    Moved implementation of handleWheelEvent from ScrollView::wheelEvent.
    
    * platform/ScrollView.cpp:
    (WebCore::ScrollView::wheelEvent):
    Call down to the ScrollableArea.
    
    * platform/ScrollableArea.cpp:
    (WebCore::ScrollableArea::handleWheelEvent):
    Call down to the ScrollAnimator.
    
    * platform/ScrollableArea.h:
    (WebCore::ScrollableArea::scrollPosition):
    (WebCore::ScrollableArea::minimumScrollPosition):
    (WebCore::ScrollableArea::maximumScrollPosition):
    (WebCore::ScrollableArea::visibleContentRect):
    (WebCore::ScrollableArea::visibleHeight):
    (WebCore::ScrollableArea::visibleWidth):
    Add functions needed to implement wheel event in the animator.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    10187a97