Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: content/browser/accessibility/browser_accessibility_cocoa.h

Issue 272573003: Add hack so VoiceOver speaks updates to injected live regions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only recreate if it already exists Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698