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" |
| 11 #include "base/macros.h" |
11 #include "ui/accessibility/ax_export.h" | 12 #include "ui/accessibility/ax_export.h" |
12 #include "ui/accessibility/platform/ax_platform_node_base.h" | 13 #include "ui/accessibility/platform/ax_platform_node_base.h" |
13 | 14 |
14 @class AXPlatformNodeCocoa; | 15 @class AXPlatformNodeCocoa; |
15 | 16 |
16 namespace ui { | 17 namespace ui { |
17 | 18 |
18 class AXPlatformNodeMac : public AXPlatformNodeBase { | 19 class AXPlatformNodeMac : public AXPlatformNodeBase { |
19 public: | 20 public: |
20 AXPlatformNodeMac(); | 21 AXPlatformNodeMac(); |
(...skipping 26 matching lines...) Expand all Loading... |
47 + (NSString*)nativeSubroleFromAXRole:(ui::AXRole)role; | 48 + (NSString*)nativeSubroleFromAXRole:(ui::AXRole)role; |
48 | 49 |
49 - (instancetype)initWithNode:(ui::AXPlatformNodeBase*)node; | 50 - (instancetype)initWithNode:(ui::AXPlatformNodeBase*)node; |
50 - (void)detach; | 51 - (void)detach; |
51 | 52 |
52 @property(nonatomic, readonly) NSRect boundsInScreen; | 53 @property(nonatomic, readonly) NSRect boundsInScreen; |
53 | 54 |
54 @end | 55 @end |
55 | 56 |
56 #endif // UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ | 57 #endif // UI_ACCESSIBILITY_AX_PLATFORM_NODE_MAC_H_ |
OLD | NEW |