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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 months 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
« no previous file with comments | « Source/modules/accessibility/AXTable.h ('k') | Source/modules/accessibility/AXTableColumn.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXTableCell.h
diff --git a/Source/modules/accessibility/AXTableCell.h b/Source/modules/accessibility/AXTableCell.h
index f89683f734b342c05b0d2c1fad88aa45c9e1fb9f..cb37c552ab639eb0c07bf95efeb06963c2b607e9 100644
--- a/Source/modules/accessibility/AXTableCell.h
+++ b/Source/modules/accessibility/AXTableCell.h
@@ -42,22 +42,22 @@ protected:
public:
static PassRefPtrWillBeRawPtr<AXTableCell> create(LayoutObject*, AXObjectCacheImpl&);
- virtual ~AXTableCell();
+ ~AXTableCell() override;
- virtual bool isTableCell() const override final;
+ bool isTableCell() const final;
// fills in the start location and row span of cell
virtual void rowIndexRange(pair<unsigned, unsigned>& rowRange);
// fills in the start location and column span of cell
virtual void columnIndexRange(pair<unsigned, unsigned>& columnRange);
// In the case of cells that act as row or column headers.
- virtual SortDirection sortDirection() const override final;
+ SortDirection sortDirection() const final;
virtual AccessibilityRole scanToDecideHeaderRole();
protected:
virtual AXObject* parentTable() const;
int m_rowIndex;
- virtual AccessibilityRole determineAccessibilityRole() override final;
+ AccessibilityRole determineAccessibilityRole() final;
private:
bool isTableHeaderCell() const;
@@ -65,9 +65,9 @@ private:
bool isColumnHeaderCell() const;
// If a table cell is not exposed as a table cell, a TH element can serve as its title UI element.
- virtual AXObject* deprecatedTitleUIElement() const override final;
- virtual bool deprecatedExposesTitleUIElement() const override final { return true; }
- virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override final;
+ AXObject* deprecatedTitleUIElement() const final;
+ bool deprecatedExposesTitleUIElement() const final { return true; }
+ bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final;
};
DEFINE_AX_OBJECT_TYPE_CASTS(AXTableCell, isTableCell());
« no previous file with comments | « Source/modules/accessibility/AXTable.h ('k') | Source/modules/accessibility/AXTableColumn.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698