Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI-side compositing] Ensure that wheel events got to the web process for JS event handlers #7234

Commits on Dec 8, 2022

  1. [UI-side compositing] Ensure that wheel events got to the web process…

    … for JS event handlers
    
    https://bugs.webkit.org/show_bug.cgi?id=248846
    
    Reviewed by Tim Horton.
    
    Override `eventListenerRegionTypesForPoint()` in RemoteScrollingTreeMac just as we do in ScrollingTreeMac
    to get the event handler details for a given point. We use this to know if we have to continue with the
    web process/main thread event handling path.
    
    * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.h:
    * Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm:
    (WebKit::eventRegionForLayer):
    (WebKit::layerEventRegionContainsPoint):
    (WebKit::RemoteScrollingTreeMac::eventListenerRegionTypesForPoint const):
    
    Canonical link: https://commits.webkit.org/257531@main
    smfr committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    066e5bd View commit details
    Browse the repository at this point in the history