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

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

Issue 2424383002: Make SpellChecker::respondToChangedSelection() to take Position instead of VisibleSelection (Closed)
Patch Set: 2016-10-19T12:54:03 Created 4 years, 2 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 2bce0232699428dc200af72a1072e8f65c8577cc..82620e4a10b1002f021d7bf1102e664729219c44 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
@@ -70,7 +70,7 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> {
const VisibleSelection&);
void markMisspellingsAndBadGrammarForMovingParagraphs(
const VisibleSelection&);
- void respondToChangedSelection(const VisibleSelection& oldSelection,
+ void respondToChangedSelection(const Position& oldSelectionStart,
FrameSelection::SetSelectionOptions);
void replaceMisspelledRange(const String&);
void removeSpellingMarkers();
@@ -123,7 +123,7 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> {
void markMisspellingsAndBadGrammar(const VisibleSelection&);
void chunkAndMarkAllMisspellingsAndBadGrammar(
const TextCheckingParagraph& fullParagraphToCheck);
- void spellCheckOldSelection(const VisibleSelection& oldSelection,
+ void spellCheckOldSelection(const Position& oldSelectionStart,
const VisibleSelection& newAdjacentWords);
Member<LocalFrame> m_frame;

Powered by Google App Engine
This is Rietveld 408576698