chromium/third_party/blink/renderer/core/aom/computed_accessible_node.cc

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

#include "third_party/blink/renderer/core/aom/computed_accessible_node.h"

#include <stdint.h>
#include <memory>
#include <utility>

#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/web/web_local_frame_client.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/accessibility/ax_context.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/dom/frame_request_callback_collection.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread_scheduler.h"
#include "ui/accessibility/ax_mode.h"

namespace blink {

class ComputedAccessibleNodePromiseResolver::RequestAnimationFrameCallback final
    : public FrameCallback {};

ComputedAccessibleNodePromiseResolver::ComputedAccessibleNodePromiseResolver(
    ScriptState* script_state,
    Document& document,
    AXID ax_id)
    :{}

ComputedAccessibleNodePromiseResolver::ComputedAccessibleNodePromiseResolver(
    ScriptState* script_state,
    Element& element)
    :{}

ScriptPromise<ComputedAccessibleNode>
ComputedAccessibleNodePromiseResolver::Promise() {}

void ComputedAccessibleNodePromiseResolver::Trace(Visitor* visitor) const {}

void ComputedAccessibleNodePromiseResolver::ComputeAccessibleNode() {}

void ComputedAccessibleNodePromiseResolver::EnsureUpToDate() {}

void ComputedAccessibleNodePromiseResolver::UpdateTreeAndResolve() {}

// ComputedAccessibleNode ------------------------------------------------------

ComputedAccessibleNode::ComputedAccessibleNode(AXID ax_id, Document* document)
    :{}

ComputedAccessibleNode::~ComputedAccessibleNode() = default;

std::optional<bool> ComputedAccessibleNode::atomic() const {}

std::optional<bool> ComputedAccessibleNode::busy() const {}

std::optional<bool> ComputedAccessibleNode::disabled() const {}

std::optional<bool> ComputedAccessibleNode::readOnly() const {}

std::optional<bool> ComputedAccessibleNode::expanded() const {}

std::optional<bool> ComputedAccessibleNode::modal() const {}

std::optional<bool> ComputedAccessibleNode::multiline() const {}

std::optional<bool> ComputedAccessibleNode::multiselectable() const {}

std::optional<bool> ComputedAccessibleNode::required() const {}

std::optional<bool> ComputedAccessibleNode::selected() const {}

std::optional<int32_t> ComputedAccessibleNode::colCount() const {}

std::optional<int32_t> ComputedAccessibleNode::colIndex() const {}

std::optional<int32_t> ComputedAccessibleNode::colSpan() const {}

std::optional<int32_t> ComputedAccessibleNode::level() const {}

std::optional<int32_t> ComputedAccessibleNode::posInSet() const {}

std::optional<int32_t> ComputedAccessibleNode::rowCount() const {}

std::optional<int32_t> ComputedAccessibleNode::rowIndex() const {}

std::optional<int32_t> ComputedAccessibleNode::rowSpan() const {}

std::optional<int32_t> ComputedAccessibleNode::setSize() const {}

std::optional<float> ComputedAccessibleNode::valueMax() const {}

std::optional<float> ComputedAccessibleNode::valueMin() const {}

std::optional<float> ComputedAccessibleNode::valueNow() const {}

ScriptPromise<ComputedAccessibleNode> ComputedAccessibleNode::ensureUpToDate(
    ScriptState* script_state) {}

const String ComputedAccessibleNode::autocomplete() const {}

const String ComputedAccessibleNode::checked() const {}

const String ComputedAccessibleNode::keyShortcuts() const {}
const String ComputedAccessibleNode::name() const {}
const String ComputedAccessibleNode::placeholder() const {}

const String ComputedAccessibleNode::role() const {}

const String ComputedAccessibleNode::roleDescription() const {}

const String ComputedAccessibleNode::valueText() const {}

ComputedAccessibleNode* ComputedAccessibleNode::parent() const {}

ComputedAccessibleNode* ComputedAccessibleNode::firstChild() const {}

ComputedAccessibleNode* ComputedAccessibleNode::lastChild() const {}

ComputedAccessibleNode* ComputedAccessibleNode::previousSibling() const {}

ComputedAccessibleNode* ComputedAccessibleNode::nextSibling() const {}

Document* ComputedAccessibleNode::GetDocument() const {}

WebComputedAXTree* ComputedAccessibleNode::GetTree() const {}

std::optional<bool> ComputedAccessibleNode::GetBoolAttribute(
    WebAOMBoolAttribute attr) const {}

std::optional<int32_t> ComputedAccessibleNode::GetIntAttribute(
    WebAOMIntAttribute attr) const {}

std::optional<float> ComputedAccessibleNode::GetFloatAttribute(
    WebAOMFloatAttribute attr) const {}

const String ComputedAccessibleNode::GetStringAttribute(
    WebAOMStringAttribute attr) const {}

void ComputedAccessibleNode::Trace(Visitor* visitor) const {}

}  // namespace blink