Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
ax_fragment_root_delegate_win.h
Go to the documentation of this file.
1
// Copyright 2019 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_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
6
#define UI_ACCESSIBILITY_PLATFORM_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
7
8
#include "
flutter/third_party/accessibility/gfx/native_widget_types.h
"
9
10
namespace
ui
{
11
12
// Delegate interface for clients of AXFragmentRootWin. This allows the client
13
// to relate the fragment root to its neighbors in a loosely coupled way.
14
class
AXFragmentRootDelegateWin
{
15
public
:
16
// In our design, a fragment root can have at most one child.
17
// See AXFragmentRootWin for more details.
18
virtual
gfx::NativeViewAccessible
GetChildOfAXFragmentRoot
() = 0;
19
20
// Optionally returns a parent node for the fragment root. This is used, for
21
// example, to place the web content fragment at the correct spot in the
22
// browser UI's accessibility tree.
23
// If a fragment root returns no parent, the OS will use HWND parent-child
24
// relationships to establish the fragment root's location in the tree.
25
virtual
gfx::NativeViewAccessible
GetParentOfAXFragmentRoot
() = 0;
26
27
// Return true if the window should be treated as an accessible control or
28
// false if the window should be considered a structural detail that should
29
// not be exposed to assistive technology users. See AXFragmentRootWin for
30
// more details.
31
virtual
bool
IsAXFragmentRootAControlElement
() = 0;
32
};
33
34
}
// namespace ui
35
36
#endif
// UI_ACCESSIBILITY_PLATFORM_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
ui::AXFragmentRootDelegateWin
Definition
ax_fragment_root_delegate_win.h:14
ui::AXFragmentRootDelegateWin::GetChildOfAXFragmentRoot
virtual gfx::NativeViewAccessible GetChildOfAXFragmentRoot()=0
ui::AXFragmentRootDelegateWin::GetParentOfAXFragmentRoot
virtual gfx::NativeViewAccessible GetParentOfAXFragmentRoot()=0
ui::AXFragmentRootDelegateWin::IsAXFragmentRootAControlElement
virtual bool IsAXFragmentRootAControlElement()=0
gfx::NativeViewAccessible
UnimplementedNativeViewAccessible * NativeViewAccessible
Definition
native_widget_types.h:225
ui
Definition
window_binding_handler.h:19
native_widget_types.h
third_party
accessibility
ax
platform
ax_fragment_root_delegate_win.h
Generated on Tue Dec 2 2025 04:46:44 for Flutter Engine Uber Docs by
1.9.8