[webkit-changes] [WebKit/WebKit] 1864a7: [site-isolation] Add touch event region to EventRe...

Nikos Mouchtaris noreply at github.com
Thu Feb 20 09:10:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1864a7b1e5629e1f80afa5e70c50f6c402c3194b
      https://github.com/WebKit/WebKit/commit/1864a7b1e5629e1f80afa5e70c50f6c402c3194b
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WebCore/page/scrolling/ScrollingTree.h
    M Source/WebCore/rendering/EventRegion.cpp
    M Source/WebCore/rendering/EventRegion.h
    M Source/WebCore/rendering/RenderBlock.cpp
    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/ios/RemoteLayerTreeViews.h

  Log Message:
  -----------
  [site-isolation] Add touch event region to EventRegion
https://bugs.webkit.org/show_bug.cgi?id=287916
rdar://145101984

Reviewed by Simon Fraser.

For the first part of rdar://133867737, add touch event regions to EventRegion and populate it based
on the RenderStyle value of eventListenerRegionTypes, as we do for wheel events on Mac.

* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::EventRegion):
(WebCore::EventRegion::uniteEventListeners):
(WebCore::EventRegion::eventListenerRegionTypesForPoint const):
(WebCore::EventRegion::eventListenerRegionForType const):
* Source/WebCore/rendering/EventRegion.h:
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::patternForEventListenerRegionType):
* 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:

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