| Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| index 90193dd816bd579273edaec8468f09823112139e..80cd90ac9fb501bf0a87021163bbd09f52b3ee56 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -2246,20 +2246,6 @@ AXObject* AXLayoutObject::treeAncestorDisallowingChild() const
|
| return 0;
|
| }
|
|
|
| -void AXLayoutObject::ariaListboxSelectedChildren(AccessibilityChildrenVector& result)
|
| -{
|
| - bool isMulti = isMultiSelectable();
|
| -
|
| - for (const auto& child : children()) {
|
| - // Every child should have aria-role option, and if so, check for selected attribute/state.
|
| - if (child->isSelected() && child->ariaRoleAttribute() == ListBoxOptionRole) {
|
| - result.append(child);
|
| - if (!isMulti)
|
| - return;
|
| - }
|
| - }
|
| -}
|
| -
|
| bool AXLayoutObject::nodeIsTextControl(const Node* node) const
|
| {
|
| if (!node)
|
| @@ -2554,35 +2540,6 @@ void AXLayoutObject::addRemoteSVGChildren()
|
| }
|
| }
|
|
|
| -void AXLayoutObject::ariaSelectedRows(AccessibilityChildrenVector& result)
|
| -{
|
| - // Get all the rows.
|
| - AccessibilityChildrenVector allRows;
|
| - if (isTree())
|
| - ariaTreeRows(allRows);
|
| - else if (isAXTable() && toAXTable(this)->supportsSelectedRows())
|
| - allRows = toAXTable(this)->rows();
|
| -
|
| - // Determine which rows are selected.
|
| - bool isMulti = isMultiSelectable();
|
| -
|
| - // Prefer active descendant over aria-selected.
|
| - AXObject* activeDesc = activeDescendant();
|
| - if (activeDesc && (activeDesc->isTreeItem() || activeDesc->isTableRow())) {
|
| - result.append(activeDesc);
|
| - if (!isMulti)
|
| - return;
|
| - }
|
| -
|
| - for (const auto& row : allRows) {
|
| - if (row->isSelected()) {
|
| - result.append(row);
|
| - if (!isMulti)
|
| - break;
|
| - }
|
| - }
|
| -}
|
| -
|
| bool AXLayoutObject::elementAttributeValue(const QualifiedName& attributeName) const
|
| {
|
| if (!m_layoutObject)
|
|
|