chromium/content/renderer/accessibility/annotations/ax_main_node_annotator.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_main_node_annotator.h"

#include <utility>

#include "base/metrics/histogram_functions.h"
#include "base/time/time.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"

namespace content {

WebAXObject;
WebDocument;

namespace {

const char kHistogramsName[] =;

// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
// LINT.IfChange(MainNodeAnnotationResult)
enum class MainNodeAnnotationResult {};
// LINT.ThenChange(/tools/metrics/histograms/metadata/accessibility/enums.xml:MainNodeAnnotationResult)

}  // namespace

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

AXMainNodeAnnotator::~AXMainNodeAnnotator() = default;

void AXMainNodeAnnotator::EnableAnnotations() {}

void AXMainNodeAnnotator::CancelAnnotations() {}

uint32_t AXMainNodeAnnotator::GetAXModeToEnableAnnotations() {}

bool AXMainNodeAnnotator::HasAXActionToEnableAnnotations() {}

ax::mojom::Action AXMainNodeAnnotator::GetAXActionToEnableAnnotations() {}

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

void AXMainNodeAnnotator::ProcessScreen2xResult(const WebDocument& document,
                                                ui::AXNodeID main_node_id) {}

void AXMainNodeAnnotator::ComputeAuthorStatus(ui::AXTreeUpdate* update) {}

void AXMainNodeAnnotator::BindAnnotatorForTesting(
    mojo::PendingRemote<screen_ai::mojom::Screen2xMainContentExtractor>
        annotator) {}

}  // namespace content