-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core - Add Default Handler implementations
Inherit and override only the required methods rather than implement the whole interface
- Loading branch information
Showing
22 changed files
with
1,854 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) | ||
{ | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.