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

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

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: 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
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();
rlanday 2017/06/07 01:04:08 This method's eventually going to need to be exten
void ReplaceMisspelledRange(const String&);
void RemoveSpellingMarkers();
void RemoveSpellingMarkersUnderWords(const Vector<String>& words);

Powered by Google App Engine
This is Rietveld 408576698