chromium/services/screen_ai/public/test/fake_screen_ai_annotator.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 "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) {}

}  // namespace screen_ai::test