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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 class AXObjectCacheImpl; | 37 class AXObjectCacheImpl; |
38 | 38 |
39 class AXTableHeaderContainer final : public AXMockObject { | 39 class AXTableHeaderContainer final : public AXMockObject { |
40 | 40 |
41 private: | 41 private: |
42 explicit AXTableHeaderContainer(AXObjectCacheImpl&); | 42 explicit AXTableHeaderContainer(AXObjectCacheImpl&); |
43 | 43 |
44 public: | 44 public: |
45 static PassRefPtrWillBeRawPtr<AXTableHeaderContainer> create(AXObjectCacheIm
pl&); | 45 static PassRefPtrWillBeRawPtr<AXTableHeaderContainer> create(AXObjectCacheIm
pl&); |
46 virtual ~AXTableHeaderContainer(); | 46 ~AXTableHeaderContainer() override; |
47 | 47 |
48 virtual AccessibilityRole roleValue() const override { return TableHeaderCon
tainerRole; } | 48 AccessibilityRole roleValue() const override { return TableHeaderContainerRo
le; } |
49 | 49 |
50 virtual void addChildren() override; | 50 void addChildren() override; |
51 | 51 |
52 virtual LayoutRect elementRect() const override; | 52 LayoutRect elementRect() const override; |
53 | 53 |
54 private: | 54 private: |
55 LayoutRect m_headerRect; | 55 LayoutRect m_headerRect; |
56 | 56 |
57 virtual bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const
override; | 57 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace blink | 60 } // namespace blink |
61 | 61 |
62 #endif // AXTableHeaderContainer_h | 62 #endif // AXTableHeaderContainer_h |
OLD | NEW |