| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void handleAriaExpandedChanged() override; | 195 void handleAriaExpandedChanged() override; |
| 196 void textChanged() override; | 196 void textChanged() override; |
| 197 | 197 |
| 198 // Text metrics. Most of these should be deprecated, needs major cleanup. | 198 // Text metrics. Most of these should be deprecated, needs major cleanup. |
| 199 int index(const VisiblePosition&) const override; | 199 int index(const VisiblePosition&) const override; |
| 200 VisiblePosition visiblePositionForIndex(int) const override; | 200 VisiblePosition visiblePositionForIndex(int) const override; |
| 201 void lineBreaks(Vector<int>&) const override; | 201 void lineBreaks(Vector<int>&) const override; |
| 202 | 202 |
| 203 private: | 203 private: |
| 204 AXObject* treeAncestorDisallowingChild() const; | 204 AXObject* treeAncestorDisallowingChild() const; |
| 205 void ariaListboxSelectedChildren(AccessibilityChildrenVector&); | |
| 206 bool nodeIsTextControl(const Node*) const; | 205 bool nodeIsTextControl(const Node*) const; |
| 207 bool isTabItemSelected() const; | 206 bool isTabItemSelected() const; |
| 208 bool isValidSelectionBound(const AXObject*) const; | 207 bool isValidSelectionBound(const AXObject*) const; |
| 209 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; | 208 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; |
| 210 LayoutObject* layoutParentObject() const; | 209 LayoutObject* layoutParentObject() const; |
| 211 bool isSVGImage() const; | 210 bool isSVGImage() const; |
| 212 void detachRemoteSVGRoot(); | 211 void detachRemoteSVGRoot(); |
| 213 AXSVGRoot* remoteSVGRootElement() const; | 212 AXSVGRoot* remoteSVGRootElement() const; |
| 214 AXObject* remoteSVGElementHitTest(const IntPoint&) const; | 213 AXObject* remoteSVGElementHitTest(const IntPoint&) const; |
| 215 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; | 214 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; |
| 216 void addHiddenChildren(); | 215 void addHiddenChildren(); |
| 217 void addTextFieldChildren(); | 216 void addTextFieldChildren(); |
| 218 void addImageMapChildren(); | 217 void addImageMapChildren(); |
| 219 void addCanvasChildren(); | 218 void addCanvasChildren(); |
| 220 void addAttachmentChildren(); | 219 void addAttachmentChildren(); |
| 221 void addPopupChildren(); | 220 void addPopupChildren(); |
| 222 void addRemoteSVGChildren(); | 221 void addRemoteSVGChildren(); |
| 223 void addInlineTextBoxChildren(bool force); | 222 void addInlineTextBoxChildren(bool force); |
| 224 | 223 |
| 225 void ariaSelectedRows(AccessibilityChildrenVector&); | |
| 226 bool elementAttributeValue(const QualifiedName&) const; | 224 bool elementAttributeValue(const QualifiedName&) const; |
| 227 LayoutRect computeElementRect() const; | 225 LayoutRect computeElementRect() const; |
| 228 AXRange textControlSelection() const; | 226 AXRange textControlSelection() const; |
| 229 int indexForVisiblePosition(const VisiblePosition&) const; | 227 int indexForVisiblePosition(const VisiblePosition&) const; |
| 230 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 228 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
| 231 }; | 229 }; |
| 232 | 230 |
| 233 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 231 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 234 | 232 |
| 235 } // namespace blink | 233 } // namespace blink |
| 236 | 234 |
| 237 #endif // AXLayoutObject_h | 235 #endif // AXLayoutObject_h |
| OLD | NEW |