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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // Methods that retrieve or manipulate the current selection. | 149 // Methods that retrieve or manipulate the current selection. |
150 | 150 |
151 AXRange selection() const override; | 151 AXRange selection() const override; |
152 AXRange selectionUnderObject() const override; | 152 AXRange selectionUnderObject() const override; |
153 void setSelection(const AXRange&) override; | 153 void setSelection(const AXRange&) override; |
154 | 154 |
155 // Hit testing. | 155 // Hit testing. |
156 AXObject* accessibilityHitTest(const IntPoint&) const override; | 156 AXObject* accessibilityHitTest(const IntPoint&) const override; |
157 AXObject* elementAccessibilityHitTest(const IntPoint&) const override; | 157 AXObject* elementAccessibilityHitTest(const IntPoint&) const override; |
158 | 158 |
159 // High-level accessibility tree access. Other modules should only use these f
unctions. | 159 // High-level accessibility tree access. Other modules should only use these |
| 160 // functions. |
160 AXObject* computeParent() const override; | 161 AXObject* computeParent() const override; |
161 AXObject* computeParentIfExists() const override; | 162 AXObject* computeParentIfExists() const override; |
162 | 163 |
163 // Low-level accessibility tree exploration, only for use within the accessibi
lity module. | 164 // Low-level accessibility tree exploration, only for use within the |
| 165 // accessibility module. |
164 AXObject* rawFirstChild() const override; | 166 AXObject* rawFirstChild() const override; |
165 AXObject* rawNextSibling() const override; | 167 AXObject* rawNextSibling() const override; |
166 void addChildren() override; | 168 void addChildren() override; |
167 bool canHaveChildren() const override; | 169 bool canHaveChildren() const override; |
168 void updateChildrenIfNecessary() override; | 170 void updateChildrenIfNecessary() override; |
169 bool needsToUpdateChildren() const override { return m_childrenDirty; } | 171 bool needsToUpdateChildren() const override { return m_childrenDirty; } |
170 void setNeedsToUpdateChildren() override { m_childrenDirty = true; } | 172 void setNeedsToUpdateChildren() override { m_childrenDirty = true; } |
171 void clearChildren() override; | 173 void clearChildren() override; |
172 | 174 |
173 // Properties of the object's owning document or page. | 175 // Properties of the object's owning document or page. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 AXRange textControlSelection() const; | 218 AXRange textControlSelection() const; |
217 int indexForVisiblePosition(const VisiblePosition&) const; | 219 int indexForVisiblePosition(const VisiblePosition&) const; |
218 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
219 }; | 221 }; |
220 | 222 |
221 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
222 | 224 |
223 } // namespace blink | 225 } // namespace blink |
224 | 226 |
225 #endif // AXLayoutObject_h | 227 #endif // AXLayoutObject_h |
OLD | NEW |