[webkit-changes] [WebKit/WebKit] 1a9127: [UIAsyncTextInput] [WebKit] Adopt API replacements...

Wenson Hsieh noreply at github.com
Sun Nov 26 09:01:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a9127daa810cf548e777868354514f365fd15a7
      https://github.com/WebKit/WebKit/commit/1a9127daa810cf548e777868354514f365fd15a7
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-11-26 (Sun, 26 Nov 2023)

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

  Log Message:
  -----------
  [UIAsyncTextInput] [WebKit] Adopt API replacements for UITextSuggestionDelegate
https://bugs.webkit.org/show_bug.cgi?id=265097
rdar://118589483

Reviewed by Megan Gardner.

Replace calls to `-[UITextInputSuggestionDelegate setSuggestions:]` with
`-[UIAsyncTextInputDelegate provideCandidateUISuggestions:]`, which provides equivalent
functionality. No change in behavior.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKFormInputSession invalidate]):
(-[WKContentView updateTextSuggestionsForInputDelegate]):
(-[WKContentView _provideSuggestionsToInputDelegate:]):

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




More information about the webkit-changes mailing list