-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy pathAccessibilityHandler.cs
More file actions
44 lines (38 loc) · 1.51 KB
/
Copy pathAccessibilityHandler.cs
File metadata and controls
44 lines (38 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright © 2021 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.Handler
{
/// <summary>
/// Inherit from this class to receive accessibility notification when accessibility events have been registered.
/// It's important to note that the methods of this interface are called on a CEF UI thread,
/// which by default is not the same as your application UI thread.
/// </summary>
public class AccessibilityHandler : IAccessibilityHandler
{
/// <inheritdoc/>
void IAccessibilityHandler.OnAccessibilityLocationChange(IValue value)
{
OnAccessibilityLocationChange(value);
}
/// <summary>
/// Called after renderer process sends accessibility location changes to the browser process.
/// </summary>
/// <param name="value">Updated location info.</param>
protected virtual void OnAccessibilityLocationChange(IValue value)
{
}
/// <inheritdoc/>
void IAccessibilityHandler.OnAccessibilityTreeChange(IValue value)
{
OnAccessibilityTreeChange(value);
}
/// <summary>
/// Called after renderer process sends accessibility tree changes to the browser process.
/// </summary>
/// <param name="value">Updated tree info.</param>
protected virtual void OnAccessibilityTreeChange(IValue value)
{
}
}
}