Flutter Engine
The Flutter Engine
third_party
accessibility
ax
platform
compute_attributes.h
Go to the documentation of this file.
1
// Copyright 2018 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef UI_ACCESSIBILITY_PLATFORM_COMPUTE_ATTRIBUTES_H_
6
#define UI_ACCESSIBILITY_PLATFORM_COMPUTE_ATTRIBUTES_H_
7
8
#include <cstddef>
9
#include <optional>
10
11
#include "
ax/ax_enums.h
"
12
#include "
ax/ax_export.h
"
13
14
namespace
ui
{
15
16
class
AXPlatformNodeDelegate;
17
18
// Compute the attribute value instead of returning the "raw" attribute value
19
// for those attributes that have computation methods.
20
AX_EXPORT
std::optional<int32_t>
ComputeAttribute
(
21
const
ui::AXPlatformNodeDelegate
* delegate,
22
ax::mojom::IntAttribute
attribute);
23
24
}
// namespace ui
25
26
#endif
// UI_ACCESSIBILITY_PLATFORM_COMPUTE_ATTRIBUTES_H_
ax_enums.h
ax_export.h
AX_EXPORT
#define AX_EXPORT
Definition:
ax_export.h:29
ui::AXPlatformNodeDelegate
Definition:
ax_platform_node_delegate.h:60
ax::mojom::IntAttribute
IntAttribute
Definition:
ax_enums.h:560
ui
Definition:
window_binding_handler.h:18
ui::ComputeAttribute
std::optional< int32_t > ComputeAttribute(const ui::AXPlatformNodeDelegate *delegate, ax::mojom::IntAttribute attribute)
Definition:
compute_attributes.cc:98
Generated on Sun Jun 23 2024 21:55:21 for Flutter Engine by
1.9.4