OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 AccessibilityRole RoleValue() const override; | 55 AccessibilityRole RoleValue() const override; |
56 bool CanHaveChildren() const override { return false; } | 56 bool CanHaveChildren() const override { return false; } |
57 | 57 |
58 Element* ActionElement() const override; | 58 Element* ActionElement() const override; |
59 bool IsEnabled() const override; | 59 bool IsEnabled() const override; |
60 bool IsVisible() const override; | 60 bool IsVisible() const override; |
61 bool IsOffScreen() const override; | 61 bool IsOffScreen() const override; |
62 bool IsSelected() const override; | 62 bool IsSelected() const override; |
63 void SetSelected(bool) override; | 63 void SetSelected(bool) override; |
64 bool CanSetSelectedAttribute() const override; | 64 bool CanSetSelectedAttribute() const override; |
65 void GetRelativeBounds(AXObject** out_container, | 65 void GetRelativeBounds(AXObjectImpl** out_container, |
66 FloatRect& out_bounds_in_container, | 66 FloatRect& out_bounds_in_container, |
67 SkMatrix44& out_container_transform) const override; | 67 SkMatrix44& out_container_transform) const override; |
68 String TextAlternative(bool recursive, | 68 String TextAlternative(bool recursive, |
69 bool in_aria_labelled_by_traversal, | 69 bool in_aria_labelled_by_traversal, |
70 AXObjectSet& visited, | 70 AXObjectSet& visited, |
71 AXNameFrom&, | 71 AXNameFrom&, |
72 AXRelatedObjectVector*, | 72 AXRelatedObjectVector*, |
73 NameSources*) const override; | 73 NameSources*) const override; |
74 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; | 74 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; |
75 | 75 |
76 Member<HTMLOptionElement> element_; | 76 Member<HTMLOptionElement> element_; |
77 }; | 77 }; |
78 | 78 |
79 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, IsMenuListOption()); | 79 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, IsMenuListOption()); |
80 | 80 |
81 } // namespace blink | 81 } // namespace blink |
82 | 82 |
83 #endif // AXMenuListOption_h | 83 #endif // AXMenuListOption_h |
OLD | NEW |