blob: 76128034cbb09983480932b4d5484aab6049db69 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/null_ax_action_target.h"
namespace ui {
AXActionTarget::Type NullAXActionTarget::GetType() const {
return AXActionTarget::Type::kNull;
}
bool NullAXActionTarget::ClearAccessibilityFocus() const {
return false;
}
bool NullAXActionTarget::Click() const {
return false;
}
bool NullAXActionTarget::Decrement() const {
return false;
}
bool NullAXActionTarget::Increment() const {
return false;
}
bool NullAXActionTarget::Focus() const {
return false;
}
gfx::Rect NullAXActionTarget::GetRelativeBounds() const {
return gfx::Rect();
}
gfx::Point NullAXActionTarget::GetScrollOffset() const {
return gfx::Point();
}
gfx::Point NullAXActionTarget::MinimumScrollOffset() const {
return gfx::Point();
}
gfx::Point NullAXActionTarget::MaximumScrollOffset() const {
return gfx::Point();
}
bool NullAXActionTarget::SetAccessibilityFocus() const {
return false;
}
void NullAXActionTarget::SetScrollOffset(const gfx::Point& point) const {}
bool NullAXActionTarget::SetSelected(bool selected) const {
return false;
}
bool NullAXActionTarget::SetSelection(const AXActionTarget* anchor_object,
int anchor_offset,
const AXActionTarget* focus_object,
int focus_offset) const {
return false;
}
bool NullAXActionTarget::SetSequentialFocusNavigationStartingPoint() const {
return false;
}
bool NullAXActionTarget::SetValue(const std::string& value) const {
return false;
}
bool NullAXActionTarget::ShowContextMenu() const {
return false;
}
bool NullAXActionTarget::ScrollToMakeVisible() const {
return false;
}
bool NullAXActionTarget::ScrollToMakeVisibleWithSubFocus(
const gfx::Rect& rect,
ax::mojom::ScrollAlignment horizontal_scroll_alignment,
ax::mojom::ScrollAlignment vertical_scroll_alignment) const {
return false;
}
bool NullAXActionTarget::ScrollToGlobalPoint(const gfx::Point& point) const {
return false;
}
} // namespace ui