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

Side by Side Diff: Source/modules/accessibility/AXNodeObject.h

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update webexposed/element-instance-property-listing.html and add some SVG test cases Created 6 years 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
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual const AtomicString& textInputType() const override; 144 virtual const AtomicString& textInputType() const override;
145 145
146 // ARIA attributes. 146 // ARIA attributes.
147 virtual String ariaDescribedByAttribute() const override final; 147 virtual String ariaDescribedByAttribute() const override final;
148 virtual String ariaLabeledByAttribute() const override final; 148 virtual String ariaLabeledByAttribute() const override final;
149 virtual AccessibilityRole ariaRoleAttribute() const override final; 149 virtual AccessibilityRole ariaRoleAttribute() const override final;
150 virtual AccessibilityOptionalBool isAriaGrabbed() const override final; 150 virtual AccessibilityOptionalBool isAriaGrabbed() const override final;
151 151
152 // Accessibility Text. 152 // Accessibility Text.
153 virtual String textUnderElement() const override; 153 virtual String textUnderElement() const override;
154
155 // Accessibility Text - (To be deprecated).
156 virtual String accessibilityDescription() const override; 154 virtual String accessibilityDescription() const override;
157 virtual String title() const override; 155 virtual String title() const override;
158 virtual String helpText() const override; 156 virtual String helpText() const override;
157 virtual String computedName() const override;
159 158
160 // Location and click point in frame-relative coordinates. 159 // Location and click point in frame-relative coordinates.
161 virtual LayoutRect elementRect() const override; 160 virtual LayoutRect elementRect() const override;
162 161
163 // High-level accessibility tree access. 162 // High-level accessibility tree access.
164 virtual AXObject* computeParent() const override; 163 virtual AXObject* computeParent() const override;
165 virtual AXObject* computeParentIfExists() const override; 164 virtual AXObject* computeParentIfExists() const override;
166 165
167 // Low-level accessibility tree exploration. 166 // Low-level accessibility tree exploration.
168 virtual AXObject* firstChild() const override; 167 virtual AXObject* firstChild() const override;
(...skipping 29 matching lines...) Expand all
198 void changeValueByPercent(float percentChange); 197 void changeValueByPercent(float percentChange);
199 float stepValueForRange() const; 198 float stepValueForRange() const;
200 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 199 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
201 }; 200 };
202 201
203 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 202 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
204 203
205 } // namespace blink 204 } // namespace blink
206 205
207 #endif // AXNodeObject_h 206 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698