OLD | NEW |
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 23 matching lines...) Expand all Loading... |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class AXTableRow : public AXRenderObject { | 36 class AXTableRow : public AXRenderObject { |
37 | 37 |
38 protected: | 38 protected: |
39 explicit AXTableRow(RenderObject*); | 39 explicit AXTableRow(RenderObject*); |
40 public: | 40 public: |
41 static PassRefPtr<AXTableRow> create(RenderObject*); | 41 static PassRefPtr<AXTableRow> create(RenderObject*); |
42 virtual ~AXTableRow(); | 42 virtual ~AXTableRow(); |
43 | 43 |
44 virtual bool isTableRow() const OVERRIDE FINAL; | 44 virtual bool isTableRow() const override final; |
45 | 45 |
46 // retrieves the "row" header (a th tag in the rightmost column) | 46 // retrieves the "row" header (a th tag in the rightmost column) |
47 virtual AXObject* headerObject(); | 47 virtual AXObject* headerObject(); |
48 AXObject* parentTable() const; | 48 AXObject* parentTable() const; |
49 | 49 |
50 void setRowIndex(int rowIndex) { m_rowIndex = rowIndex; } | 50 void setRowIndex(int rowIndex) { m_rowIndex = rowIndex; } |
51 int rowIndex() const { return m_rowIndex; } | 51 int rowIndex() const { return m_rowIndex; } |
52 | 52 |
53 // allows the table to add other children that may not originate | 53 // allows the table to add other children that may not originate |
54 // in the row, but their col/row spans overlap into it | 54 // in the row, but their col/row spans overlap into it |
55 void appendChild(AXObject*); | 55 void appendChild(AXObject*); |
56 | 56 |
57 protected: | 57 protected: |
58 virtual AccessibilityRole determineAccessibilityRole() OVERRIDE FINAL; | 58 virtual AccessibilityRole determineAccessibilityRole() override final; |
59 | 59 |
60 private: | 60 private: |
61 int m_rowIndex; | 61 int m_rowIndex; |
62 | 62 |
63 virtual AXObject* observableObject() const OVERRIDE FINAL; | 63 virtual AXObject* observableObject() const override final; |
64 virtual bool computeAccessibilityIsIgnored() const OVERRIDE FINAL; | 64 virtual bool computeAccessibilityIsIgnored() const override final; |
65 }; | 65 }; |
66 | 66 |
67 DEFINE_AX_OBJECT_TYPE_CASTS(AXTableRow, isTableRow()); | 67 DEFINE_AX_OBJECT_TYPE_CASTS(AXTableRow, isTableRow()); |
68 | 68 |
69 } // namespace blink | 69 } // namespace blink |
70 | 70 |
71 #endif // AXTableRow_h | 71 #endif // AXTableRow_h |
OLD | NEW |