From e7244d88820ab2a18760c14f12c4bdb060d72114 Mon Sep 17 00:00:00 2001 From: "sidchat@google.com" Date: Wed, 29 Oct 2008 18:13:26 +0000 Subject: Add option to disable/enable Spell Check. In addition, remove additional code in resource message filter, which was initilaizing spellchecker in the filter if it was NULL. This part of the code is not required since the resource message filter should not initialize spellchecker; it is up to the profile to give the spellchecker to the resource message filter. Issue = 120 Review URL: http://codereview.chromium.org/7935 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4140 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/spellchecker.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'chrome/browser/spellchecker.cc') diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc index df0c900..86ede3c 100644 --- a/chrome/browser/spellchecker.cc +++ b/chrome/browser/spellchecker.cc @@ -190,12 +190,6 @@ void SpellChecker::set_file_is_downloading(bool value) { // This part of the code is used for spell checking. // ################################################################ -// static -void SpellChecker::RegisterUserPrefs(PrefService* prefs) { - prefs->RegisterLocalizedStringPref(prefs::kSpellCheckDictionary, - IDS_SPELLCHECK_DICTIONARY); -} - std::wstring SpellChecker::GetVersionedFileName(const std::wstring& language, const std::wstring& dict_dir) { // The default version string currently in use. -- cgit v1.1