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

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

Issue 2316303006: Make default spellchecking behavior in html elements configurable via WebSettings. (Closed)
Patch Set: fix expectations 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 37a6bc2f6171e12d2a0a29f79fa32258fecee1c1..32a326be0a925b53ee2af541da0268de2359e229 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);

Powered by Google App Engine
This is Rietveld 408576698