#include "third_party/blink/renderer/core/paint/marker_range_mapping_context.h"
#include "third_party/blink/renderer/core/editing/markers/document_marker.h"
#include "third_party/blink/renderer/core/editing/position.h"
namespace blink {
MarkerRangeMappingContext::DOMToTextContentOffsetMapper::
DOMToTextContentOffsetMapper(const Text& text_node) { … }
base::span<const OffsetMappingUnit>
MarkerRangeMappingContext::DOMToTextContentOffsetMapper::GetMappingUnits(
const LayoutObject* layout_object) { … }
unsigned
MarkerRangeMappingContext::DOMToTextContentOffsetMapper::GetTextContentOffset(
unsigned dom_offset) const { … }
unsigned MarkerRangeMappingContext::DOMToTextContentOffsetMapper::
GetTextContentOffsetNoCache(unsigned dom_offset) const { … }
base::span<const OffsetMappingUnit>::iterator
MarkerRangeMappingContext::DOMToTextContentOffsetMapper::FindUnit(
base::span<const OffsetMappingUnit>::iterator begin,
unsigned dom_offset) const { … }
std::optional<TextOffsetRange> MarkerRangeMappingContext::GetTextContentOffsets(
const DocumentMarker& marker) const { … }
}