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

Unified Diff: Source/modules/accessibility/AXTableCell.cpp

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 months 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: Source/modules/accessibility/AXTableCell.cpp
diff --git a/Source/modules/accessibility/AXTableCell.cpp b/Source/modules/accessibility/AXTableCell.cpp
index 48d5ef9d9e852e21fe7fa9ed5288e4f7760fc289..4cd64e4e9a283b36bc8eaf7b2d18e3f5440e660a 100644
--- a/Source/modules/accessibility/AXTableCell.cpp
+++ b/Source/modules/accessibility/AXTableCell.cpp
@@ -68,16 +68,16 @@ bool AXTableCell::isColumnHeaderCell() const
return equalIgnoringCase(scope, "col") || equalIgnoringCase(scope, "colgroup");
}
-bool AXTableCell::computeAccessibilityIsIgnored() const
+bool AXTableCell::computeAccessibilityIsIgnored(PassRefPtr<TypeBuilder::Array<TypeBuilder::Accessibility::AXProperty>> ignoredReasons) const
{
- AXObjectInclusion decision = defaultObjectInclusion();
+ AXObjectInclusion decision = defaultObjectInclusion(ignoredReasons);
if (decision == IncludeObject)
return false;
if (decision == IgnoreObject)
return true;
if (!isTableCell())
- return AXLayoutObject::computeAccessibilityIsIgnored();
+ return AXLayoutObject::computeAccessibilityIsIgnored(ignoredReasons);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698