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

Unified Diff: components/spellcheck/renderer/spellcheck_provider.cc

Issue 2251693003: Rename "ContinuousSpellChecking" to "SpellChecking" in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | third_party/WebKit/LayoutTests/accessibility/misspellings.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/renderer/spellcheck_provider.cc
diff --git a/components/spellcheck/renderer/spellcheck_provider.cc b/components/spellcheck/renderer/spellcheck_provider.cc
index 07874216a6f641877c75f9a574befa52934cf8dd..f50dd09193380cd6180e48ec46332f6dc33e2ba1 100644
--- a/components/spellcheck/renderer/spellcheck_provider.cc
+++ b/components/spellcheck/renderer/spellcheck_provider.cc
@@ -115,7 +115,7 @@ void SpellCheckProvider::FocusedNodeChanged(const blink::WebNode& unused) {
WebElement element = frame->document().isNull() ? WebElement() :
frame->document().focusedElement();
bool enabled = !element.isNull() && element.isEditable();
- bool checked = enabled && frame->isContinuousSpellCheckingEnabled();
+ bool checked = enabled && frame->isSpellCheckingEnabled();
Send(new SpellCheckHostMsg_ToggleSpellCheck(routing_id(), enabled, checked));
#endif // USE_BROWSER_SPELLCHECKER
@@ -286,7 +286,7 @@ void SpellCheckProvider::EnableSpellcheck(bool enable) {
if (!frame)
return;
- frame->enableContinuousSpellChecking(enable);
+ frame->enableSpellChecking(enable);
if (!enable)
frame->removeSpellingMarkers();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/misspellings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698