[Win][WebCore] Expose a constant for scrollbar pixels per line (cScrollbarPixelsPerLine)
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Apr 2018 20:30:15 +0000 (20:30 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Apr 2018 20:30:15 +0000 (20:30 +0000)
commit8a0221fa9f531c2ed4005c5364e8cb4be3a50bf1
tree733fc57b456c64796c8c80da66c2198356d345d6
parent571e66c8cbab17e2e244adfa9ab6e009a91caa39
[Win][WebCore] Expose a constant for scrollbar pixels per line (cScrollbarPixelsPerLine)
https://bugs.webkit.org/show_bug.cgi?id=184296

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (No behavior changes).

* platform/PlatformWheelEvent.h: Placed cScrollbarPixelsPerLine definition.
* platform/win/WheelEventWin.cpp:
(WebCore::PlatformWheelEvent::PlatformWheelEvent): Removed cScrollbarPixelsPerLine definition.

Tools:

* DumpRenderTree/win/EventSender.cpp:
(mouseScrollBy): Removed the duplicated cScrollbarPixelsPerLine
definition. Use WebCore::cScrollbarPixelsPerLine.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/PlatformWheelEvent.h
Source/WebCore/platform/win/WheelEventWin.cpp
Tools/ChangeLog
Tools/DumpRenderTree/win/EventSender.cpp