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 d759b830964c19c5772b67eb272b1d8a3637541b..285490a8c0b6617640061e8522e3d9b3e479c7e0 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h |
@@ -66,7 +66,8 @@ class CORE_EXPORT DocumentMarkerController final |
const Position& end, |
DocumentMarker::MarkerType, |
const String& description = emptyString); |
- void addTextMatchMarker(const EphemeralRange&, bool activeMatch); |
+ void addTextMatchMarker(const EphemeralRange&, |
+ DocumentMarker::MatchStatus activeMatch); |
void addCompositionMarker(const Position& start, |
const Position& end, |
Color underlineColor, |
@@ -109,10 +110,13 @@ class CORE_EXPORT DocumentMarkerController final |
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers()); |
void shiftMarkers(Node*, unsigned startOffset, int delta); |
// Returns true if markers within a range are found. |
- bool setMarkersActive(const EphemeralRange&, bool); |
+ bool setMarkersActive(const EphemeralRange&, DocumentMarker::MatchStatus); |
// Returns true if markers within a range defined by a node, |startOffset| and |
// |endOffset| are found. |
- bool setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); |
+ bool setMarkersActive(Node*, |
+ unsigned startOffset, |
+ unsigned endOffset, |
+ DocumentMarker::MatchStatus); |
bool hasMarkers(Node* node) const { return m_markers.contains(node); } |
DocumentMarkerVector markersFor( |