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

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

Issue 2316303006: Make default spellchecking behavior in html elements configurable via WebSettings. (Closed)
Patch Set: make it configurable via settings 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
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 3bbd5ee9961dd7d178280065ce63b7d5b3165b95..449393826b7896d779b17a161f2348cb965575f3 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -337,6 +337,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);

Powered by Google App Engine
This is Rietveld 408576698