summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorshinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 11:56:02 +0000
committershinyak@google.com <shinyak@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-09 11:56:02 +0000
commit5aba58b90a60fcd9162abb0c783c968bde020700 (patch)
tree80a644a2fa5551d18b66c032f9b9f4ef6233b46d /chrome/browser/tab_contents
parent9e5fbc9ea76ce84daa984f3dc0dde7c3478a7fc1 (diff)
downloadchromium_src-5aba58b90a60fcd9162abb0c783c968bde020700.zip
chromium_src-5aba58b90a60fcd9162abb0c783c968bde020700.tar.gz
chromium_src-5aba58b90a60fcd9162abb0c783c968bde020700.tar.bz2
Added a switch to enable a unified text checker and asynchronous
text checking. It will enable us to use asynchronous spelling text checking feature which will be implemeneted in WebKit. BUG=106968 TEST=manual Review URL: http://codereview.chromium.org/8554002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
index 752fcbb..6116d4b 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -505,6 +505,9 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
web_prefs.visual_word_movement_enabled =
command_line.HasSwitch(switches::kEnableVisualWordMovement);
+
+ web_prefs.unified_textchecker_enabled =
+ command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures);
}
{ // Certain GPU features might have been blacklisted.