chromium/chrome/browser/companion/text_finder/text_finder.cc

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

#include "chrome/browser/companion/text_finder/text_finder.h"

#include <string>

#include "third_party/blink/public/mojom/annotation/annotation.mojom.h"
#include "ui/gfx/geometry/rect.h"

namespace companion {

TextFinder::TextFinder(
    const std::string& text_directive,
    mojo::Remote<blink::mojom::AnnotationAgentContainer>& agent_container,
    FinishedCallback callback,
    AgentDisconnectHandler agent_disconnect_handler)
    :{}

TextFinder::TextFinder(const std::string& text_directive)
    :{}

TextFinder::~TextFinder() = default;

void TextFinder::InitializeAndBindToAnnotationAgent(
    mojo::Remote<blink::mojom::AnnotationAgentContainer>& agent_container,
    FinishedCallback callback) {}

void TextFinder::SetAgentDisconnectHandler(AgentDisconnectHandler handler) {}

void TextFinder::DidFinishAttachment(const gfx::Rect& rect) {}

void TextFinder::SetDidFinishHandler(FinishedCallback callback) {}

}  // namespace companion