Fix for 10945, WheelEvent should support two dimensions at once, since
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 09:52:25 +0000 (09:52 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Sep 2006 09:52:25 +0000 (09:52 +0000)
commit2c02e0f2bafd6c0c43699ff4587179d7a086ca58
tree449e5b1e2d73433d8cb7519573723f780a4396c9
parent44decc15fc0aeff25bb499715332b9c84bbe5667
    Fix for 10945, WheelEvent should support two dimensions at once, since
        MacBooks allow for diagonal scrolling.  Also enhance the PlatformWheelEvent
        to allow for diagonal scrolling.

        Reviewed by Eric

        * dom/EventTargetNode.cpp:
        (WebCore::EventTargetNode::dispatchWheelEvent):
        * dom/WheelEvent.cpp:
        (WebCore::WheelEvent::WheelEvent):
        (WebCore::WheelEvent::initWheelEvent):
        * dom/WheelEvent.h:
        (WebCore::WheelEvent::wheelDelta):
        (WebCore::WheelEvent::wheelDeltaX):
        (WebCore::WheelEvent::wheelDeltaY):
        * dom/WheelEvent.idl:
        * page/FrameView.cpp:
        (WebCore::FrameView::handleWheelEvent):
        * platform/PlatformWheelEvent.h:
        (WebCore::PlatformWheelEvent::deltaX):
        (WebCore::PlatformWheelEvent::deltaY):
        (WebCore::PlatformWheelEvent::normalize):
        * platform/mac/WheelEventMac.mm:
        (WebCore::PlatformWheelEvent::PlatformWheelEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/dom/EventTargetNode.cpp
WebCore/dom/WheelEvent.cpp
WebCore/dom/WheelEvent.h
WebCore/dom/WheelEvent.idl
WebCore/page/FrameView.cpp
WebCore/platform/PlatformWheelEvent.h
WebCore/platform/mac/WheelEventMac.mm