[webkit-changes] [WebKit/WebKit] b4a25f: [SwiftUI] Implement support for scrolling to a spe...
Richard Robinson
noreply at github.com
Mon Feb 24 22:05:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b4a25fba7f2bc26b96958e0a3b2c1a81624267bc
https://github.com/WebKit/WebKit/commit/b4a25fba7f2bc26b96958e0a3b2c1a81624267bc
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2025-02-24 (Mon, 24 Feb 2025)
Changed paths:
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/page/LocalFrameView.h
M Source/WebKit/Scripts/webkit/messages.py
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
M Source/WebKit/WebProcess/WebPage/WebPage.messages.in
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebKitCocoa/rtl-sideways-scrolling.html
M Tools/TestWebKitAPI/Tests/mac/ScrollingCoordinatorTests.mm
Log Message:
-----------
[SwiftUI] Implement support for scrolling to a specific position on macOS
https://bugs.webkit.org/show_bug.cgi?id=288430
rdar://145523175
Reviewed by Abrar Rahman Protyasha and Simon Fraser.
Add internal support to allow scrolling to a specific position on macOS, mimicing the UIKit UIScrollView
`setContentOffset` API.
* Source/WebKit/Scripts/webkit/messages.py:
(headers_for_type):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:
* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:
(-[WKWebView _setContentOffset:animated:]):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setContentOffset):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setContentOffset):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:
* Tools/TestWebKitAPI/Tests/mac/ScrollingCoordinatorTests.mm:
(TestWebKitAPI::TEST(ScrollingCoordinatorTests, SetContentOffset)):
Canonical link: https://commits.webkit.org/291012@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list