| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 virtual void textChanged() override; | 188 virtual void textChanged() override; |
| 189 | 189 |
| 190 // Text metrics. Most of these should be deprecated, needs major cleanup. | 190 // Text metrics. Most of these should be deprecated, needs major cleanup. |
| 191 virtual int index(const VisiblePosition&) const override; | 191 virtual int index(const VisiblePosition&) const override; |
| 192 virtual VisiblePosition visiblePositionForIndex(int) const override; | 192 virtual VisiblePosition visiblePositionForIndex(int) const override; |
| 193 virtual void lineBreaks(Vector<int>&) const override; | 193 virtual void lineBreaks(Vector<int>&) const override; |
| 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 visibleSelectionUnderObject() 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 LayoutObject* layoutParentObject() const; | 202 LayoutObject* layoutParentObject() const; |
| 203 bool isSVGImage() const; | 203 bool isSVGImage() const; |
| 204 void detachRemoteSVGRoot(); | 204 void detachRemoteSVGRoot(); |
| 205 AXSVGRoot* remoteSVGRootElement() const; | 205 AXSVGRoot* remoteSVGRootElement() const; |
| 206 AXObject* remoteSVGElementHitTest(const IntPoint&) const; | 206 AXObject* remoteSVGElementHitTest(const IntPoint&) const; |
| 207 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; | 207 void offsetBoundingBoxForRemoteSVGElement(LayoutRect&) const; |
| 208 void addHiddenChildren(); | 208 void addHiddenChildren(); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 220 VisibleSelection selection() const; | 220 VisibleSelection selection() const; |
| 221 int indexForVisiblePosition(const VisiblePosition&) const; | 221 int indexForVisiblePosition(const VisiblePosition&) const; |
| 222 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; | 222 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 226 | 226 |
| 227 } // namespace blink | 227 } // namespace blink |
| 228 | 228 |
| 229 #endif // AXLayoutObject_h | 229 #endif // AXLayoutObject_h |
| OLD | NEW |