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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2391613002: [Android WebView] make spellcheck off by default and opt-in using spellcheck="true" attribute. (Closed)
Patch Set: move inside the #ifdef os_android block Created 4 years, 2 months 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 | « content/public/common/web_preferences.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 7ca413ddeb9f0fc7e806b4dadf0cef5eddfc1e8d..101246b3ce1693b35616fbe91e027b45fd0ba51e 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1153,6 +1153,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setForcePreloadNoneForMediaElements(is_low_end_device);
WebRuntimeFeatures::enableAutoplayMutedVideos(
prefs.autoplay_muted_videos_enabled && !is_low_end_device);
+ settings->setSpellCheckEnabledByDefault(prefs.spellcheck_enabled_by_default);
#endif
settings->setAutoplayExperimentMode(
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698