#include "third_party/blink/renderer/core/fragment_directive/fragment_directive.h"
#include "components/shared_highlighting/core/common/fragment_directives_constants.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_range_selection.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/range.h"
#include "third_party/blink/renderer/core/editing/dom_selection.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/fragment_directive/css_selector_directive.h"
#include "third_party/blink/renderer/core/fragment_directive/text_directive.h"
#include "third_party/blink/renderer/core/fragment_directive/text_fragment_selector_generator.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/platform/bindings/exception_code.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
FragmentDirective::FragmentDirective(Document& owner_document)
: … { … }
FragmentDirective::~FragmentDirective() = default;
KURL FragmentDirective::ConsumeFragmentDirective(const KURL& url) { … }
void FragmentDirective::Trace(Visitor* visitor) const { … }
const HeapVector<Member<Directive>>& FragmentDirective::items() const { … }
void DisposeTemporaryRange(Range* range) { … }
ScriptPromise<SelectorDirective> FragmentDirective::createSelectorDirective(
ScriptState* state,
const V8UnionRangeOrSelection* arg) { … }
void FragmentDirective::ParseDirectives(const String& fragment_directive) { … }
}