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