Massage mouse wheel handling so that it is more cross-platform. Make
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 07:06:57 +0000 (07:06 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 07:06:57 +0000 (07:06 +0000)
commite13f25f8a21ad7858afc0cd940299e7db9eecdb6
tree8c776f65ad7c5b73d33fe119689b441b8db4bd7b
parent012feb0e88485f5bb292ce544c313124bda86bd3
    Massage mouse wheel handling so that it is more cross-platform.  Make
        all the work happen in handleWheelEvent on the FrameView.

        Reviewed by bradee-oh

        * bridge/mac/FrameMac.mm:
        (WebCore::FrameMac::wheelEvent):
        * page/FrameView.cpp:
        (WebCore::FrameView::handleWheelEvent):
        * platform/PlatformWheelEvent.h:
        (WebCore::PlatformWheelEvent::platformDelta):
        (WebCore::PlatformWheelEvent::delta):
        * platform/mac/WheelEventMac.mm:
        (WebCore::platformDeltaForEvent):
        (WebCore::PlatformWheelEvent::PlatformWheelEvent):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::scroll):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::scroll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/mac/FrameMac.mm
WebCore/page/FrameView.cpp
WebCore/platform/PlatformWheelEvent.h
WebCore/platform/mac/WheelEventMac.mm
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderObject.cpp