| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&); | 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl&); |
| 51 | 51 |
| 52 public: | 52 public: |
| 53 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); | 53 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); |
| 54 ~AXLayoutObject() override; | 54 ~AXLayoutObject() override; |
| 55 | 55 |
| 56 // Public, overridden from AXObject. | 56 // Public, overridden from AXObject. |
| 57 LayoutObject* getLayoutObject() const final { return m_layoutObject; } | 57 LayoutObject* getLayoutObject() const final { return m_layoutObject; } |
| 58 LayoutRect elementRect() const override; | 58 LayoutRect elementRect() const override; |
| 59 LayoutBoxModelObject* getLayoutBoxModelObject() const; | 59 LayoutBoxModelObject* getLayoutBoxModelObject() const; |
| 60 bool shouldNotifyActiveDescendant() const; | |
| 61 ScrollableArea* getScrollableAreaIfScrollable() const final; | 60 ScrollableArea* getScrollableAreaIfScrollable() const final; |
| 62 AccessibilityRole determineAccessibilityRole() override; | 61 AccessibilityRole determineAccessibilityRole() override; |
| 63 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; | 62 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; |
| 64 void checkCachedElementRect() const; | 63 void checkCachedElementRect() const; |
| 65 void updateCachedElementRect() const; | 64 void updateCachedElementRect() const; |
| 66 | 65 |
| 67 protected: | 66 protected: |
| 68 LayoutObject* m_layoutObject; | 67 LayoutObject* m_layoutObject; |
| 69 mutable LayoutRect m_cachedElementRect; | 68 mutable LayoutRect m_cachedElementRect; |
| 70 mutable LayoutRect m_cachedFrameRect; | 69 mutable LayoutRect m_cachedFrameRect; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 AXObject* activeDescendant() const override; | 121 AXObject* activeDescendant() const override; |
| 123 void ariaFlowToElements(AXObjectVector&) const override; | 122 void ariaFlowToElements(AXObjectVector&) const override; |
| 124 void ariaControlsElements(AXObjectVector&) const override; | 123 void ariaControlsElements(AXObjectVector&) const override; |
| 125 void ariaDescribedbyElements(AXObjectVector&) const override; | 124 void ariaDescribedbyElements(AXObjectVector&) const override; |
| 126 void ariaLabelledbyElements(AXObjectVector&) const override; | 125 void ariaLabelledbyElements(AXObjectVector&) const override; |
| 127 void ariaOwnsElements(AXObjectVector&) const override; | 126 void ariaOwnsElements(AXObjectVector&) const override; |
| 128 | 127 |
| 129 bool ariaHasPopup() const override; | 128 bool ariaHasPopup() const override; |
| 130 bool ariaRoleHasPresentationalChildren() const override; | 129 bool ariaRoleHasPresentationalChildren() const override; |
| 131 AXObject* ancestorForWhichThisIsAPresentationalChild() const override; | 130 AXObject* ancestorForWhichThisIsAPresentationalChild() const override; |
| 132 bool shouldFocusActiveDescendant() const override; | |
| 133 bool supportsARIADragging() const override; | 131 bool supportsARIADragging() const override; |
| 134 bool supportsARIADropping() const override; | 132 bool supportsARIADropping() const override; |
| 135 bool supportsARIAFlowTo() const override; | 133 bool supportsARIAFlowTo() const override; |
| 136 bool supportsARIAOwns() const override; | 134 bool supportsARIAOwns() const override; |
| 137 | 135 |
| 138 // ARIA live-region features. | 136 // ARIA live-region features. |
| 139 const AtomicString& liveRegionStatus() const override; | 137 const AtomicString& liveRegionStatus() const override; |
| 140 const AtomicString& liveRegionRelevant() const override; | 138 const AtomicString& liveRegionRelevant() const override; |
| 141 bool liveRegionAtomic() const override; | 139 bool liveRegionAtomic() const override; |
| 142 bool liveRegionBusy() const override; | 140 bool liveRegionBusy() const override; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 AXRange textControlSelection() const; | 215 AXRange textControlSelection() const; |
| 218 int indexForVisiblePosition(const VisiblePosition&) const; | 216 int indexForVisiblePosition(const VisiblePosition&) const; |
| 219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 217 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
| 220 }; | 218 }; |
| 221 | 219 |
| 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 220 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 223 | 221 |
| 224 } // namespace blink | 222 } // namespace blink |
| 225 | 223 |
| 226 #endif // AXLayoutObject_h | 224 #endif // AXLayoutObject_h |
| OLD | NEW |