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

Unified Diff: webkit/glue/webpreferences.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: Fix 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 | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 6c435bbbf2a7f3517bd8f875fb4f8fa9de161be5..7cf84c22aa61f8dfe25c8aff6ee817c80610f578 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -75,6 +75,7 @@ WebPreferences::WebPreferences()
show_composited_layer_tree(false),
show_fps_counter(false),
asynchronous_spell_checking_enabled(true),
+ unified_textchecker_enabled(false),
accelerated_compositing_enabled(false),
threaded_compositing_enabled(false),
force_compositing_mode(false),
@@ -302,6 +303,7 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setAsynchronousSpellCheckingEnabled(
asynchronous_spell_checking_enabled);
+ settings->setUnifiedTextCheckerEnabled(unified_textchecker_enabled);
for (WebInspectorPreferences::const_iterator it = inspector_settings.begin();
it != inspector_settings.end(); ++it)
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698