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

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

Issue 2933353002: Forward four more BrowserAccessibility APIs to AXPlatformNode. (Closed)
Patch Set: Use SkColor.h instead 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 6960a4444e7f197317eead6e26a3a84c74405490..11cf9cec58f6d38f2b0b52a7daeef61dcb4fc04e 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -14,6 +14,7 @@ namespace ui {
struct AXActionData;
struct AXNodeData;
+struct AXTreeData;
class AXPlatformNode;
// An object that wants to be accessible should derive from this class.
@@ -36,6 +37,9 @@ class AX_EXPORT AXPlatformNodeDelegate {
// is mostly to implement support for walking the accessibility tree.
virtual const AXNodeData& GetData() const = 0;
+ // Get the accessibility tree data for this node.
+ virtual const ui::AXTreeData& GetTreeData() const = 0;
+
// Get the window the node is contained in.
virtual gfx::NativeWindow GetTopLevelWidget() = 0;
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_base.cc ('k') | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698