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

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

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Fix bad rebase Created 4 years 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 32244423165144817853aee31cd4723c42df7f77..4c8889086c09e72164da3524242bf4615c79cf26 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -330,9 +330,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