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

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

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 | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index fc1a846d6d6379fd01d8e89ad50fd1f2a924087c..2379476ec05b5ad38472818606d337ff1813435d 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1065,16 +1065,16 @@ bool WebLocalFrameImpl::isCommandEnabled(const WebString& name) const
return frame()->editor().createCommand(name).isEnabled();
}
-void WebLocalFrameImpl::enableContinuousSpellChecking(bool enable)
+void WebLocalFrameImpl::enableSpellChecking(bool enable)
{
- if (enable == isContinuousSpellCheckingEnabled())
+ if (enable == isSpellCheckingEnabled())
return;
- frame()->spellChecker().toggleContinuousSpellChecking();
+ frame()->spellChecker().toggleSpellCheckingEnabled();
}
-bool WebLocalFrameImpl::isContinuousSpellCheckingEnabled() const
+bool WebLocalFrameImpl::isSpellCheckingEnabled() const
{
- return frame()->spellChecker().isContinuousSpellCheckingEnabled();
+ return frame()->spellChecker().isSpellCheckingEnabled();
}
void WebLocalFrameImpl::requestTextChecking(const WebElement& webElement)
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698