[webkit-changes] [WebKit/WebKit] 26c431: Upstream autocorrection enhancements support for W...
Richard Robinson
noreply at github.com
Fri Jun 23 16:04:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 26c431674886169ee8198abcd8f3942c13dcb872
https://github.com/WebKit/WebKit/commit/26c431674886169ee8198abcd8f3942c13dcb872
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M Source/WTF/wtf/PlatformEnable.h
M Source/WTF/wtf/PlatformHave.h
M Source/WTF/wtf/PlatformUse.h
M Source/WebCore/PAL/pal/spi/mac/NSSpellCheckerSPI.h
M Source/WebCore/editing/AlternativeTextController.cpp
M Source/WebCore/editing/AlternativeTextController.h
M Source/WebCore/editing/Editor.cpp
M Source/WebCore/platform/graphics/cocoa/GraphicsContextCocoa.mm
M Source/WebCore/rendering/RenderThemeMac.mm
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
Log Message:
-----------
Upstream autocorrection enhancements support for WebKit
https://bugs.webkit.org/show_bug.cgi?id=258410
rdar://111141592
Reviewed by Aditya Keerthi.
Upstream support for autocorrection enhancements.
* Source/WTF/wtf/PlatformHave.h:
* Source/WTF/wtf/PlatformUse.h:
* Source/WebCore/editing/AlternativeTextController.cpp:
(WebCore::removeCorrectionIndicatorMarkers):
* Source/WebCore/editing/Editor.cpp:
(WebCore::shouldRemoveAutocorrectionIndicator):
(WebCore::didApplyAutocorrection):
(WebCore::respondToAppliedEditing):
(WebCore::adjustMarkerTypesToRemoveForWordsAffectedByEditing):
* Source/WebCore/platform/graphics/cocoa/GraphicsContextCocoa.mm:
(WebCore::drawRoundedRectForDocumentMarker):
(WebCore::GraphicsContextCG::drawDotsForDocumentMarker):
* Source/WebCore/rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::platformAutocorrectionReplacementMarkerColor const):
(WebCore::usePlatformColorForAutocorrectionReplacementMarker): Deleted.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView applyAutocorrection:toString:shouldUnderline:withCompletionHandler:]):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::adjustCandidateAutocorrectionInFrame):
Canonical link: https://commits.webkit.org/265489@main
More information about the webkit-changes
mailing list