diff options
author | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-22 09:00:13 +0000 |
---|---|---|
committer | morrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-22 09:00:13 +0000 |
commit | 5efcef635ea9483b64d4ba096ae3b922b2fa4ec2 (patch) | |
tree | a634f4704419113d707e25925e2076d238c62327 /webkit/glue/webpreferences.cc | |
parent | 71bb51210b29a5546679b9c8be2990f3254f3d08 (diff) | |
download | chromium_src-5efcef635ea9483b64d4ba096ae3b922b2fa4ec2.zip chromium_src-5efcef635ea9483b64d4ba096ae3b922b2fa4ec2.tar.gz chromium_src-5efcef635ea9483b64d4ba096ae3b922b2fa4ec2.tar.bz2 |
Integrating Mac OS Grammar checker into Chromium.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6392045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r-- | webkit/glue/webpreferences.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc index 86c40f6..25fa0bf 100644 --- a/webkit/glue/webpreferences.cc +++ b/webkit/glue/webpreferences.cc @@ -65,6 +65,7 @@ WebPreferences::WebPreferences() experimental_webgl_enabled(false), gl_multisampling_enabled(true), show_composited_layer_borders(false), + asynchronous_spell_checking_enabled(true), accelerated_compositing_enabled(false), accelerated_layers_enabled(false), accelerated_video_enabled(false), @@ -187,6 +188,9 @@ void WebPreferences::Apply(WebView* web_view) const { // Enable memory info reporting to page if requested on the command line. settings->setMemoryInfoEnabled(memory_info_enabled); + settings->setAsynchronousSpellCheckingEnabled( + asynchronous_spell_checking_enabled); + for (WebInspectorPreferences::const_iterator it = inspector_settings.begin(); it != inspector_settings.end(); ++it) web_view->setInspectorSetting(WebString::fromUTF8(it->first), |