[webkit-changes] [WebKit/WebKit] a18312: Move off of UIKit SPI: -[UIContextMenuInteraction ...

Wenson Hsieh noreply at github.com
Tue Aug 29 20:46:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a183125d0e0a93e8117d4cc129c9dacae103fe07
      https://github.com/WebKit/WebKit/commit/a183125d0e0a93e8117d4cc129c9dacae103fe07
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Move off of UIKit SPI: -[UIContextMenuInteraction gestureRecognizerForFailureRelationships]
https://bugs.webkit.org/show_bug.cgi?id=260887
rdar://114330991

Reviewed by Tim Horton.

Use a combination of `-name` and `-view` to identify gestures used to add failure requirements for
context menu interactions on `WKContentView`.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:

Remove the now-unused declaration.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _isContextMenuGestureRecognizerForFailureRelationships:]):
(-[WKContentView gestureRecognizer:shouldRequireFailureOfGestureRecognizer:]):
(-[WKContentView gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:]):
(-[WKContentView deferringGestureRecognizer:shouldDeferOtherGestureRecognizer:]):

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




More information about the webkit-changes mailing list