[webkit-changes] [WebKit/WebKit] 39d8ed: [UIAsyncTextInput] Use the superclass implementati...

Wenson Hsieh noreply at github.com
Tue Nov 28 11:35:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 39d8ed0441c534b64f8730a6f1fd56da778fa492
      https://github.com/WebKit/WebKit/commit/39d8ed0441c534b64f8730a6f1fd56da778fa492
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

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

  Log Message:
  -----------
  [UIAsyncTextInput] Use the superclass implementation of a couple of internal UIResponder methods
https://bugs.webkit.org/show_bug.cgi?id=265464

Reviewed by Megan Gardner.

Call directly into the superclass implementation when the `UIAsyncTextInput` codepath is enabled,
instead of relying on custom logic in WebKit for the following two internal `UIResponder`
subclassing hooks.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _requiresKeyboardWhenFirstResponder]):
(-[WKContentView _requiresKeyboardResetOnReload]):

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




More information about the webkit-changes mailing list