OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ | 5 #ifndef UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ |
6 #define UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ | 6 #define UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
44 ui::AXPlatformNodeBase* node_; // Weak. Retains us. | 44 ui::AXPlatformNodeBase* node_; // Weak. Retains us. |
45 } | 45 } |
46 | 46 |
47 + (NSString*)nativeRoleFromAXRole:(ui::AXRole)role; | 47 + (NSString*)nativeRoleFromAXRole:(ui::AXRole)role; |
48 + (NSString*)nativeSubroleFromAXRole:(ui::AXRole)role; | 48 + (NSString*)nativeSubroleFromAXRole:(ui::AXRole)role; |
49 + (NSString*)nativeNotificationFromAXEvent:(ui::AXEvent)event; | 49 + (NSString*)nativeNotificationFromAXEvent:(ui::AXEvent)event; |
50 | 50 |
51 - (instancetype)initWithNode:(ui::AXPlatformNodeBase*)node; | 51 - (instancetype)initWithNode:(ui::AXPlatformNodeBase*)node; |
52 - (void)detach; | 52 - (void)detach; |
53 | 53 |
54 // Retrieves the AXPlatformNodeBase associated with this AXPlatformNodeCocoa. | |
55 - (ui::AXPlatformNodeBase*)getNode; | |
tapted
2017/02/15 02:10:45
@property(nonatomic, readonly) ui::AXPlatformNodeB
Patti Lor
2017/02/21 03:29:17
Done, also moved the private declaration of |node_
| |
56 | |
54 @property(nonatomic, readonly) NSRect boundsInScreen; | 57 @property(nonatomic, readonly) NSRect boundsInScreen; |
55 | 58 |
56 @end | 59 @end |
57 | 60 |
58 #endif // UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ | 61 #endif // UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ |
OLD | NEW |