| Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
|
| index e1a99b4a41df48899746c6311809478b297ab73f..78c73cd0908da776e1b01e90852e6e09e0df1623 100644
|
| --- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
|
| +++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
|
| @@ -54,10 +54,13 @@ class CORE_EXPORT DocumentMarkerController final
|
|
|
| void clear();
|
| void addMarker(Node*, DocumentMarker*);
|
| - void addMarker(const Position& start,
|
| - const Position& end,
|
| - DocumentMarker::MarkerType,
|
| - const String& description = emptyString);
|
| +
|
| + void addSpellingMarker(const Position& start,
|
| + const Position& end,
|
| + const String& description = emptyString);
|
| + void addGrammarMarker(const Position& start,
|
| + const Position& end,
|
| + const String& description = emptyString);
|
| void addTextMatchMarker(const EphemeralRange&, bool activeMatch);
|
| void addCompositionMarker(const Position& start,
|
| const Position& end,
|
| @@ -135,6 +138,10 @@ class CORE_EXPORT DocumentMarkerController final
|
| private:
|
| using MarkerMap = HeapHashMap<WeakMember<Node>, Member<DocumentMarkerList>>;
|
|
|
| + void addGrammarOrSpellingMarker(const Position& start,
|
| + const Position& end,
|
| + DocumentMarker::MarkerType,
|
| + const String& description);
|
| DocumentMarkerList* createMarkerListOfType(DocumentMarker::MarkerType);
|
| HeapVector<Member<DocumentMarkerList>> getMarkerListsForNode(
|
| Node*,
|
|
|