From 154a4338764560595dd49305a2343985f728c935 Mon Sep 17 00:00:00 2001 From: "sidchat@google.com" Date: Wed, 3 Jun 2009 20:20:58 +0000 Subject: UI Support for Auto Spell Correct. Currently, it is still under the command line flag --auto-spell-correct, which means that this UI support will appear only when the command line flag is enabled.BUG=www.crbug.com/13102TEST=enable this feature through the command line flag --auto-spell-correct and then use the Languages Options menu check box to toggle this feature on/off - test by typing "teh" in a text box. Review URL: http://codereview.chromium.org/119002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17528 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/spellcheck_unittest.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/spellcheck_unittest.cc') diff --git a/chrome/browser/spellcheck_unittest.cc b/chrome/browser/spellcheck_unittest.cc index aa76bf0..47b608f 100644 --- a/chrome/browser/spellcheck_unittest.cc +++ b/chrome/browser/spellcheck_unittest.cc @@ -517,6 +517,7 @@ TEST_F(SpellCheckTest, GetAutoCorrectionWord_EN_US) { scoped_refptr spell_checker(new SpellChecker( hunspell_directory, "en-US", NULL, FilePath())); + spell_checker->EnableAutoSpellCorrect(true); for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTestCases); ++i) { std::wstring misspelled_word(kTestCases[i].input); -- cgit v1.1