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

Side by Side Diff: Source/core/accessibility/AXTable.h

Issue 603423002: Replace OVERRIDE and FINAL with their C++11 counterparts in core/accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Narrowing area to core/accessibility Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « Source/core/accessibility/AXSpinButton.h ('k') | Source/core/accessibility/AXTableCell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 27 matching lines...) Expand all
38 class RenderTableSection; 38 class RenderTableSection;
39 39
40 class AXTable : public AXRenderObject { 40 class AXTable : public AXRenderObject {
41 41
42 protected: 42 protected:
43 explicit AXTable(RenderObject*); 43 explicit AXTable(RenderObject*);
44 public: 44 public:
45 static PassRefPtr<AXTable> create(RenderObject*); 45 static PassRefPtr<AXTable> create(RenderObject*);
46 virtual ~AXTable(); 46 virtual ~AXTable();
47 47
48 virtual void init() OVERRIDE FINAL; 48 virtual void init() override final;
49 49
50 virtual bool isAXTable() const OVERRIDE FINAL; 50 virtual bool isAXTable() const override final;
51 virtual bool isDataTable() const OVERRIDE FINAL; 51 virtual bool isDataTable() const override final;
52 52
53 virtual AccessibilityRole roleValue() const OVERRIDE FINAL; 53 virtual AccessibilityRole roleValue() const override final;
54 54
55 virtual void addChildren() OVERRIDE; 55 virtual void addChildren() override;
56 virtual void clearChildren() OVERRIDE FINAL; 56 virtual void clearChildren() override final;
57 57
58 // To be overridden by AXARIAGrid. 58 // To be overridden by AXARIAGrid.
59 virtual bool isAriaTable() const { return false; } 59 virtual bool isAriaTable() const { return false; }
60 virtual bool supportsSelectedRows() { return false; } 60 virtual bool supportsSelectedRows() { return false; }
61 61
62 AccessibilityChildrenVector& columns(); 62 AccessibilityChildrenVector& columns();
63 AccessibilityChildrenVector& rows(); 63 AccessibilityChildrenVector& rows();
64 64
65 unsigned columnCount(); 65 unsigned columnCount();
66 unsigned rowCount(); 66 unsigned rowCount();
67 67
68 virtual String title() const OVERRIDE FINAL; 68 virtual String title() const override final;
69 69
70 // all the cells in the table 70 // all the cells in the table
71 void cells(AccessibilityChildrenVector&); 71 void cells(AccessibilityChildrenVector&);
72 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row); 72 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row);
73 73
74 void columnHeaders(AccessibilityChildrenVector&); 74 void columnHeaders(AccessibilityChildrenVector&);
75 75
76 // an object that contains, as children, all the objects that act as headers 76 // an object that contains, as children, all the objects that act as headers
77 AXObject* headerContainer(); 77 AXObject* headerContainer();
78 78
79 protected: 79 protected:
80 AccessibilityChildrenVector m_rows; 80 AccessibilityChildrenVector m_rows;
81 AccessibilityChildrenVector m_columns; 81 AccessibilityChildrenVector m_columns;
82 82
83 RefPtr<AXObject> m_headerContainer; 83 RefPtr<AXObject> m_headerContainer;
84 bool m_isAXTable; 84 bool m_isAXTable;
85 85
86 bool hasARIARole() const; 86 bool hasARIARole() const;
87 virtual bool isTableExposableThroughAccessibility() const; 87 virtual bool isTableExposableThroughAccessibility() const;
88 virtual bool computeAccessibilityIsIgnored() const OVERRIDE FINAL; 88 virtual bool computeAccessibilityIsIgnored() const override final;
89 }; 89 };
90 90
91 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); 91 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable());
92 92
93 } // namespace blink 93 } // namespace blink
94 94
95 #endif // AXTable_h 95 #endif // AXTable_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXSpinButton.h ('k') | Source/core/accessibility/AXTableCell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698