Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 591cf102f2e83039b430ad5a8b78e3992f17895b https://github.com/WebKit/WebKit/commit/591cf102f2e83039b430ad5a8b78e3992f17895b Author: Wenson Hsieh <wenson_hs...@apple.com> Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths: M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm M Source/WebKit/UIProcess/ios/WKBaseScrollView.h M Source/WebKit/UIProcess/ios/WKBaseScrollView.mm Log Message: ----------- [iOS] Adopt API replacements for returning an "acting parent UIScrollView" https://bugs.webkit.org/show_bug.cgi?id=265801 rdar://119141181 Reviewed by Aditya Keerthi and Megan Gardner. Adopt a soon-to-be API replacement for this SPI scroll view delegate method: ``` -[UIScrollViewDelegate _actingParentScrollViewForScrollView:] ``` The replacement is just a subclassing hook on `UIScrollView` directly, which we can easily route through our own `WKBaseScrollViewDelegate`, which allows us to share an implementation with the legacy `-_actingParentScrollViewForScrollView:` delegate method. * Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: (-[WKScrollingNodeScrollViewDelegate _actingParentScrollViewForScrollView:]): (-[WKScrollingNodeScrollViewDelegate actingParentScrollViewForScrollView:]): * Source/WebKit/UIProcess/ios/WKBaseScrollView.h: * Source/WebKit/UIProcess/ios/WKBaseScrollView.mm: (-[WKBaseScrollView _actingParentScrollView]): Canonical link: https://commits.webkit.org/271512@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes