Summary: | [Win][WebCore] Expose a constant for scrollbar pixels per line (cScrollbarPixelsPerLine) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||
Component: | Platform | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, bfulgham, commit-queue, don.olmstead, pvollan, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 183043 | ||||||||
Attachments: |
|
Description
Fujii Hironori
2018-04-04 03:29:08 PDT
(In reply to Brent Fulgham from bug#183043 comment #5) > > Source/WebKit/Shared/win/WebEventFactory.cpp:400 > > + static const float cScrollbarPixelsPerLine = 100.0f / 3.0f; > > We should probably expose this from WebCore in some useful way, since we now > have this hard-coded in two places. Created attachment 337155 [details]
Patch
Comment on attachment 337155 [details]
Patch
This doubles the calls to ::GetDeviceCaps when scrolling.
Created attachment 337337 [details]
Patch
Comment on attachment 337337 [details] Patch Clearing flags on attachment: 337337 Committed r230355: <https://trac.webkit.org/changeset/230355> All reviewed patches have been landed. Closing bug. |