Flutter Engine
The Flutter Engine
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
10namespace 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.
15 public:
16 // In our design, a fragment root can have at most one child.
17 // See AXFragmentRootWin for more details.
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.
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.
32};
33
34} // namespace ui
35
36#endif // UI_ACCESSIBILITY_PLATFORM_AX_FRAGMENT_ROOT_DELEGATE_WIN_H_
virtual gfx::NativeViewAccessible GetChildOfAXFragmentRoot()=0
virtual gfx::NativeViewAccessible GetParentOfAXFragmentRoot()=0
virtual bool IsAXFragmentRootAControlElement()=0
UnimplementedNativeViewAccessible * NativeViewAccessible