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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool isSelectedOptionActive() const override; | 55 bool isSelectedOptionActive() const override; |
56 void setSelected(bool) override; | 56 void setSelected(bool) override; |
57 bool canSetSelectedAttribute() const override; | 57 bool canSetSelectedAttribute() const override; |
58 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; | 58 String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObj
ectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const overri
de; |
59 | 59 |
60 private: | 60 private: |
61 bool canHaveChildren() const override { return false; } | 61 bool canHaveChildren() const override { return false; } |
62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; | 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override
; |
63 | 63 |
64 HTMLSelectElement* listBoxOptionParentNode() const; | 64 HTMLSelectElement* listBoxOptionParentNode() const; |
65 int listBoxOptionIndex() const; | |
66 bool isParentPresentationalRole() const; | 65 bool isParentPresentationalRole() const; |
67 }; | 66 }; |
68 | 67 |
69 } // namespace blink | 68 } // namespace blink |
70 | 69 |
71 #endif // AXListBoxOption_h | 70 #endif // AXListBoxOption_h |
OLD | NEW |