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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTableCell.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/AXTableCell.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableCell.h b/third_party/WebKit/Source/modules/accessibility/AXTableCell.h
index 4ae6d6bc9d40da1d29d4b504c247988dee545f3c..c9f734ecff2af2faed40641d06c4051b3c2f451c 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTableCell.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableCell.h
@@ -35,7 +35,7 @@ namespace blink {
class AXObjectCacheImpl;
-class AXTableCell : public AXLayoutObject {
+class MODULES_EXPORT AXTableCell : public AXLayoutObject {
WTF_MAKE_NONCOPYABLE(AXTableCell);
protected:
@@ -55,6 +55,10 @@ class AXTableCell : public AXLayoutObject {
SortDirection getSortDirection() const final;
virtual AccessibilityRole scanToDecideHeaderRole();
+ unsigned ariaColumnIndex() const;
+ unsigned ariaRowIndex() const;
+ void setARIAColIndexFromRow(int index) { m_ariaColIndexFromRow = index; }
+
protected:
virtual AXObject* parentTable() const;
AccessibilityRole determineAccessibilityRole() final;
@@ -65,6 +69,8 @@ class AXTableCell : public AXLayoutObject {
bool isColumnHeaderCell() const;
bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final;
+
+ unsigned m_ariaColIndexFromRow;
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXTableCell, isTableCell());

Powered by Google App Engine
This is Rietveld 408576698