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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 private: | 195 private: |
196 bool isAllowedChildOfTree() const; | 196 bool isAllowedChildOfTree() const; |
197 void ariaListboxSelectedChildren(AccessibilityChildrenVector&); | 197 void ariaListboxSelectedChildren(AccessibilityChildrenVector&); |
198 PlainTextRange ariaSelectedTextRange() const; | 198 PlainTextRange ariaSelectedTextRange() const; |
199 bool nodeIsTextControl(const Node*) const; | 199 bool nodeIsTextControl(const Node*) const; |
200 bool isTabItemSelected() const; | 200 bool isTabItemSelected() const; |
201 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; | 201 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; |
202 bool layoutObjectIsObservable(LayoutObject*) const; | 202 bool layoutObjectIsObservable(LayoutObject*) const; |
203 LayoutObject* layoutParentObject() const; | 203 LayoutObject* layoutParentObject() const; |
204 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | |
205 bool isSVGImage() const; | 204 bool isSVGImage() const; |
206 void detachRemoteSVGRoot(); | 205 void detachRemoteSVGRoot(); |
207 AXSVGRoot* remoteSVGRootElement() const; | 206 AXSVGRoot* remoteSVGRootElement() const; |
208 AXObject* remoteSVGElementHitTest(const IntPoint&) const; | 207 AXObject* remoteSVGElementHitTest(const IntPoint&) const; |
209 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; | 208 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; |
210 void addHiddenChildren(); | 209 void addHiddenChildren(); |
211 void addTextFieldChildren(); | 210 void addTextFieldChildren(); |
212 void addImageMapChildren(); | 211 void addImageMapChildren(); |
213 void addCanvasChildren(); | 212 void addCanvasChildren(); |
214 void addAttachmentChildren(); | 213 void addAttachmentChildren(); |
215 void addPopupChildren(); | 214 void addPopupChildren(); |
216 void addRemoteSVGChildren(); | 215 void addRemoteSVGChildren(); |
217 void addInlineTextBoxChildren(bool force); | 216 void addInlineTextBoxChildren(bool force); |
218 | 217 |
219 void ariaSelectedRows(AccessibilityChildrenVector&); | 218 void ariaSelectedRows(AccessibilityChildrenVector&); |
220 bool elementAttributeValue(const QualifiedName&) const; | 219 bool elementAttributeValue(const QualifiedName&) const; |
221 bool inheritsPresentationalRole() const; | 220 bool inheritsPresentationalRole() const; |
222 LayoutRect computeElementRect() const; | 221 LayoutRect computeElementRect() const; |
223 VisibleSelection selection() const; | 222 VisibleSelection selection() const; |
224 int indexForVisiblePosition(const VisiblePosition&) const; | 223 int indexForVisiblePosition(const VisiblePosition&) const; |
225 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; | 224 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; |
226 }; | 225 }; |
227 | 226 |
228 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 227 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
229 | 228 |
230 } // namespace blink | 229 } // namespace blink |
231 | 230 |
232 #endif // AXLayoutObject_h | 231 #endif // AXLayoutObject_h |
OLD | NEW |