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

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

Issue 2966223003: [SelectMisspellingAsync #1] Move SelectMisspellingAsync() from ContextMenuClient.cpp to SpellChecker (Closed)
Patch Set: Make independent of other patches Created 3 years, 5 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 91e476eaf5fa6789af740ea747a079490b1568fe..8085acc7de19d679179e469822a569655a283ec7 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
@@ -77,6 +77,7 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> {
FrameSelection::SetSelectionOptions);
Optional<std::pair<Node*, SpellCheckMarker*>>
GetSpellCheckMarkerTouchingSelection();
+ String SelectMisspellingAsync(String& description);
void ReplaceMisspelledRange(const String&);
void RemoveSpellingMarkers();
void RemoveSpellingMarkersUnderWords(const Vector<String>& words);

Powered by Google App Engine
This is Rietveld 408576698