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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 class AXSliderThumb final : public AXMockObject { | 66 class AXSliderThumb final : public AXMockObject { |
67 WTF_MAKE_NONCOPYABLE(AXSliderThumb); | 67 WTF_MAKE_NONCOPYABLE(AXSliderThumb); |
68 | 68 |
69 public: | 69 public: |
70 static AXSliderThumb* create(AXObjectCacheImpl&); | 70 static AXSliderThumb* create(AXObjectCacheImpl&); |
71 ~AXSliderThumb() override { } | 71 ~AXSliderThumb() override { } |
72 | 72 |
73 AccessibilityRole roleValue() const override { return SliderThumbRole; } | 73 AccessibilityRole roleValue() const override { return SliderThumbRole; } |
74 | 74 |
75 LayoutRect elementRect() const override; | |
76 | |
77 private: | 75 private: |
78 explicit AXSliderThumb(AXObjectCacheImpl&); | 76 explicit AXSliderThumb(AXObjectCacheImpl&); |
79 | 77 |
80 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 78 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
| 79 LayoutObject* layoutObjectForRelativeBounds() const override; |
81 }; | 80 }; |
82 | 81 |
83 | 82 |
84 } // namespace blink | 83 } // namespace blink |
85 | 84 |
86 #endif // AXSlider_h | 85 #endif // AXSlider_h |
OLD | NEW |