#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) { … }
}