diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-29 18:13:26 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-29 18:13:26 +0000 |
commit | e7244d88820ab2a18760c14f12c4bdb060d72114 (patch) | |
tree | f4ce1cd6be60c8a41a52f0607aa4721238db0f91 /chrome/browser/spellchecker.cc | |
parent | 83b7bd304b48a7ec5f3532602c810bff6070e3d2 (diff) | |
download | chromium_src-e7244d88820ab2a18760c14f12c4bdb060d72114.zip chromium_src-e7244d88820ab2a18760c14f12c4bdb060d72114.tar.gz chromium_src-e7244d88820ab2a18760c14f12c4bdb060d72114.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/spellchecker.cc')
-rw-r--r-- | chrome/browser/spellchecker.cc | 6 |
1 files changed, 0 insertions, 6 deletions
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. |