Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07e85d1b22c147d710bd22c87de5bf9785ab1abe
      
https://github.com/WebKit/WebKit/commit/07e85d1b22c147d710bd22c87de5bf9785ab1abe
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

  Changed paths:
    M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
    M Source/WebKit/UIProcess/ProvisionalPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  Simplify callers of WebPageProxy::decidePolicyForNavigationAction
https://bugs.webkit.org/show_bug.cgi?id=291003
rdar://148529657

Reviewed by Brady Eidson.

ProvisionalPageProxy has some filtering that may or may not still be needed,
but it doesn't need to say which process the message came from.  The Connection
does that.  Also remove an incorrect assumption that a sync message is coming
from the main frame process.

* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::decidePolicyForNavigationActionAsync):
(WebKit::ProvisionalPageProxy::decidePolicyForNavigationActionSync):
* Source/WebKit/UIProcess/ProvisionalPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForNavigationActionAsync):
(WebKit::WebPageProxy::decidePolicyForNavigationActionSync):
(WebKit::WebPageProxy::decidePolicyForNavigationActionAsyncShared): Deleted.
(WebKit::WebPageProxy::decidePolicyForNavigationActionSyncShared): Deleted.
* Source/WebKit/UIProcess/WebPageProxy.h:

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



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

Reply via email to