Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement UiaConnectionBoundObject in abstraction API #95

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jun 2, 2022

  1. microsoft.ui.uiAutomation winrt library:

    * Add a 'Set' method to AutomationRemoteExtensionTarget. All AutomationRemoteObject subclasses require this but seemed to have been left out of the original implementation.
    * Add 'IsExtensionTarget' and 'AsExtensionTarget' methods to AutomationRemoteAnyObject to enable check / casting to AutomationRemoteExtensionTarget.
    * Add a deprecation comment to AutomationRemoteExtensionTarget::IsExtensionTarget. I think this was a misunderstanding of where this needed to be.
    michaelDCurran committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    7979556 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. Uia abstraction library:

    * Add a UiaTypeBaseWithExtensionSupport template class which subclasses UiaTypeBase and adds IsExtensionSupported and CallExtension methods, moved from UiaElement.
    * UiaElement and UiaTextRange now inherit from UiaTypeBaseWithExtensionSupport rather than UiaTypeBase. This makes IsExtensionSupported and CallExtension methods again available on UiaElement, but also now UiaTextRange.
    * Add a new UiaConnectionBoundObject class, which inherits from UiaTypeBaseWithExtensionSupport. It contains no other real features of its own a part from being constructable from / convertable to AutomationRemoteExtensionTarget remotely and IUnknown locally. This can be used as a generic connection-bound object, such as sometimes returned from CallExtension, which represents a custom extension pattern. Previously the caller had to treat the object as a UiaElement, even though it was not really.
    michaelDCurran committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    fde3a9b View commit details
    Browse the repository at this point in the history