Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e3385b3a534007b46fac23f8813534862ee2ef4
https://github.com/WebKit/WebKit/commit/6e3385b3a534007b46fac23f8813534862ee2ef4
Author: Nikolaos Mouchtaris <[email protected]>
Date: 2023-02-16 (Thu, 16 Feb 2023)
Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/ios/WKContentView.mm
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
Log Message:
-----------
[UI-side compositing] Have pinch zoom update the scrolling tree in
adjustTransientZoom
https://bugs.webkit.org/show_bug.cgi?id=252364
rdar://105522816
Reviewed by Simon Fraser.
Move adjustLayersForLayoutViewport to WebPageProxy and have adjustTransientZoom
call it using the scroll position and layoutViewport from the root node.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTree):
*
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxyMac::adjustTransientZoom):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::adjustLayersForLayoutViewport):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/ios/WKContentView.mm:
(-[WKContentView
didUpdateVisibleRect:unobscuredRect:contentInsets:unobscuredRectInScrollViewCoordinates:obscuredInsets:unobscuredSafeAreaInsets:inputViewBounds:scale:minimumScale:viewStability:enclosedInScrollableAncestorView:sendEvenIfUnchanged:]):
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::adjustLayersForLayoutViewport): Deleted.
Canonical link: https://commits.webkit.org/260385@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes