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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTableCell.h

Issue 1547643002: ARIA 1.1: implementation for aria-col-* and aria-row-*. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MODULES_EXPORT Created 5 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 7d1a3eca0a205a1924dd07f16e6931252bf94ca5..877e821f7b9af6b91800fb12d6bac226e7ea721b 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 {
protected:
AXTableCell(LayoutObject*, AXObjectCacheImpl&);
@@ -46,6 +46,10 @@ public:
bool isTableCell() const final;
+ unsigned ariaColumnIndex() const;
+ unsigned ariaRowIndex() const;
+ void setARIAColIndexFromRow(int index) { m_ariaColIndexFromRow = index; }
+
// fills in the start location and row span of cell
virtual void rowIndexRange(std::pair<unsigned, unsigned>& rowRange);
// fills in the start location and column span of cell
@@ -56,6 +60,8 @@ public:
protected:
virtual AXObject* parentTable() const;
+ int m_rowIndex;
+ unsigned m_ariaColIndexFromRow;
AccessibilityRole determineAccessibilityRole() final;
private:

Powered by Google App Engine
This is Rietveld 408576698