| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 AccessibilityRole RoleValue() const final { | 51 AccessibilityRole RoleValue() const final { |
| 52 return AXLayoutObject::RoleValue(); | 52 return AXLayoutObject::RoleValue(); |
| 53 } // Use ARIA role | 53 } // Use ARIA role |
| 54 | 54 |
| 55 void AddChildren() override; | 55 void AddChildren() override; |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 // ARIA treegrids and grids support selected rows. | 58 // ARIA treegrids and grids support selected rows. |
| 59 bool SupportsSelectedRows() override { return true; } | 59 bool SupportsSelectedRows() override { return true; } |
| 60 bool IsMultiSelectable() const override { return true; } | |
| 61 bool IsTableExposableThroughAccessibility() const override { return true; } | 60 bool IsTableExposableThroughAccessibility() const override { return true; } |
| 62 | 61 |
| 63 bool AddTableRowChild(AXObjectImpl*, | 62 bool AddTableRowChild(AXObjectImpl*, |
| 64 HeapHashSet<Member<AXObjectImpl>>& appended_rows, | 63 HeapHashSet<Member<AXObjectImpl>>& appended_rows, |
| 65 unsigned& column_count); | 64 unsigned& column_count); |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace blink | 67 } // namespace blink |
| 69 | 68 |
| 70 #endif // AXARIAGrid_h | 69 #endif // AXARIAGrid_h |
| OLD | NEW |