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 4fc0419320bac2ef0424aafae404535c2e0cf213..caef0b9499a7280a1bbc831c23b95e1627e171f0 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
@@ -103,6 +103,10 @@ private: |
void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes); |
+ // Helper functions for advanceToNextMisspelling() |
+ void findMisspellings(const String&, Vector<TextCheckingResult>*); |
+ std::pair<String, int> findFirstMisspelling(const Position&, const Position&); |
+ |
void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& fullParagraphToCheck); |
void markAllMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, const VisibleSelection& grammarSelection); |
void spellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWords); |