Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 78891ee2d6a2d69127fc1e4cb024510e5021fbd5
      
https://github.com/WebKit/WebKit/commit/78891ee2d6a2d69127fc1e4cb024510e5021fbd5
  Author: Nikolaos Mouchtaris <[email protected]>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Source/WebCore/page/scrolling/ScrollingTree.h
    M Source/WebCore/platform/EventTrackingRegions.cpp
    M Source/WebCore/platform/EventTrackingRegions.h
    M Source/WebCore/rendering/EventRegion.cpp
    M Source/WebCore/rendering/EventRegion.h
    M Source/WebCore/rendering/RenderLayerBacking.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleConstants.cpp
    M Source/WebCore/rendering/style/RenderStyleConstants.h
    M Source/WebCore/style/StyleAdjuster.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/cocoa/RemoteScrollingTreeCocoa.h
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Add pointer event regions to EventRegion
https://bugs.webkit.org/show_bug.cgi?id=288616
rdar://145671088

Reviewed by Simon Fraser.

Add pointer event and synthetic mouse regions to Event region and populate it 
per layer based
on the RenderStyle value of eventListenerRegionTypes. Refactor EventRegion to 
hold a
EventTrackingRegions for touch event listeners.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebCore/page/scrolling/ScrollingTree.h:
* Source/WebCore/platform/EventTrackingRegions.cpp:
(WebCore::EventTrackingRegions::uniteEventListeners):
(WebCore::operator<<):
* Source/WebCore/platform/EventTrackingRegions.h:
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::EventRegion):
(WebCore::containsTouchEventType):
(WebCore::EventRegion::uniteEventListeners):
(WebCore::EventRegion::eventListenerRegionTypesForPoint const): Deleted.
(WebCore::EventRegion::eventListenerRegionForType const): Deleted.
(WebCore::EventRegion::containsEditableElementsInRect const): Deleted.
(WebCore::EventRegion::appendInteractionRegions): Deleted.
(WebCore::EventRegion::clearInteractionRegions): Deleted.
(WebCore::EventRegion::dump const): Deleted.
(WebCore::operator<<): Deleted.
* Source/WebCore/rendering/EventRegion.h:
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::patternForEventListenerRegionType):
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyleConstants.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::computeEventListenerRegionTypes):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.h:

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