| Index: ui/accessibility/platform/ax_platform_node_delegate.h
|
| diff --git a/ui/accessibility/platform/ax_platform_node_delegate.h b/ui/accessibility/platform/ax_platform_node_delegate.h
|
| index 11cf9cec58f6d38f2b0b52a7daeef61dcb4fc04e..ef6f0c54b3c2a6e51e59ba23fcc46cd7610ef3c4 100644
|
| --- a/ui/accessibility/platform/ax_platform_node_delegate.h
|
| +++ b/ui/accessibility/platform/ax_platform_node_delegate.h
|
| @@ -16,6 +16,7 @@ struct AXActionData;
|
| struct AXNodeData;
|
| struct AXTreeData;
|
| class AXPlatformNode;
|
| +class TextInputClient;
|
|
|
| // An object that wants to be accessible should derive from this class.
|
| // AXPlatformNode subclasses use this interface to query all of the information
|
| @@ -56,6 +57,10 @@ class AX_EXPORT AXPlatformNodeDelegate {
|
| // Get the bounds of this node in screen coordinates.
|
| virtual gfx::Rect GetScreenBoundsRect() const = 0;
|
|
|
| + // Get the TextInputClient, if there is one for this element. When available,
|
| + // this can provide detailed properties for text in this node.
|
| + virtual TextInputClient* GetTextInputClient() const = 0;
|
| +
|
| // Do a *synchronous* hit test of the given location in global screen
|
| // coordinates, and the node within this node's subtree (inclusive) that's
|
| // hit, if any.
|
|
|