| 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 30 matching lines...) Expand all Loading... |
| 41 // the manager. | 41 // the manager. |
| 42 - (content::BrowserAccessibilityDelegate*)delegate; | 42 - (content::BrowserAccessibilityDelegate*)delegate; |
| 43 | 43 |
| 44 // Convert the local objet's origin to a global point. | 44 // Convert the local objet's origin to a global point. |
| 45 - (NSPoint)pointInScreen:(NSPoint)origin | 45 - (NSPoint)pointInScreen:(NSPoint)origin |
| 46 size:(NSSize)size; | 46 size:(NSSize)size; |
| 47 | 47 |
| 48 // Return the method name for the given attribute. For testing only. | 48 // Return the method name for the given attribute. For testing only. |
| 49 - (NSString*)methodNameForAttribute:(NSString*)attribute; | 49 - (NSString*)methodNameForAttribute:(NSString*)attribute; |
| 50 | 50 |
| 51 // Swap the children array with the given scoped_nsobject. |
| 52 - (void)swapChildren:(base::scoped_nsobject<NSMutableArray>*)other; |
| 53 |
| 51 // Internally-used method. | 54 // Internally-used method. |
| 52 @property(nonatomic, readonly) NSPoint origin; | 55 @property(nonatomic, readonly) NSPoint origin; |
| 53 | 56 |
| 54 // Children is an array of BrowserAccessibility objects, representing | 57 // Children is an array of BrowserAccessibility objects, representing |
| 55 // the accessibility children of this object. | 58 // the accessibility children of this object. |
| 56 @property(nonatomic, readonly) NSString* accessKey; | 59 @property(nonatomic, readonly) NSString* accessKey; |
| 57 @property(nonatomic, readonly) NSNumber* ariaAtomic; | 60 @property(nonatomic, readonly) NSNumber* ariaAtomic; |
| 58 @property(nonatomic, readonly) NSNumber* ariaBusy; | 61 @property(nonatomic, readonly) NSNumber* ariaBusy; |
| 59 @property(nonatomic, readonly) NSString* ariaLive; | 62 @property(nonatomic, readonly) NSString* ariaLive; |
| 60 @property(nonatomic, readonly) NSString* ariaRelevant; | 63 @property(nonatomic, readonly) NSString* ariaRelevant; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 @property(nonatomic, readonly) NSString* valueDescription; | 109 @property(nonatomic, readonly) NSString* valueDescription; |
| 107 @property(nonatomic, readonly) NSValue* visibleCharacterRange; | 110 @property(nonatomic, readonly) NSValue* visibleCharacterRange; |
| 108 @property(nonatomic, readonly) NSArray* visibleCells; | 111 @property(nonatomic, readonly) NSArray* visibleCells; |
| 109 @property(nonatomic, readonly) NSArray* visibleColumns; | 112 @property(nonatomic, readonly) NSArray* visibleColumns; |
| 110 @property(nonatomic, readonly) NSArray* visibleRows; | 113 @property(nonatomic, readonly) NSArray* visibleRows; |
| 111 @property(nonatomic, readonly) NSNumber* visited; | 114 @property(nonatomic, readonly) NSNumber* visited; |
| 112 @property(nonatomic, readonly) id window; | 115 @property(nonatomic, readonly) id window; |
| 113 @end | 116 @end |
| 114 | 117 |
| 115 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ | 118 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ |
| OLD | NEW |