| 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 13 matching lines...) Expand all Loading... |
| 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef AXListBoxOption_h | 29 #ifndef AXListBoxOption_h |
| 30 #define AXListBoxOption_h | 30 #define AXListBoxOption_h |
| 31 | 31 |
| 32 #include "core/html/HTMLElement.h" | 32 #include "core/html/HTMLElement.h" |
| 33 #include "modules/accessibility/AXLayoutObject.h" | 33 #include "modules/accessibility/AXLayoutObject.h" |
| 34 #include "wtf/Forward.h" | 34 #include "platform/wtf/Forward.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class AXObjectCacheImpl; | 38 class AXObjectCacheImpl; |
| 39 class HTMLSelectElement; | 39 class HTMLSelectElement; |
| 40 | 40 |
| 41 class AXListBoxOption final : public AXLayoutObject { | 41 class AXListBoxOption final : public AXLayoutObject { |
| 42 WTF_MAKE_NONCOPYABLE(AXListBoxOption); | 42 WTF_MAKE_NONCOPYABLE(AXListBoxOption); |
| 43 | 43 |
| 44 private: | 44 private: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 66 bool CanHaveChildren() const override { return false; } | 66 bool CanHaveChildren() const override { return false; } |
| 67 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; | 67 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; |
| 68 | 68 |
| 69 HTMLSelectElement* ListBoxOptionParentNode() const; | 69 HTMLSelectElement* ListBoxOptionParentNode() const; |
| 70 bool IsParentPresentationalRole() const; | 70 bool IsParentPresentationalRole() const; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace blink | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif // AXListBoxOption_h | 75 #endif // AXListBoxOption_h |
| OLD | NEW |