Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1056)

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.cc

Issue 8554002: Added a switch to enable a unified text checker and asynchronous (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
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 704c22aefb2d4ab6cc15155495cbb8658d42b6df..6c5bede3cced39c5183a906057deab34d4d79478 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,11 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
web_prefs.visual_word_movement_enabled =
command_line.HasSwitch(switches::kEnableVisualWordMovement);
+
+ web_prefs.unified_textchecker_enabled =
darin (slow to review) 2011/11/21 19:04:19 if both of these fields in WebPreferences are set
+ command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures);
+ web_prefs.asynchronous_spell_checking_enabled =
+ command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures);
}
{ // Certain GPU features might have been blacklisted.
« no previous file with comments | « no previous file | webkit/glue/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698