#include "third_party/blink/renderer/core/highlight/highlight.h"
#include "base/not_fatal_until.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/highlight/highlight_registry.h"
namespace blink {
Highlight* Highlight::Create(const HeapVector<Member<AbstractRange>>& ranges) { … }
Highlight::Highlight(const HeapVector<Member<AbstractRange>>& ranges) { … }
Highlight::~Highlight() = default;
void Highlight::Trace(blink::Visitor* visitor) const { … }
void Highlight::ScheduleRepaintsInContainingHighlightRegistries() const { … }
Highlight* Highlight::addForBinding(ScriptState*,
AbstractRange* range,
ExceptionState&) { … }
void Highlight::clearForBinding(ScriptState*, ExceptionState&) { … }
bool Highlight::deleteForBinding(ScriptState*,
AbstractRange* range,
ExceptionState&) { … }
bool Highlight::hasForBinding(ScriptState*,
AbstractRange* range,
ExceptionState&) const { … }
wtf_size_t Highlight::size() const { … }
void Highlight::setPriority(const int32_t& priority) { … }
bool Highlight::Contains(AbstractRange* range) const { … }
const AtomicString& Highlight::InterfaceName() const { … }
ExecutionContext* Highlight::GetExecutionContext() const { … }
void Highlight::RegisterIn(HighlightRegistry* highlight_registry) { … }
void Highlight::DeregisterFrom(HighlightRegistry* highlight_registry) { … }
Highlight::IterationSource::IterationSource(const Highlight& highlight)
: … { … }
bool Highlight::IterationSource::FetchNextItem(ScriptState*,
AbstractRange*& value,
ExceptionState&) { … }
void Highlight::IterationSource::Trace(blink::Visitor* visitor) const { … }
HighlightSetIterable::IterationSource* Highlight::CreateIterationSource(
ScriptState*,
ExceptionState&) { … }
}