namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
///
/// Implement this interface to receive accessibility notification when
/// accessibility events have been registered. The methods of this class will
/// be called on the UI thread.
///
public abstract unsafe partial class CefAccessibilityHandler
{
private void on_accessibility_tree_change(cef_accessibility_handler_t* self, cef_value_t* value)
{
CheckSelf(self);
using (var mValue = CefValue.FromNativeOrNull(value))
{
OnAccessibilityTreeChange(mValue);
}
}
///
/// Called after renderer process sends accessibility tree changes to the
/// browser process.
///
protected abstract void OnAccessibilityTreeChange(CefValue value);
private void on_accessibility_location_change(cef_accessibility_handler_t* self, cef_value_t* value)
{
CheckSelf(self);
using (var mValue = CefValue.FromNativeOrNull(value))
{
OnAccessibilityLocationChange(mValue);
}
}
///
/// Called after renderer process sends accessibility location changes to the
/// browser process.
///
protected abstract void OnAccessibilityLocationChange(CefValue value);
}
}