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

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

Issue 2289593007: Cleanup call relationship in SpellChecker (Closed)
Patch Set: Cleanup call relationship in SpellChecker 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/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 498dfd8a86a28b6118a1ac248504bf67bc2f7fcd..c45f9707fa62900ed444cc2f5697cd3af56e4f21 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 clearMisspellingsAndBadGrammarForMovingParagraphs(const VisibleSelection&);
+ void markMisspellingsAndBadGrammarForMovingParagraphs(const VisibleSelection&);
void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions);
void replaceMisspelledRange(const String&);
void removeSpellingMarkers();
@@ -111,6 +111,7 @@ private:
void removeMarkers(const VisibleSelection&, DocumentMarker::MarkerTypes);
+ void markMisspellingsAndBadGrammar(const VisibleSelection&);
void chunkAndMarkAllMisspellingsAndBadGrammar(const TextCheckingParagraph& fullParagraphToCheck);
void spellCheckOldSelection(const VisibleSelection& oldSelection, const VisibleSelection& newAdjacentWords);

Powered by Google App Engine
This is Rietveld 408576698