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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h

Issue 2904973003: [DMC #15] Add TextMatchMarkerListImpl::SetTextMatchMarkersActive() (Closed)
Patch Set: Remove blank lines Created 3 years, 7 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/markers/TextMatchMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
index 54023b183c839ca9d919be653e351b2bd7a93741..227a2fe5270b85202a42c919cb25b53e4be46dba 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h
@@ -37,6 +37,11 @@ class CORE_EXPORT TextMatchMarkerListImpl final : public DocumentMarkerList {
// TextMatchMarkerListImpl-specific
Vector<IntRect> RenderedRects(const Node&) const;
+ // Returns true if markers within a range defined by |startOffset| and
+ // |endOffset| are found.
+ bool SetTextMatchMarkersActive(unsigned start_offset,
+ unsigned end_offset,
+ bool);
private:
HeapVector<Member<DocumentMarker>> markers_;

Powered by Google App Engine
This is Rietveld 408576698