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

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

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Created 4 years, 1 month 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 9311efc39c2c6b48ee3a7f2b6376ef8eada46f51..3636e511da9159d6a2fb7eeffedcaadcd3f4c4f2 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -328,9 +328,12 @@ class CONTENT_EXPORT BrowserAccessibility {
// Returns true if the bit corresponding to the given state enum is 1.
bool HasState(ui::AXState state_enum) const;
- // Returns true if this node is an cell or an table header.
+ // Returns true if this node is a cell or a table header.
bool IsCellOrTableHeaderRole() const;
+ // Returns true if this node is a table, a grid or a treegrid.
+ bool IsTableOrGridOrTreeGridRole() const;
+
// Returns true if the caret is active on this object.
bool HasCaret() const;

Powered by Google App Engine
This is Rietveld 408576698