-
Bruce Long authored
WindowsSpellChecker::GetSupportedWindowsPreferredLanguages is only used in a unit test. The plan to support toggling on spellchecking for languages such as Arabic that have Windows spellcheck dictionaries but not Hunspell dictionaries has changed. We will now use the ISpellCheckerFactory::get_SupportedLanguages spellchecker API to get a list of installed Windows dictionaries, which will supplement the hardcoded list of Hunspell languages (future CL). See following for discussion: Windows Spellcheck: Should only be performed for the preferred languages listed in Windows settings https://bugs.chromium.org/p/chromium/issues/detail?id=1000443#c20 Bug: 1000443 Change-Id: I49c220ca76ff2991ee79b6184bc0616724a97267 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079651Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Bruce Long <brlong@microsoft.com> Cr-Commit-Position: refs/heads/master@{#745448}
35cc5976