Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: ui/accessibility/platform/ax_platform_node_delegate.h

Issue 2955073002: Manky attempt with TextInputClient
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « content/browser/accessibility/browser_accessibility.cc ('k') | ui/accessibility/platform/ax_platform_node_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698