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

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

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.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index a76e56a6c3a462d01ed42f91226527febbcd4480..caca0c3085b13b5a069c8ac723954f275cf4d767 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -355,8 +355,9 @@ class CONTENT_EXPORT BrowserAccessibility : public ui::AXPlatformNodeDelegate {
virtual base::string16 GetText() const;
- // Returns true if the bit corresponding to the given state enum is 1.
+ // Returns true if the bit corresponding to the given enum is 1.
bool HasState(ui::AXState state_enum) const;
+ bool HasAction(ui::AXAction action_enum) const;
// Returns true if this node is a cell or a table header.
bool IsCellOrTableHeaderRole() const;

Powered by Google App Engine
This is Rietveld 408576698