#include "services/screen_ai/public/test/fake_screen_ai_annotator.h"
#include <utility>
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/ax_tree_update.h"
#include "ui/gfx/geometry/rect_f.h"
namespace screen_ai::test {
FakeScreenAIAnnotator::FakeScreenAIAnnotator(bool create_empty_result)
: … { … }
FakeScreenAIAnnotator::~FakeScreenAIAnnotator() = default;
void FakeScreenAIAnnotator::PerformOcrAndReturnAXTreeUpdate(
const ::SkBitmap& image,
PerformOcrAndReturnAXTreeUpdateCallback callback) { … }
void FakeScreenAIAnnotator::PerformOcrAndReturnAnnotation(
const ::SkBitmap& image,
PerformOcrAndReturnAnnotationCallback callback) { … }
mojo::PendingRemote<mojom::ScreenAIAnnotator>
FakeScreenAIAnnotator::BindNewPipeAndPassRemote() { … }
void FakeScreenAIAnnotator::SetClientType(mojom::OcrClientType) { … }
}