| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 SkMatrix44 transformFromLocalParentFrame() const override; | 60 SkMatrix44 transformFromLocalParentFrame() const override; |
| 61 bool shouldNotifyActiveDescendant() const; | |
| 62 ScrollableArea* getScrollableAreaIfScrollable() const final; | 61 ScrollableArea* getScrollableAreaIfScrollable() const final; |
| 63 AccessibilityRole determineAccessibilityRole() override; | 62 AccessibilityRole determineAccessibilityRole() override; |
| 64 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; | 63 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; |
| 65 void checkCachedElementRect() const; | 64 void checkCachedElementRect() const; |
| 66 void updateCachedElementRect() const; | 65 void updateCachedElementRect() const; |
| 67 | 66 |
| 68 protected: | 67 protected: |
| 69 LayoutObject* m_layoutObject; | 68 LayoutObject* m_layoutObject; |
| 70 mutable LayoutRect m_cachedElementRect; | 69 mutable LayoutRect m_cachedElementRect; |
| 71 mutable LayoutRect m_cachedFrameRect; | 70 mutable LayoutRect m_cachedFrameRect; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 112 |
| 114 // Inline text boxes. | 113 // Inline text boxes. |
| 115 void loadInlineTextBoxes() override; | 114 void loadInlineTextBoxes() override; |
| 116 AXObject* nextOnLine() const override; | 115 AXObject* nextOnLine() const override; |
| 117 AXObject* previousOnLine() const override; | 116 AXObject* previousOnLine() const override; |
| 118 | 117 |
| 119 // Properties of interactive elements. | 118 // Properties of interactive elements. |
| 120 String stringValue() const override; | 119 String stringValue() const override; |
| 121 | 120 |
| 122 // ARIA attributes. | 121 // ARIA attributes. |
| 123 AXObject* activeDescendant() const override; | |
| 124 void ariaFlowToElements(AXObjectVector&) const override; | 122 void ariaFlowToElements(AXObjectVector&) const override; |
| 125 void ariaControlsElements(AXObjectVector&) const override; | 123 void ariaControlsElements(AXObjectVector&) const override; |
| 126 void ariaDescribedbyElements(AXObjectVector&) const override; | 124 void ariaDescribedbyElements(AXObjectVector&) const override; |
| 127 void ariaLabelledbyElements(AXObjectVector&) const override; | 125 void ariaLabelledbyElements(AXObjectVector&) const override; |
| 128 void ariaOwnsElements(AXObjectVector&) const override; | 126 void ariaOwnsElements(AXObjectVector&) const override; |
| 129 | 127 |
| 130 bool ariaHasPopup() const override; | 128 bool ariaHasPopup() const override; |
| 131 bool ariaRoleHasPresentationalChildren() const override; | 129 bool ariaRoleHasPresentationalChildren() const override; |
| 132 AXObject* ancestorForWhichThisIsAPresentationalChild() const override; | 130 AXObject* ancestorForWhichThisIsAPresentationalChild() const override; |
| 133 bool shouldFocusActiveDescendant() const override; | |
| 134 bool supportsARIADragging() const override; | 131 bool supportsARIADragging() const override; |
| 135 bool supportsARIADropping() const override; | 132 bool supportsARIADropping() const override; |
| 136 bool supportsARIAFlowTo() const override; | 133 bool supportsARIAFlowTo() const override; |
| 137 bool supportsARIAOwns() const override; | 134 bool supportsARIAOwns() const override; |
| 138 | 135 |
| 139 // ARIA live-region features. | 136 // ARIA live-region features. |
| 140 const AtomicString& liveRegionStatus() const override; | 137 const AtomicString& liveRegionStatus() const override; |
| 141 const AtomicString& liveRegionRelevant() const override; | 138 const AtomicString& liveRegionRelevant() const override; |
| 142 bool liveRegionAtomic() const override; | 139 bool liveRegionAtomic() const override; |
| 143 bool liveRegionBusy() const override; | 140 bool liveRegionBusy() const override; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 AXRange textControlSelection() const; | 215 AXRange textControlSelection() const; |
| 219 int indexForVisiblePosition(const VisiblePosition&) const; | 216 int indexForVisiblePosition(const VisiblePosition&) const; |
| 220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 217 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
| 221 }; | 218 }; |
| 222 | 219 |
| 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 220 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 224 | 221 |
| 225 } // namespace blink | 222 } // namespace blink |
| 226 | 223 |
| 227 #endif // AXLayoutObject_h | 224 #endif // AXLayoutObject_h |
| OLD | NEW |