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

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

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month 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
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 19 matching lines...) Expand all
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698