mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
efdf9aa8d4
* Add AccessibilityHander. Implement CefAccessibilityHandler. Add IAccessibilityHandler interface. Add AccessibilityHandler field to IWebBrowser. * Pull request fixes. Replaces tabs with spaces; move CefAccessibilityHandler implementation to RenderClientAdapter; add missing comments. * Add CefValueWrapper. Add ICefValue interface; pass ICefValue to IAccessibilityHandler. * Pull request fixes. Rename CefValue to Value and CefValueType to ValueType; add CefValueWrapper::GetObject() method; remove stub code in AccessibilityHandler; fix comment on IAccessibilityHandler. * Pull request fixes. Fix comments for IValue; remove redundant global namespace reference for CefValueType.
26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
// Copyright © 2010-2018 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
|
|
{
|
|
/// <summary>
|
|
/// Implement this interface 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 interface IAccessibilityHandler
|
|
{
|
|
/// <summary>
|
|
/// Called after renderer process sends accessibility location changes to the browser process.
|
|
/// </summary>
|
|
/// <param name="value">Updated location info.</param>
|
|
void OnAccessibilityLocationChange(IValue value);
|
|
|
|
/// <summary>
|
|
/// Called after renderer process sends accessibility tree changes to the browser process.
|
|
/// </summary>
|
|
/// <param name="value">Updated tree info.</param>
|
|
void OnAccessibilityTreeChange(IValue value);
|
|
}
|
|
} |