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

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h

Issue 2205823002: Cleanup function names in SpellChecker and TextCheckingHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/core/editing/spellcheck/SpellChecker.h
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
index 33fd86168e6ab85a88cbcf1e01112cac3606938c..173530b791bd2d0aeb7dd303fc3c85758bbe9b8c 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
@@ -65,8 +65,8 @@ public:
void advanceToNextMisspelling(bool startBeforeSelection = false);
void showSpellingGuessPanel();
void didBeginEditing(Element*);
- void clearMisspellingsAndBadGrammar(const VisibleSelection&);
- void markMisspellingsAndBadGrammar(const VisibleSelection&);
+ void clearMisspellings(const VisibleSelection&);
+ void markMisspellings(const VisibleSelection&);
void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions);
void replaceMisspelledRange(const String&);
void removeSpellingMarkers();
@@ -78,7 +78,7 @@ public:
bool selectionStartHasSpellingMarkerFor(int from, int length) const;
void updateMarkersForWordsAffectedByEditing(bool onlyHandleWordsContainingSelection);
void cancelCheck();
- void chunkAndMarkAllMisspellingsAndBadGrammar(Node*, const EphemeralRange&);
+ void chunkAndMarkAllMisspellings(Node*, const EphemeralRange&);
void requestTextChecking(const Element&);
// Exposed for testing only
@@ -101,7 +101,7 @@ private:
return *m_frame;
}
- void markMisspellings(const VisibleSelection&);
+ void markMisspellingsWithTextCheckingHelper(const VisibleSelection&);
Xiaocheng 2016/08/02 09:22:54 I wish I could come up with a better name but didn
yosin_UTC9 2016/08/02 09:34:01 Once we remove all grammar checking code, we might
void markAllMisspellingsInRange(const EphemeralRange& spellingRange);
void spellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWords);

Powered by Google App Engine
This is Rietveld 408576698