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/memory/scoped_nsobject.h" | 10 #import "base/memory/scoped_nsobject.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 // the accessibility children of this object. | 36 // the accessibility children of this object. |
37 @property(nonatomic, readonly) NSArray* children; | 37 @property(nonatomic, readonly) NSArray* children; |
38 @property(nonatomic, readonly) NSArray* columns; | 38 @property(nonatomic, readonly) NSArray* columns; |
39 @property(nonatomic, readonly) NSString* description; | 39 @property(nonatomic, readonly) NSString* description; |
40 @property(nonatomic, readonly) NSNumber* enabled; | 40 @property(nonatomic, readonly) NSNumber* enabled; |
41 @property(nonatomic, readonly) NSNumber* focused; | 41 @property(nonatomic, readonly) NSNumber* focused; |
42 @property(nonatomic, readonly) NSString* help; | 42 @property(nonatomic, readonly) NSString* help; |
43 // isIgnored returns whether or not the accessibility object | 43 // isIgnored returns whether or not the accessibility object |
44 // should be ignored by the accessibility hierarchy. | 44 // should be ignored by the accessibility hierarchy. |
45 @property(nonatomic, readonly, getter=isIgnored) BOOL ignored; | 45 @property(nonatomic, readonly, getter=isIgnored) BOOL ignored; |
| 46 @property(nonatomic, readonly) NSString* invalid; |
46 // The origin of this object in the page's document. | 47 // The origin of this object in the page's document. |
47 // This is relative to webkit's top-left origin, not Cocoa's | 48 // This is relative to webkit's top-left origin, not Cocoa's |
48 // bottom-left origin. | 49 // bottom-left origin. |
49 @property(nonatomic, readonly) NSPoint origin; | 50 @property(nonatomic, readonly) NSPoint origin; |
50 @property(nonatomic, readonly) NSNumber* numberOfCharacters; | 51 @property(nonatomic, readonly) NSNumber* numberOfCharacters; |
51 @property(nonatomic, readonly) id parent; | 52 @property(nonatomic, readonly) id parent; |
52 @property(nonatomic, readonly) NSValue* position; | 53 @property(nonatomic, readonly) NSValue* position; |
53 // A string indicating the role of this object as far as accessibility | 54 // A string indicating the role of this object as far as accessibility |
54 // is concerned. | 55 // is concerned. |
55 @property(nonatomic, readonly) NSString* role; | 56 @property(nonatomic, readonly) NSString* role; |
56 @property(nonatomic, readonly) NSString* roleDescription; | 57 @property(nonatomic, readonly) NSString* roleDescription; |
57 @property(nonatomic, readonly) NSArray* rows; | 58 @property(nonatomic, readonly) NSArray* rows; |
58 // The size of this object. | 59 // The size of this object. |
59 @property(nonatomic, readonly) NSValue* size; | 60 @property(nonatomic, readonly) NSValue* size; |
60 // A string indicating the subrole of this object as far as accessibility | 61 // A string indicating the subrole of this object as far as accessibility |
61 // is concerned. | 62 // is concerned. |
62 @property(nonatomic, readonly) NSString* subrole; | 63 @property(nonatomic, readonly) NSString* subrole; |
63 // The tabs owned by a tablist. | 64 // The tabs owned by a tablist. |
64 @property(nonatomic, readonly) NSArray* tabs; | 65 @property(nonatomic, readonly) NSArray* tabs; |
65 @property(nonatomic, readonly) NSString* title; | 66 @property(nonatomic, readonly) NSString* title; |
66 @property(nonatomic, readonly) NSString* url; | 67 @property(nonatomic, readonly) NSString* url; |
67 @property(nonatomic, readonly) NSString* value; | 68 @property(nonatomic, readonly) NSString* value; |
68 @property(nonatomic, readonly) NSValue* visibleCharacterRange; | 69 @property(nonatomic, readonly) NSValue* visibleCharacterRange; |
69 @property(nonatomic, readonly) NSNumber* visited; | 70 @property(nonatomic, readonly) NSNumber* visited; |
70 @property(nonatomic, readonly) id window; | 71 @property(nonatomic, readonly) id window; |
71 @end | 72 @end |
72 | 73 |
73 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ | 74 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_ |
OLD | NEW |