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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2316303006: Make default spellchecking behavior in html elements configurable via WebSettings. (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 1e9ac996a103133d46428a7536e41ccbf27841a7..6db8255ae7226f7ba3fbcc2564da96e11ee86e1a 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -3208,7 +3208,11 @@ bool Element::isSpellCheckingEnabled() const
}
}
+#if OS(ANDROID)
+ return false;
Peter Beverloo 2016/09/12 14:59:02 This should probably be a decision made by the emb
Rick Byers 2016/09/14 15:21:00 Yes, we avoid adding #ifdefs like this in Blink.
timvolodine 2016/09/14 17:16:31 ok, sounds right, thanks for the suggestion Peter!
+#else
return true;
+#endif
}
#if DCHECK_IS_ON()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698