diff options
Diffstat (limited to 'Source/WebCore/accessibility/AccessibilityARIAGridCell.h')
| -rw-r--r-- | Source/WebCore/accessibility/AccessibilityARIAGridCell.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Source/WebCore/accessibility/AccessibilityARIAGridCell.h b/Source/WebCore/accessibility/AccessibilityARIAGridCell.h index d5ae4ac59..aa77136be 100644 --- a/Source/WebCore/accessibility/AccessibilityARIAGridCell.h +++ b/Source/WebCore/accessibility/AccessibilityARIAGridCell.h @@ -10,7 +10,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -33,21 +33,22 @@ namespace WebCore { -class AccessibilityARIAGridCell : public AccessibilityTableCell { - -private: - explicit AccessibilityARIAGridCell(RenderObject*); +class AccessibilityARIAGridCell final : public AccessibilityTableCell { public: - static PassRefPtr<AccessibilityARIAGridCell> create(RenderObject*); + static Ref<AccessibilityARIAGridCell> create(RenderObject*); virtual ~AccessibilityARIAGridCell(); // fills in the start location and row span of cell - virtual void rowIndexRange(pair<unsigned, unsigned>& rowRange); + virtual void rowIndexRange(std::pair<unsigned, unsigned>& rowRange) const override; // fills in the start location and column span of cell - virtual void columnIndexRange(pair<unsigned, unsigned>& columnRange); + virtual void columnIndexRange(std::pair<unsigned, unsigned>& columnRange) const override; -protected: - virtual AccessibilityObject* parentTable() const; +private: + explicit AccessibilityARIAGridCell(RenderObject*); + + virtual AccessibilityTable* parentTable() const override; + AccessibilityObject* parentRowGroup() const; + unsigned ariaRowSpanWithRowIndex(unsigned index) const; }; } // namespace WebCore |
