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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.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
Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
index 3ab4a6a25e2b94e37cd6892344fd95b7a18b4553..2444eba57adb9603e34a5defc8505d3902f9adec 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.h
@@ -171,7 +171,7 @@ protected:
// Low-level accessibility tree exploration.
AXObject* rawFirstChild() const override;
- AXObject* rawFirstSibling() const override;
+ AXObject* rawNextSibling() const override;
void addChildren() override;
bool canHaveChildren() const override;
void addChild(AXObject*);
@@ -199,13 +199,13 @@ protected:
int setSize() const override;
// Aria-owns.
- void computeAriaOwnsChildren(HeapVector<Member<AXObject>>& ownedChildren);
+ void computeAriaOwnsChildren(HeapVector<Member<AXObject>>& ownedChildren) const;
private:
RawPtrWillBeMember<Node> m_node;
bool isNativeCheckboxInMixedState() const;
- String textFromDescendants(AXObjectSet& visited) const;
+ String textFromDescendants(AXObjectSet& visited, bool recursive) const override;
String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*, bool* foundTextAlternative) const;
float stepValueForRange() const;
bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;

Powered by Google App Engine
This is Rietveld 408576698