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

Unified Diff: third_party/WebKit/public/web/WebAXObject.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | ui/accessibility/ax_enums.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebAXObject.h
diff --git a/third_party/WebKit/public/web/WebAXObject.h b/third_party/WebKit/public/web/WebAXObject.h
index ee400f2ff85485cc9fd33224c2ab4d2e9c9026f6..c60ec876c3ebc71becb98ed533d99e441ec1bc06 100644
--- a/third_party/WebKit/public/web/WebAXObject.h
+++ b/third_party/WebKit/public/web/WebAXObject.h
@@ -162,31 +162,11 @@ public:
BLINK_EXPORT WebAXTextStyle textStyle() const;
BLINK_EXPORT WebURL url() const;
- // Deprecated text alternative calculation API. All of these will be replaced
- // with the new API, below (under "New text alternative calculation API".
- BLINK_EXPORT WebString deprecatedAccessibilityDescription() const;
- BLINK_EXPORT bool deprecatedAriaDescribedby(WebVector<WebAXObject>& describedbyElements) const;
- BLINK_EXPORT bool deprecatedAriaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
- BLINK_EXPORT WebString deprecatedHelpText() const;
- BLINK_EXPORT WebString deprecatedPlaceholder() const;
- BLINK_EXPORT WebString deprecatedTitle() const;
- BLINK_EXPORT WebAXObject deprecatedTitleUIElement() const;
-
- // FIXME(dmazzoni): remove these ASAP once Chromium only calls either explicitly-deprecated
- // functions, above, or the new APIs, below.
- BLINK_EXPORT WebString accessibilityDescription() const;
- BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElements) const;
- BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
- BLINK_EXPORT WebString helpText() const;
- BLINK_EXPORT WebString placeholder() const;
- BLINK_EXPORT WebString title() const;
- BLINK_EXPORT WebAXObject titleUIElement() const;
-
- // New text alternative calculation API (under development).
-
// Retrieves the accessible name of the object, an enum indicating where the name
// was derived from, and a list of related objects that were used to derive the name, if any.
BLINK_EXPORT WebString name(WebAXNameFrom&, WebVector<WebAXObject>& nameObjects) const;
+ // Simplified version of |name| when nameFrom and nameObjects aren't needed.
+ BLINK_EXPORT WebString name() const;
// Takes the result of nameFrom from calling |name|, above, and retrieves the
// accessible description of the object, which is secondary to |name|, an enum indicating
// where the description was derived from, and a list of objects that were used to
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | ui/accessibility/ax_enums.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698