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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 1477043003: Handle aria-owns and presentational children in AX name calc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@garaventa_visibility_hidden
Patch Set: Rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/accessibility/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index 7d72a41a55e8a7b21d5f34103f02a7aa227ab95c..a88e925c4f83f3a90ebb5c30d27e859d2c6d86ad 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -677,9 +677,10 @@ public:
// exposed by one of the two functions above.
virtual String placeholder(AXNameFrom, AXDescriptionFrom) const { return String(); }
- // Internal function used by name and description, above.
+ // Internal functions used by name and description, above.
typedef HeapHashSet<Member<const AXObject>> AXObjectSet;
virtual String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObjectSet& visited, AXNameFrom& nameFrom, AXRelatedObjectVector* relatedObjects, NameSources* nameSources) const { return String(); }
+ virtual String textFromDescendants(AXObjectSet& visited, bool recursive) const { return String(); }
// Returns result of Accessible Name Calculation algorithm.
// This is a simpler high-level interface to |name| used by Inspector.
@@ -810,7 +811,7 @@ public:
// Low-level accessibility tree exploration, only for use within the accessibility module.
virtual AXObject* rawFirstChild() const { return 0; }
- virtual AXObject* rawFirstSibling() const { return 0; }
+ virtual AXObject* rawNextSibling() const { return 0; }
virtual void addChildren() { }
virtual bool canHaveChildren() const { return true; }
bool hasChildren() const { return m_haveChildren; }
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698