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/common/pref_names.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/common/pref_names.cc')
-rw-r--r-- | chrome/common/pref_names.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index f5c7b06..19b13b4 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -202,6 +202,9 @@ const wchar_t kDeleteCookies[] = L"browser.clear_data.cookies"; const wchar_t kDeletePasswords[] = L"browser.clear_data.passwords"; const wchar_t kDeleteTimePeriod[] = L"browser.clear_data.time_period"; +// Boolean pref to define the default values for using spellchecker. +const wchar_t kEnableSpellCheck[] = L"browser.enable_spellchecking"; + // *************** LOCAL STATE *************** // These are attached to the machine/installation |