Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 489ebd22bb255ceb0f9d4ce2963ae995d6ab2999
      
https://github.com/WebKit/WebKit/commit/489ebd22bb255ceb0f9d4ce2963ae995d6ab2999
  Author: Matt Woodrow <[email protected]>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.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 Source/WebKit/WebProcess/WebPage/mac/RemoteLayerTreeDrawingAreaMac.h
    M Source/WebKit/WebProcess/WebPage/mac/RemoteLayerTreeDrawingAreaMac.mm

  Log Message:
  -----------
  Make RemoteLayerTreeDrawingAreaProxyMac::sendCommitTransientZoom go via the 
WebPageProxy.
https://bugs.webkit.org/show_bug.cgi?id=280165
<rdar://136468076>

Reviewed by Simon Fraser.

Page scales currently get set via the WebPageProxy, and the WebProcess/WebPage.

It will make things simpler for site-isolation (and update remote frame
processes) if we can canonically go via the the WebPageProxy.

This moves commitTransientZoom to use the WebPageProxy setters.

* 
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeDrawingAreaProxyMac.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxyMac::sendCommitTransientZoom):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::scalePage):
(WebKit::WebPageProxy::scalePageInViewCoordinates):
(WebKit::WebPageProxy::scalePageRelativeToScrollPosition):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didScalePage):
(WebKit::WebPage::didScalePageInViewCoordinates):
(WebKit::WebPage::didScalePageRelativeToScrollPosition):
(WebKit::WebPage::scalePage):
(WebKit::WebPage::scalePageInViewCoordinates): Deleted.
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/WebPage.messages.in:
* Source/WebKit/WebProcess/WebPage/mac/RemoteLayerTreeDrawingAreaMac.h:
* Source/WebKit/WebProcess/WebPage/mac/RemoteLayerTreeDrawingAreaMac.mm:
(WebKit::RemoteLayerTreeDrawingAreaMac::applyTransientZoomToPage): Deleted.
(WebKit::RemoteLayerTreeDrawingAreaMac::commitTransientZoom): Deleted.

Canonical link: https://commits.webkit.org/284111@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to