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

Unified Diff: content/browser/accessibility/browser_accessibility.cc

Issue 2799413002: Views a11y: Add AXNodeData.actions bitfield to indicate supported actions by UI. (Closed)
Patch Set: Fix tests broken from rebase. Created 3 years, 7 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: content/browser/accessibility/browser_accessibility.cc
diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
index 4e96eb28e5a3bdf2a074ef3674a1bcc3c4840b0c..74e3e0f0d4c04cfc7bf01106ada7b91ed1d90599 100644
--- a/content/browser/accessibility/browser_accessibility.cc
+++ b/content/browser/accessibility/browser_accessibility.cc
@@ -895,6 +895,10 @@ bool BrowserAccessibility::HasState(ui::AXState state_enum) const {
return GetData().HasState(state_enum);
}
+bool BrowserAccessibility::HasAction(ui::AXAction action_enum) const {
+ return GetData().HasAction(action_enum);
+}
+
bool BrowserAccessibility::IsCellOrTableHeaderRole() const {
return (GetRole() == ui::AX_ROLE_CELL ||
GetRole() == ui::AX_ROLE_COLUMN_HEADER ||

Powered by Google App Engine
This is Rietveld 408576698