OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 // persist if the system still has references to it. | 30 // persist if the system still has references to it. |
31 - (void)detach; | 31 - (void)detach; |
32 | 32 |
33 // Invalidate children for a non-ignored ancestor (including self). | 33 // Invalidate children for a non-ignored ancestor (including self). |
34 - (void)childrenChanged; | 34 - (void)childrenChanged; |
35 | 35 |
36 // Convenience method to get the internal, cross-platform role | 36 // Convenience method to get the internal, cross-platform role |
37 // from browserAccessibility_. | 37 // from browserAccessibility_. |
38 - (ui::AXRole)internalRole; | 38 - (ui::AXRole)internalRole; |
39 | 39 |
| 40 // Convenience method to determine if this object should expose its |
| 41 // accessible name in AXValue (as opposed to AXTitle/AXDescription). |
| 42 - (bool)shouldExposeNameInAXValue; |
| 43 |
40 // Convenience method to get the BrowserAccessibilityDelegate from | 44 // Convenience method to get the BrowserAccessibilityDelegate from |
41 // the manager. | 45 // the manager. |
42 - (content::BrowserAccessibilityDelegate*)delegate; | 46 - (content::BrowserAccessibilityDelegate*)delegate; |
43 | 47 |
44 // Get the BrowserAccessibility that this object wraps. | 48 // Get the BrowserAccessibility that this object wraps. |
45 - (content::BrowserAccessibility*)browserAccessibility; | 49 - (content::BrowserAccessibility*)browserAccessibility; |
46 | 50 |
47 // Convert the local objet's origin to a global point. | 51 // Convert the local objet's origin to a global point. |
48 - (NSPoint)pointInScreen:(NSPoint)origin | 52 - (NSPoint)pointInScreen:(NSPoint)origin |
49 size:(NSSize)size; | 53 size:(NSSize)size; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 @property(nonatomic, readonly) NSValue* visibleCharacterRange; | 119 @property(nonatomic, readonly) NSValue* visibleCharacterRange; |
116 @property(nonatomic, readonly) NSArray* visibleCells; | 120 @property(nonatomic, readonly) NSArray* visibleCells; |
117 @property(nonatomic, readonly) NSArray* visibleChildren; | 121 @property(nonatomic, readonly) NSArray* visibleChildren; |
118 @property(nonatomic, readonly) NSArray* visibleColumns; | 122 @property(nonatomic, readonly) NSArray* visibleColumns; |
119 @property(nonatomic, readonly) NSArray* visibleRows; | 123 @property(nonatomic, readonly) NSArray* visibleRows; |
120 @property(nonatomic, readonly) NSNumber* visited; | 124 @property(nonatomic, readonly) NSNumber* visited; |
121 @property(nonatomic, readonly) id window; | 125 @property(nonatomic, readonly) id window; |
122 @end | 126 @end |
123 | 127 |
124 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ | 128 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ |
OLD | NEW |