| 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 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class AXObjectCacheImpl; | 38 class AXObjectCacheImpl; |
| 39 class AXTableCell; | 39 class AXTableCell; |
| 40 | 40 |
| 41 class MODULES_EXPORT AXTable : public AXLayoutObject { | 41 class MODULES_EXPORT AXTable : public AXLayoutObject { |
| 42 | 42 |
| 43 protected: | 43 protected: |
| 44 AXTable(LayoutObject*, AXObjectCacheImpl*); | 44 AXTable(LayoutObject*, AXObjectCacheImpl&); |
| 45 | 45 |
| 46 public: | 46 public: |
| 47 static PassRefPtr<AXTable> create(LayoutObject*, AXObjectCacheImpl*); | 47 static PassRefPtr<AXTable> create(LayoutObject*, AXObjectCacheImpl&); |
| 48 virtual ~AXTable(); | 48 virtual ~AXTable(); |
| 49 | 49 |
| 50 virtual void init() override final; | 50 virtual void init() override final; |
| 51 | 51 |
| 52 virtual bool isAXTable() const override final; | 52 virtual bool isAXTable() const override final; |
| 53 virtual bool isDataTable() const override final; | 53 virtual bool isDataTable() const override final; |
| 54 | 54 |
| 55 virtual AccessibilityRole roleValue() const override final; | 55 virtual AccessibilityRole roleValue() const override final; |
| 56 | 56 |
| 57 virtual void addChildren() override; | 57 virtual void addChildren() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 bool hasARIARole() const; | 89 bool hasARIARole() const; |
| 90 virtual bool isTableExposableThroughAccessibility() const; | 90 virtual bool isTableExposableThroughAccessibility() const; |
| 91 virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const
override final; | 91 virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const
override 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 |