| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void headerObjectsForColumn(AXObjectVector&); | 54 void headerObjectsForColumn(AXObjectVector&); |
| 55 | 55 |
| 56 AccessibilityRole roleValue() const override { return ColumnRole; } | 56 AccessibilityRole roleValue() const override { return ColumnRole; } |
| 57 | 57 |
| 58 void setColumnIndex(int columnIndex) { m_columnIndex = columnIndex; } | 58 void setColumnIndex(int columnIndex) { m_columnIndex = columnIndex; } |
| 59 int columnIndex() const { return m_columnIndex; } | 59 int columnIndex() const { return m_columnIndex; } |
| 60 | 60 |
| 61 void addChildren() override; | 61 void addChildren() override; |
| 62 void setParent(AXObject*) override; | 62 void setParent(AXObject*) override; |
| 63 | 63 |
| 64 LayoutRect elementRect() const override; | |
| 65 | |
| 66 private: | 64 private: |
| 67 unsigned m_columnIndex; | 65 unsigned m_columnIndex; |
| 68 LayoutRect m_columnRect; | |
| 69 | 66 |
| 70 bool isTableCol() const override { return true; } | 67 bool isTableCol() const override { return true; } |
| 71 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 68 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
| 72 }; | 69 }; |
| 73 | 70 |
| 74 DEFINE_AX_OBJECT_TYPE_CASTS(AXTableColumn, isTableCol()); | 71 DEFINE_AX_OBJECT_TYPE_CASTS(AXTableColumn, isTableCol()); |
| 75 | 72 |
| 76 } // namespace blink | 73 } // namespace blink |
| 77 | 74 |
| 78 #endif // AXTableColumn_h | 75 #endif // AXTableColumn_h |
| OLD | NEW |