Reviewed by Oliver.
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Apr 2007 10:44:25 +0000 (10:44 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Apr 2007 10:44:25 +0000 (10:44 +0000)
commit661e2d8434d4aafd2f27deb1c5a91f2ad1a74fbb
treef2595ee3bbbe5ac669923c365c702e656de4097a
parentfe94266381d69f985801454b3b72262f4554ba84
    Reviewed by Oliver.

        Fix <rdar://problem/5169261>
        REGRESSION: Google Maps zooming too sensitive when using two fingers on trackpad

        Use line based delta values when generating DOM wheel events, use pixel deltas
        for scrolling only.

        No test case, requires user interaction and specific hardware.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleWheelEvent):
        * platform/PlatformWheelEvent.h:
        (WebCore::PlatformWheelEvent::continuousDeltaX):
        (WebCore::PlatformWheelEvent::continuousDeltaY):
        * platform/mac/WheelEventMac.mm:
        (WebCore::PlatformWheelEvent::PlatformWheelEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/EventHandler.cpp
WebCore/platform/PlatformWheelEvent.h
WebCore/platform/mac/WheelEventMac.mm