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

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

Issue 2925363002: Add SpellChecker::GetSpellCheckMarkerTouchingSelection() (Closed)
Patch Set: Respond to commments Created 3 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698