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

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

Issue 2119413004: a11y: Exclude children of nested keyboard accessible controls from a11y tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of 2704263002. Created 3 years, 10 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_mac.h
diff --git a/ui/accessibility/platform/ax_platform_node_mac.h b/ui/accessibility/platform/ax_platform_node_mac.h
index d5501a9308bfe93a4c3bf14aa77da9ea64f6f3a4..e1dc584b0d252f29637a0323e0ba7f70ea2bb15a 100644
--- a/ui/accessibility/platform/ax_platform_node_mac.h
+++ b/ui/accessibility/platform/ax_platform_node_mac.h
@@ -39,11 +39,7 @@ class AXPlatformNodeMac : public AXPlatformNodeBase {
} // namespace ui
AX_EXPORT
-@interface AXPlatformNodeCocoa : NSObject {
- @private
- ui::AXPlatformNodeBase* node_; // Weak. Retains us.
-}
-
+@interface AXPlatformNodeCocoa : NSObject
+ (NSString*)nativeRoleFromAXRole:(ui::AXRole)role;
+ (NSString*)nativeSubroleFromAXRole:(ui::AXRole)role;
+ (NSString*)nativeNotificationFromAXEvent:(ui::AXEvent)event;
@@ -52,6 +48,7 @@ AX_EXPORT
- (void)detach;
@property(nonatomic, readonly) NSRect boundsInScreen;
+@property(nonatomic, readonly) ui::AXPlatformNodeBase* node;
@end

Powered by Google App Engine
This is Rietveld 408576698