| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 unsigned columnCount(); | 66 unsigned columnCount(); |
| 67 unsigned rowCount(); | 67 unsigned rowCount(); |
| 68 | 68 |
| 69 virtual String title() const override final; | 69 virtual String title() const override final; |
| 70 | 70 |
| 71 // all the cells in the table | 71 // all the cells in the table |
| 72 void cells(AccessibilityChildrenVector&); | 72 void cells(AccessibilityChildrenVector&); |
| 73 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row); | 73 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row); |
| 74 | 74 |
| 75 void columnHeaders(AccessibilityChildrenVector&); | 75 void columnHeaders(AccessibilityChildrenVector&); |
| 76 void rowHeaders(AccessibilityChildrenVector&); |
| 76 | 77 |
| 77 // an object that contains, as children, all the objects that act as headers | 78 // an object that contains, as children, all the objects that act as headers |
| 78 AXObject* headerContainer(); | 79 AXObject* headerContainer(); |
| 79 | 80 |
| 80 protected: | 81 protected: |
| 81 AccessibilityChildrenVector m_rows; | 82 AccessibilityChildrenVector m_rows; |
| 82 AccessibilityChildrenVector m_columns; | 83 AccessibilityChildrenVector m_columns; |
| 83 | 84 |
| 84 RefPtr<AXObject> m_headerContainer; | 85 RefPtr<AXObject> m_headerContainer; |
| 85 bool m_isAXTable; | 86 bool m_isAXTable; |
| 86 | 87 |
| 87 bool hasARIARole() const; | 88 bool hasARIARole() const; |
| 88 virtual bool isTableExposableThroughAccessibility() const; | 89 virtual bool isTableExposableThroughAccessibility() const; |
| 89 virtual bool computeAccessibilityIsIgnored() const override final; | 90 virtual bool computeAccessibilityIsIgnored() const override final; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); | 93 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); |
| 93 | 94 |
| 94 } // namespace blink | 95 } // namespace blink |
| 95 | 96 |
| 96 #endif // AXTable_h | 97 #endif // AXTable_h |
| OLD | NEW |