| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 public: | 47 public: |
| 48 static AXTable* Create(LayoutObject*, AXObjectCacheImpl&); | 48 static AXTable* Create(LayoutObject*, AXObjectCacheImpl&); |
| 49 ~AXTable() override; | 49 ~AXTable() override; |
| 50 DECLARE_VIRTUAL_TRACE(); | 50 DECLARE_VIRTUAL_TRACE(); |
| 51 | 51 |
| 52 void Init() final; | 52 void Init() final; |
| 53 | 53 |
| 54 bool IsAXTable() const final; | 54 bool IsAXTable() const final; |
| 55 bool IsDataTable() const final; | 55 bool IsDataTable() const final; |
| 56 | 56 |
| 57 AccessibilityRole RoleValue() const final; | 57 AccessibilityRole RoleValue() const; |
| 58 | 58 |
| 59 void AddChildren() override; | 59 void AddChildren() override; |
| 60 void ClearChildren() final; | 60 void ClearChildren() final; |
| 61 | 61 |
| 62 // To be overridden by AXARIAGrid. | 62 // To be overridden by AXARIAGrid. |
| 63 virtual bool IsAriaTable() const { return false; } | 63 virtual bool IsAriaTable() const { return false; } |
| 64 virtual bool SupportsSelectedRows() { return false; } | 64 virtual bool SupportsSelectedRows() { return false; } |
| 65 | 65 |
| 66 const AXObjectVector& Columns(); | 66 const AXObjectVector& Columns(); |
| 67 const AXObjectVector& Rows(); | 67 const AXObjectVector& Rows(); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 89 bool HasARIARole() const; | 89 bool HasARIARole() const; |
| 90 virtual bool IsTableExposableThroughAccessibility() const; | 90 virtual bool IsTableExposableThroughAccessibility() const; |
| 91 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final; | 91 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, IsAXTable()); | 94 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, IsAXTable()); |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // AXTable_h | 98 #endif // AXTable_h |
| OLD | NEW |