| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 public: | 54 public: |
| 55 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); | 55 static AXLayoutObject* create(LayoutObject*, AXObjectCacheImpl&); |
| 56 ~AXLayoutObject() override; | 56 ~AXLayoutObject() override; |
| 57 | 57 |
| 58 // Public, overridden from AXObject. | 58 // Public, overridden from AXObject. |
| 59 LayoutObject* getLayoutObject() const final { return m_layoutObject; } | 59 LayoutObject* getLayoutObject() const final { return m_layoutObject; } |
| 60 LayoutRect elementRect() const override; | 60 LayoutRect elementRect() const override; |
| 61 LayoutBoxModelObject* getLayoutBoxModelObject() const; | 61 LayoutBoxModelObject* getLayoutBoxModelObject() const; |
| 62 SkMatrix44 transformFromLocalParentFrame() const override; | 62 SkMatrix44 transformFromLocalParentFrame() const override; |
| 63 ScrollableArea* getScrollableAreaIfScrollable() const final; | 63 ScrollableArea* getScrollableAreaIfScrollable() const final; |
| 64 void getRelativeBounds(AXObject** container, FloatRect& boundsInContainer, S
kMatrix44& containerTransform) const override; |
| 64 AccessibilityRole determineAccessibilityRole() override; | 65 AccessibilityRole determineAccessibilityRole() override; |
| 65 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; | 66 AccessibilityRole nativeAccessibilityRoleIgnoringAria() const override; |
| 66 void checkCachedElementRect() const; | 67 void checkCachedElementRect() const; |
| 67 void updateCachedElementRect() const; | 68 void updateCachedElementRect() const; |
| 68 | 69 |
| 69 protected: | 70 protected: |
| 70 LayoutObject* m_layoutObject; | 71 LayoutObject* m_layoutObject; |
| 71 mutable LayoutRect m_cachedElementRect; | 72 mutable LayoutRect m_cachedElementRect; |
| 72 mutable LayoutRect m_cachedFrameRect; | 73 mutable LayoutRect m_cachedFrameRect; |
| 73 mutable IntPoint m_cachedScrollPosition; | 74 mutable IntPoint m_cachedScrollPosition; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 AXRange textControlSelection() const; | 218 AXRange textControlSelection() const; |
| 218 int indexForVisiblePosition(const VisiblePosition&) const; | 219 int indexForVisiblePosition(const VisiblePosition&) const; |
| 219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; | 220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; |
| 220 }; | 221 }; |
| 221 | 222 |
| 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 223 | 224 |
| 224 } // namespace blink | 225 } // namespace blink |
| 225 | 226 |
| 226 #endif // AXLayoutObject_h | 227 #endif // AXLayoutObject_h |
| OLD | NEW |