Bug 194080

Summary: Generalize ScrollingTreeScrollingNodeDelegate for use in macOS too, add a macOS subclass for frame/overflow scrolling
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, ews-watchlist, fred.wang, jamesr, koivisto, luiz, simon.fraser, tonikitoo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 172917    
Bug Blocks:    
Attachments:
Description Flags
Patch
koivisto: review+
Patch none

Description Simon Fraser (smfr) 2019-01-30 22:33:02 PST
Generalize ScrollingTreeScrollingNodeDelegate for use in macOS too, add a macOS subclass for frame/overflow scrolling
Comment 1 Simon Fraser (smfr) 2019-01-30 22:37:32 PST
Created attachment 360693 [details]
Patch
Comment 2 Simon Fraser (smfr) 2019-01-30 22:38:05 PST
Probably won't build without the patch from bug 172917.
Comment 3 Antti Koivisto 2019-01-30 23:28:23 PST
Comment on attachment 360693 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=360693&action=review

> Source/WebCore/ChangeLog:12
> +        Add a macOS subclass, ScrollingTreeFrameScrollingNodeMac, which takes over the basic scrolling, rubber-banding
> +        and scroll snapping functionality from ScrollingTreeFrameScrollingNodeMac. The delegate owns the ScrollController and

ScrollingTreeFrameScrollingNodeMac is probably not taking over from itself
Comment 4 Simon Fraser (smfr) 2019-01-31 08:32:54 PST
Created attachment 360729 [details]
Patch
Comment 5 Simon Fraser (smfr) 2019-01-31 15:27:10 PST
https://trac.webkit.org/r240825
Comment 6 Radar WebKit Bug Importer 2019-01-31 15:28:28 PST
<rdar://problem/47718823>