| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 bool LiveRegionBusy() const override; | 137 bool LiveRegionBusy() const override; |
| 138 | 138 |
| 139 // AX name calc. | 139 // AX name calc. |
| 140 String TextAlternative(bool recursive, | 140 String TextAlternative(bool recursive, |
| 141 bool in_aria_labelled_by_traversal, | 141 bool in_aria_labelled_by_traversal, |
| 142 AXObjectSet& visited, | 142 AXObjectSet& visited, |
| 143 AXNameFrom&, | 143 AXNameFrom&, |
| 144 AXRelatedObjectVector*, | 144 AXRelatedObjectVector*, |
| 145 NameSources*) const override; | 145 NameSources*) const override; |
| 146 | 146 |
| 147 // Methods that retrieve or manipulate the current selection. | |
| 148 | |
| 149 AXRange Selection() const override; | |
| 150 AXRange SelectionUnderObject() const override; | |
| 151 void SetSelection(const AXRange&) override; | |
| 152 | |
| 153 // Hit testing. | 147 // Hit testing. |
| 154 AXObjectImpl* AccessibilityHitTest(const IntPoint&) const override; | 148 AXObjectImpl* AccessibilityHitTest(const IntPoint&) const override; |
| 155 AXObjectImpl* ElementAccessibilityHitTest(const IntPoint&) const override; | 149 AXObjectImpl* ElementAccessibilityHitTest(const IntPoint&) const override; |
| 156 | 150 |
| 157 // High-level accessibility tree access. Other modules should only use these | 151 // High-level accessibility tree access. Other modules should only use these |
| 158 // functions. | 152 // functions. |
| 159 AXObjectImpl* ComputeParent() const override; | 153 AXObjectImpl* ComputeParent() const override; |
| 160 AXObjectImpl* ComputeParentIfExists() const override; | 154 AXObjectImpl* ComputeParentIfExists() const override; |
| 161 | 155 |
| 162 // Low-level accessibility tree exploration, only for use within the | 156 // Low-level accessibility tree exploration, only for use within the |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 void AddHiddenChildren(); | 200 void AddHiddenChildren(); |
| 207 void AddTextFieldChildren(); | 201 void AddTextFieldChildren(); |
| 208 void AddImageMapChildren(); | 202 void AddImageMapChildren(); |
| 209 void AddCanvasChildren(); | 203 void AddCanvasChildren(); |
| 210 void AddPopupChildren(); | 204 void AddPopupChildren(); |
| 211 void AddRemoteSVGChildren(); | 205 void AddRemoteSVGChildren(); |
| 212 void AddInlineTextBoxChildren(bool force); | 206 void AddInlineTextBoxChildren(bool force); |
| 213 | 207 |
| 214 bool ElementAttributeValue(const QualifiedName&) const; | 208 bool ElementAttributeValue(const QualifiedName&) const; |
| 215 LayoutRect ComputeElementRect() const; | 209 LayoutRect ComputeElementRect() const; |
| 216 AXRange TextControlSelection() const; | |
| 217 int IndexForVisiblePosition(const VisiblePosition&) const; | 210 int IndexForVisiblePosition(const VisiblePosition&) const; |
| 218 AXLayoutObject* GetUnignoredObjectFromNode(Node&) const; | 211 AXLayoutObject* GetUnignoredObjectFromNode(Node&) const; |
| 219 }; | 212 }; |
| 220 | 213 |
| 221 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, IsAXLayoutObject()); | 214 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, IsAXLayoutObject()); |
| 222 | 215 |
| 223 } // namespace blink | 216 } // namespace blink |
| 224 | 217 |
| 225 #endif // AXLayoutObject_h | 218 #endif // AXLayoutObject_h |
| OLD | NEW |