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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2316303006: Make default spellchecking behavior in html elements configurable via WebSettings. (Closed)
Patch Set: remove setting of spellcheck default in render_view_impl Created 4 years, 3 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 | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index adac1a3e85996e39feeeae485c5c6151be3aaab3..323fe5cc0b0b88c26f5a64e1aa2707615d9a31c9 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -342,6 +342,11 @@ void WebSettingsImpl::setSpatialNavigationEnabled(bool enabled)
m_settings->setSpatialNavigationEnabled(enabled);
}
+void WebSettingsImpl::setSpellCheckEnabledByDefault(bool enabled)
+{
+ m_settings->setSpellCheckEnabledByDefault(enabled);
+}
+
void WebSettingsImpl::setTextAreasAreResizable(bool areResizable)
{
m_settings->setTextAreasAreResizable(areResizable);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698