[webkit-changes] [WebKit/WebKit] 081e51: [UIAsyncTextInput] Update async text input integra...
Wenson Hsieh
noreply at github.com
Fri Jan 19 18:43:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 081e519da458e7220532b058a84e6667da5a7808
https://github.com/WebKit/WebKit/commit/081e519da458e7220532b058a84e6667da5a7808
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M Source/WebCore/platform/ios/WebEvent.mm
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
Log Message:
-----------
[UIAsyncTextInput] Update async text input integration after rdar://121227027
https://bugs.webkit.org/show_bug.cgi?id=267795
rdar://121011826
Reviewed by Aditya Keerthi.
Make some minor adjustments to async text input adoption, following the changes in rdar://121227027.
* Source/WebCore/platform/ios/WebEvent.mm:
(-[WebEvent initWithKeyEntry:]):
Use `-state` instead of `-type`, if available.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView updateSelectionWithExtentPoint:boundary:completionHandler:]):
(-[WKContentView selectTextInGranularity:atPoint:completionHandler:]):
These delegate method names have changed; maintain binary compatibility by implementing both the old
and new names.
Canonical link: https://commits.webkit.org/273253@main
More information about the webkit-changes
mailing list