[webkit-changes] [WebKit/WebKit] a33c27: [macOS] Adjust default grammar checking policy
Aditya Keerthi
noreply at github.com
Wed Mar 8 15:12:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a33c27806ef78c6bcea0f9c269566730495284f0
https://github.com/WebKit/WebKit/commit/a33c27806ef78c6bcea0f9c269566730495284f0
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M Source/WebCore/PAL/pal/spi/mac/NSSpellCheckerSPI.h
M Source/WebKit/UIProcess/mac/TextCheckerMac.mm
M Source/WebKitLegacy/mac/WebView/WebView.mm
Log Message:
-----------
[macOS] Adjust default grammar checking policy
https://bugs.webkit.org/show_bug.cgi?id=253581
rdar://105739691
Reviewed by Wenson Hsieh.
Update the default grammar checking policy to depend on `NSSpellChecker`.
* Source/WebCore/PAL/pal/spi/mac/NSSpellCheckerSPI.h:
* Source/WebKit/UIProcess/mac/TextCheckerMac.mm:
(WebKit::shouldGrammarCheckingBeEnabled):
(WebKit::mutableState):
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(+[WebView initialize]):
(+[WebView _shouldGrammarCheckingBeEnabled]):
Canonical link: https://commits.webkit.org/261388@main
More information about the webkit-changes
mailing list