Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6854c7c79ce374ba8629031315334e33c0b0f2c0
      
https://github.com/WebKit/WebKit/commit/6854c7c79ce374ba8629031315334e33c0b0f2c0
  Author: Nikolaos Mouchtaris <[email protected]>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M Source/WebCore/rendering/EventRegion.cpp
    M Source/WebCore/rendering/EventRegion.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
    A Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteScrollingTreeCocoa.h
    A Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteScrollingTreeCocoa.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [site-isolation] Hit test for use of touch event listeners set on layers
https://bugs.webkit.org/show_bug.cgi?id=288180
rdar://145271607

Reviewed by Simon Fraser.

Hit test the layer tree in the UI process when handling touch events so that we 
can
get the corresponding event region set on the layer in the web process.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebCore/page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::commitTreeStateInternal):
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::eventTrackingTypeForPoint const):
(WebCore::EventRegion::eventListenerRegionTypesForPoint const):
* Source/WebCore/rendering/EventRegion.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::eventRegionForLayer):
(WebKit::layerEventRegionContainsPoint):
(WebKit::RemoteLayerTreeDrawingAreaProxy::eventTrackingTypeForPoint):
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction):
* 
Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.h:
* 
Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.mm:
(WebKit::ScrollingTreeFrameScrollingNodeRemoteIOS::commitStateBeforeChildren):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::updateTouchEventTracking):

Canonical link: https://commits.webkit.org/291134@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