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

Unified Diff: Source/modules/accessibility/AXListBoxOption.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/AXListBoxOption.cpp
diff --git a/Source/modules/accessibility/AXListBoxOption.cpp b/Source/modules/accessibility/AXListBoxOption.cpp
index ae3e4afc062ed7ef56f56429f8d4ca5289a46083..ad80498d911ddaa1595d440565ba2a343f861346 100644
--- a/Source/modules/accessibility/AXListBoxOption.cpp
+++ b/Source/modules/accessibility/AXListBoxOption.cpp
@@ -113,12 +113,12 @@ bool AXListBoxOption::isSelectedOptionActive() const
return listBoxParentNode->activeSelectionEndListIndex() == listBoxOptionIndex();
}
-bool AXListBoxOption::computeAccessibilityIsIgnored() const
+bool AXListBoxOption::computeAccessibilityIsIgnored(PassRefPtr<TypeBuilder::Array<TypeBuilder::Accessibility::AXProperty>> ignoredReasons) const
{
if (!node())
return true;
- if (accessibilityIsIgnoredByDefault())
+ if (accessibilityIsIgnoredByDefault(ignoredReasons))
return true;
return false;

Powered by Google App Engine
This is Rietveld 408576698