chromium/ui/accessibility/ax_computed_node_data.cc

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

#include "ui/accessibility/ax_computed_node_data.h"

#include "base/check_op.h"
#include "base/i18n/break_iterator.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/accessibility/accessibility_features.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_node_position.h"
#include "ui/accessibility/ax_position.h"
#include "ui/accessibility/ax_range.h"
#include "ui/accessibility/ax_tree_manager.h"
#include "ui/accessibility/ax_tree_manager_map.h"

namespace ui {

AXComputedNodeData::AXComputedNodeData(const AXNode& node) :{}

AXComputedNodeData::~AXComputedNodeData() = default;

// static
bool AXComputedNodeData::CanComputeAttribute(
    const ax::mojom::IntAttribute attribute,
    const AXNode* node) {}

int AXComputedNodeData::GetOrComputeUnignoredIndexInParent() const {}

AXNodeID AXComputedNodeData::GetOrComputeUnignoredParentID() const {}

AXNode* AXComputedNodeData::GetOrComputeUnignoredParent() const {}

int AXComputedNodeData::GetOrComputeUnignoredChildCount() const {}

const std::vector<AXNodeID>& AXComputedNodeData::GetOrComputeUnignoredChildIDs()
    const {}

bool AXComputedNodeData::GetOrComputeIsDescendantOfPlatformLeaf() const {}

bool AXComputedNodeData::ComputeAttribute(
    const ax::mojom::IntAttribute attribute,
    int* value) const {}

bool AXComputedNodeData::HasOrCanComputeAttribute(
    const ax::mojom::StringAttribute attribute) const {}

bool AXComputedNodeData::HasOrCanComputeAttribute(
    const ax::mojom::IntListAttribute attribute) const {}

const std::string& AXComputedNodeData::GetOrComputeAttributeUTF8(
    const ax::mojom::StringAttribute attribute) const {}

std::u16string AXComputedNodeData::GetOrComputeAttributeUTF16(
    const ax::mojom::StringAttribute attribute) const {}

const std::vector<int32_t>& AXComputedNodeData::GetOrComputeAttribute(
    const ax::mojom::IntListAttribute attribute) const {}

const std::string&
AXComputedNodeData::GetOrComputeTextContentWithParagraphBreaksUTF8() const {}

const std::u16string&
AXComputedNodeData::GetOrComputeTextContentWithParagraphBreaksUTF16() const {}

const std::string& AXComputedNodeData::GetOrComputeTextContentUTF8() const {}

const std::u16string& AXComputedNodeData::GetOrComputeTextContentUTF16() const {}

int AXComputedNodeData::GetOrComputeTextContentLengthUTF8() const {}

int AXComputedNodeData::GetOrComputeTextContentLengthUTF16() const {}

bool AXComputedNodeData::CanInferNameAttribute() const {}

void AXComputedNodeData::ComputeUnignoredValues(
    AXNodeID unignored_parent_id,
    int starting_index_in_parent) const {}

AXNode* AXComputedNodeData::SlowGetUnignoredParent() const {}

void AXComputedNodeData::ComputeIsDescendantOfPlatformLeaf() const {}

void AXComputedNodeData::ComputeLineOffsetsIfNeeded() const {}

void AXComputedNodeData::ComputeSentenceOffsetsIfNeeded() const {}

void AXComputedNodeData::ComputeWordOffsetsIfNeeded() const {}

std::string AXComputedNodeData::ComputeTextContentUTF8() const {}

std::u16string AXComputedNodeData::ComputeTextContentUTF16() const {}

}  // namespace ui