| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 void setValue(const String&) override; | 182 void setValue(const String&) override; |
| 183 | 183 |
| 184 // Notifications that this object may have changed. | 184 // Notifications that this object may have changed. |
| 185 void handleActiveDescendantChanged() override; | 185 void handleActiveDescendantChanged() override; |
| 186 void handleAriaExpandedChanged() override; | 186 void handleAriaExpandedChanged() override; |
| 187 void textChanged() override; | 187 void textChanged() override; |
| 188 | 188 |
| 189 // Text metrics. Most of these should be deprecated, needs major cleanup. | 189 // Text metrics. Most of these should be deprecated, needs major cleanup. |
| 190 int index(const VisiblePosition&) const override; | 190 int index(const VisiblePosition&) const override; |
| 191 VisiblePosition visiblePositionForIndex(int) const override; | 191 VisiblePosition visiblePositionForIndex(int) const override; |
| 192 void lineBreaks(Vector<int>&) const override; | 192 void lineBreaks(Vector<int>&) const final; |
| 193 | 193 |
| 194 private: | 194 private: |
| 195 AXObject* treeAncestorDisallowingChild() const; | 195 AXObject* treeAncestorDisallowingChild() const; |
| 196 bool isTabItemSelected() const; | 196 bool isTabItemSelected() const; |
| 197 bool isValidSelectionBound(const AXObject*) const; | 197 bool isValidSelectionBound(const AXObject*) const; |
| 198 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; | 198 AXObject* accessibilityImageMapHitTest(HTMLAreaElement*, const IntPoint&) co
nst; |
| 199 LayoutObject* layoutParentObject() const; | 199 LayoutObject* layoutParentObject() const; |
| 200 bool isSVGImage() const; | 200 bool isSVGImage() const; |
| 201 void detachRemoteSVGRoot(); | 201 void detachRemoteSVGRoot(); |
| 202 AXSVGRoot* remoteSVGRootElement() const; | 202 AXSVGRoot* remoteSVGRootElement() const; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 215 AXRange textControlSelection() const; | 215 AXRange textControlSelection() const; |
| 216 int indexForVisiblePosition(const VisiblePosition&) const; | 216 int indexForVisiblePosition(const VisiblePosition&) const; |
| 217 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 217 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 220 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 221 | 221 |
| 222 } // namespace blink | 222 } // namespace blink |
| 223 | 223 |
| 224 #endif // AXLayoutObject_h | 224 #endif // AXLayoutObject_h |
| OLD | NEW |