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 371f354a9a4fb1c9d7697a08abbc42735af73000..0dab20ae87f2042b2953a88cf564251cb1102f87 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h |
@@ -40,6 +40,7 @@ class IdleSpellCheckCallback; |
class LocalFrame; |
class ReplaceSelectionCommand; |
class SpellCheckerClient; |
+class SpellCheckMarker; |
class SpellCheckRequest; |
class SpellCheckRequester; |
class TextCheckerClient; |
@@ -72,6 +73,8 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { |
void RespondToChangedContents(); |
void RespondToChangedSelection(const Position& old_selection_start, |
FrameSelection::SetSelectionOptions); |
+ Optional<std::pair<Node*, SpellCheckMarker*>> |
+ GetSpellCheckMarkerTouchingSelection(); |
void ReplaceMisspelledRange(const String&); |
void RemoveSpellingMarkers(); |
void RemoveSpellingMarkersUnderWords(const Vector<String>& words); |