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

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

Issue 2141013004: Mac a11y: Add Help, TopLevelUIElement, and Window accessibility attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test views without tooltips set. Created 4 years, 5 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 e6dd24d90413fa1db79d36d6d01477807d2282cf..a46e3873936ca49588b2e942d9034610eee4a8a1 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -35,6 +35,9 @@ class AX_EXPORT AXPlatformNodeDelegate {
// is mostly to implement support for walking the accessibility tree.
virtual const AXNodeData& GetData() = 0;
+ // Get the window the node is contained in.
+ virtual gfx::NativeWindow GetTopLevelWidget() = 0;
+
// Get the parent of the node, which may be an AXPlatformNode or it may
// be a native accessible object implemented by another class.
virtual gfx::NativeViewAccessible GetParent() = 0;

Powered by Google App Engine
This is Rietveld 408576698