chromium/content/renderer/accessibility/annotations/ax_annotators_manager.cc

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

#include "content/renderer/accessibility/annotations/ax_annotators_manager.h"

#include <utility>

#include "build/build_config.h"
#include "content/renderer/accessibility/annotations/ax_image_annotator.h"
#include "content/renderer/accessibility/render_accessibility_impl.h"
#include "content/renderer/render_frame_impl.h"
#include "services/screen_ai/buildflags/buildflags.h"
#include "third_party/blink/public/web/web_document.h"

#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
#include "content/renderer/accessibility/annotations/ax_main_node_annotator.h"
#include "ui/accessibility/accessibility_features.h"
#endif

namespace content {

AXAnnotatorsManager::AXAnnotatorsManager(
    RenderAccessibilityImpl* const render_accessibility)
    :{}

AXAnnotatorsManager::~AXAnnotatorsManager() {}

void AXAnnotatorsManager::Annotate(const blink::WebDocument& document,
                                   ui::AXTreeUpdate* update,
                                   bool load_complete) {}

void AXAnnotatorsManager::AccessibilityModeChanged(ui::AXMode old_mode,
                                                   ui::AXMode new_mode) {}

void AXAnnotatorsManager::CancelAnnotations() {}

void AXAnnotatorsManager::PerformAction(ax::mojom::Action action) {}

void AXAnnotatorsManager::AddDebuggingAttributes(
    const std::vector<ui::AXTreeUpdate>& updates) {}

void AXAnnotatorsManager::AddAnnotatorForTesting(
    std::unique_ptr<AXAnnotator> annotator) {}

void AXAnnotatorsManager::ClearAnnotatorsForTesting() {}

}  // namespace content