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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTableRow.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: third_party/WebKit/Source/modules/accessibility/AXTableRow.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableRow.h b/third_party/WebKit/Source/modules/accessibility/AXTableRow.h
index ea038c33002e4cbcd93d0948cfc1c5111637d814..f68d34c7636bd51a57d9aaaf50697f9ad1a58552 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTableRow.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableRow.h
@@ -35,7 +35,7 @@ namespace blink {
class AXObjectCacheImpl;
-class AXTableRow : public AXLayoutObject {
+class MODULES_EXPORT AXTableRow : public AXLayoutObject {
WTF_MAKE_NONCOPYABLE(AXTableRow);
protected:
@@ -45,6 +45,7 @@ class AXTableRow : public AXLayoutObject {
static AXTableRow* create(LayoutObject*, AXObjectCacheImpl&);
~AXTableRow() override;
+ void addChildren() final;
bool isTableRow() const final;
// retrieves the "row" header (a th tag in the rightmost column)
@@ -57,6 +58,9 @@ class AXTableRow : public AXLayoutObject {
void setRowIndex(int rowIndex) { m_rowIndex = rowIndex; }
int rowIndex() const { return m_rowIndex; }
+ unsigned ariaColumnIndex() const;
+ unsigned ariaRowIndex() const;
+
protected:
AccessibilityRole determineAccessibilityRole() final;

Powered by Google App Engine
This is Rietveld 408576698