chromium/third_party/blink/renderer/core/annotation/annotation_agent_generator.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/annotation/annotation_agent_generator.h"

#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/editing/visible_selection.h"
#include "third_party/blink/renderer/core/fragment_directive/text_fragment_selector.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"

namespace blink {

AnnotationAgentGenerator::AnnotationAgentGenerator(LocalFrame* frame)
    :{}

void AnnotationAgentGenerator::Trace(Visitor* visitor) const {}

void AnnotationAgentGenerator::GetForCurrentSelection(
    mojom::blink::AnnotationType type,
    SelectorGenerationCallback callback) {}

void AnnotationAgentGenerator::InvokeCompletionCallbackIfNeeded(
    shared_highlighting::LinkGenerationReadyStatus ready_status) {}

void AnnotationAgentGenerator::PreemptivelyGenerateForCurrentSelection() {}

void AnnotationAgentGenerator::GenerateSelector() {}

void AnnotationAgentGenerator::DidFinishGeneration(
    const TextFragmentSelector& selector,
    shared_highlighting::LinkGenerationError error) {}

}  // namespace blink