| Index: Source/modules/accessibility/AXARIAGridRow.cpp
|
| diff --git a/Source/modules/accessibility/AXARIAGridRow.cpp b/Source/modules/accessibility/AXARIAGridRow.cpp
|
| index fa6dba1e5a02ec58d8fc0183a570035e30d1f987..957bd91741072d95c970b584bcbbc69cf4b955cc 100644
|
| --- a/Source/modules/accessibility/AXARIAGridRow.cpp
|
| +++ b/Source/modules/accessibility/AXARIAGridRow.cpp
|
| @@ -71,4 +71,15 @@ AXObject* AXARIAGridRow::headerObject()
|
| return 0;
|
| }
|
|
|
| +void AXARIAGridRow::headerObjectsForRow(AccessibilityChildrenVector& headers)
|
| +{
|
| + AccessibilityChildrenVector rowChildren = children();
|
| + unsigned childrenCount = rowChildren.size();
|
| + for (unsigned i = 0; i < childrenCount; i++) {
|
| + AXObject* cell = rowChildren[i].get();
|
| + if (cell->roleValue() == RowHeaderRole)
|
| + headers.append(cell);
|
| + }
|
| +}
|
| +
|
| } // namespace blink
|
|
|