Enable unified text checker to match Chrome spellcheck behavior (issue #1891)

This commit is contained in:
Marshall Greenblatt 2016-05-09 14:10:52 -04:00
parent 1ff26aa02a
commit da3c6a3b61
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ void SetChromePrefs(CefBrowserContext* profile,
web.password_echo_enabled = browser_defaults::kPasswordEchoEnabled; web.password_echo_enabled = browser_defaults::kPasswordEchoEnabled;
web.unified_textchecker_enabled = true;
web.uses_universal_detector = web.uses_universal_detector =
prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector); prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector);
web.text_areas_are_resizable = web.text_areas_are_resizable =