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

Unified Diff: third_party/WebKit/Source/web/SpellCheckerClientImpl.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
Index: third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
index 4a124455cf74bb1daccf9337bf760aa901ad14f4..25fdf7a0fe8f3187747411f4779ddcbf55573857 100644
--- a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
+++ b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
@@ -80,7 +80,7 @@ bool SpellCheckerClientImpl::shouldSpellcheckByDefault()
return true;
}
-bool SpellCheckerClientImpl::isContinuousSpellCheckingEnabled()
+bool SpellCheckerClientImpl::isSpellCheckingEnabled()
{
if (m_spellCheckThisFieldStatus == SpellCheckForcedOff)
return false;
@@ -89,9 +89,9 @@ bool SpellCheckerClientImpl::isContinuousSpellCheckingEnabled()
return shouldSpellcheckByDefault();
}
-void SpellCheckerClientImpl::toggleContinuousSpellChecking()
+void SpellCheckerClientImpl::toggleSpellCheckingEnabled()
{
- if (isContinuousSpellCheckingEnabled()) {
+ if (isSpellCheckingEnabled()) {
m_spellCheckThisFieldStatus = SpellCheckForcedOff;
if (Page* page = m_webView->page()) {
for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
« no previous file with comments | « third_party/WebKit/Source/web/SpellCheckerClientImpl.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698