chromium/third_party/blink/renderer/modules/accessibility/ax_validation_message.cc

// Copyright 2019 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/modules/accessibility/ax_validation_message.h"

#include "third_party/blink/renderer/core/html/forms/listed_element.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "ui/gfx/geometry/transform.h"

namespace blink {

AXValidationMessage::AXValidationMessage(AXObjectCacheImpl& ax_object_cache)
    :{}

AXValidationMessage::~AXValidationMessage() {}

bool AXValidationMessage::ComputeIsIgnored(
    IgnoredReasons* ignored_reasons) const {}

Document* AXValidationMessage::GetDocument() const {}

// TODO(accessibility) Currently we return the bounds of the focused form
// control. If this becomes an issue, return the bounds of the alert itself.
void AXValidationMessage::GetRelativeBounds(
    AXObject** out_container,
    gfx::RectF& out_bounds_in_container,
    gfx::Transform& out_container_transform,
    bool* clips_children) const {}

bool AXValidationMessage::IsOffScreen() const {}

bool AXValidationMessage::IsVisible() const {}

const AtomicString& AXValidationMessage::LiveRegionStatus() const {}

const AtomicString& AXValidationMessage::LiveRegionRelevant() const {}

ax::mojom::blink::Role AXValidationMessage::NativeRoleIgnoringAria() const {}

ListedElement* AXValidationMessage::RelatedFormControlIfVisible() const {}

String AXValidationMessage::TextAlternative(
    bool recursive,
    const AXObject* aria_label_or_description_root,
    AXObjectSet& visited,
    ax::mojom::NameFrom& name_from,
    AXRelatedObjectVector* related_objects,
    NameSources* name_sources) const {}

}  // namespace blink