chromium/components/pdf/renderer/pdf_ax_action_target.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 "components/pdf/renderer/pdf_ax_action_target.h"

#include "components/pdf/renderer/pdf_accessibility_tree.h"
#include "pdf/accessibility_structs.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/gfx/geometry/rect_conversions.h"

namespace pdf {

namespace {

chrome_pdf::AccessibilityScrollAlignment ConvertAXScrollToPdfScrollAlignment(
    ax::mojom::ScrollAlignment scroll_alignment) {}

}  // namespace

// static
const PdfAXActionTarget* PdfAXActionTarget::FromAXActionTarget(
    const ui::AXActionTarget* ax_action_target) {}

PdfAXActionTarget::PdfAXActionTarget(const ui::AXNode& plugin_node,
                                     PdfAccessibilityTree* pdf_tree_source)
    :{}

PdfAXActionTarget::~PdfAXActionTarget() = default;

ui::AXActionTarget::Type PdfAXActionTarget::GetType() const {}

bool PdfAXActionTarget::PerformAction(
    const ui::AXActionData& action_data) const {}

bool PdfAXActionTarget::Click() const {}

gfx::Rect PdfAXActionTarget::GetRelativeBounds() const {}

gfx::Point PdfAXActionTarget::GetScrollOffset() const {}

gfx::Point PdfAXActionTarget::MinimumScrollOffset() const {}

gfx::Point PdfAXActionTarget::MaximumScrollOffset() const {}

void PdfAXActionTarget::SetScrollOffset(const gfx::Point& point) const {}

bool PdfAXActionTarget::SetSelection(const ui::AXActionTarget* anchor_object,
                                     int anchor_offset,
                                     const ui::AXActionTarget* focus_object,
                                     int focus_offset) const {}

bool PdfAXActionTarget::ShowContextMenu() const {}

bool PdfAXActionTarget::ScrollToMakeVisible() const {}

bool PdfAXActionTarget::ScrollToMakeVisibleWithSubFocus(
    const gfx::Rect& rect,
    ax::mojom::ScrollAlignment horizontal_scroll_alignment,
    ax::mojom::ScrollAlignment vertical_scroll_alignment,
    ax::mojom::ScrollBehavior scroll_behavior) const {}

bool PdfAXActionTarget::ScrollToGlobalPoint(const gfx::Point& point) const {}

bool PdfAXActionTarget::StitchChildTree(
    const ui::AXTreeID& child_tree_id) const {}

}  // namespace pdf