| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 class AXLayoutObject : public AXNodeObject { | 48 class AXLayoutObject : public AXNodeObject { |
| 49 protected: | 49 protected: |
| 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl*); | 50 AXLayoutObject(LayoutObject*, AXObjectCacheImpl*); |
| 51 | 51 |
| 52 public: | 52 public: |
| 53 static PassRefPtr<AXLayoutObject> create(LayoutObject*, AXObjectCacheImpl*); | 53 static PassRefPtr<AXLayoutObject> create(LayoutObject*, AXObjectCacheImpl*); |
| 54 virtual ~AXLayoutObject(); | 54 virtual ~AXLayoutObject(); |
| 55 | 55 |
| 56 // Public, overridden from AXObject. | 56 // Public, overridden from AXObject. |
| 57 virtual LayoutObject* renderer() const override final { return m_layoutObjec
t; } | 57 virtual LayoutObject* layoutObject() const override final { return m_layoutO
bject; } |
| 58 virtual LayoutRect elementRect() const override; | 58 virtual LayoutRect elementRect() const override; |
| 59 | 59 |
| 60 void setLayoutObject(LayoutObject*); | 60 void setLayoutObject(LayoutObject*); |
| 61 LayoutBoxModelObject* layoutBoxModelObject() const; | 61 LayoutBoxModelObject* layoutBoxModelObject() const; |
| 62 Document* topDocument() const; | 62 Document* topDocument() const; |
| 63 bool shouldNotifyActiveDescendant() const; | 63 bool shouldNotifyActiveDescendant() const; |
| 64 virtual ScrollableArea* getScrollableAreaIfScrollable() const override final
; | 64 virtual ScrollableArea* getScrollableAreaIfScrollable() const override final
; |
| 65 virtual AccessibilityRole determineAccessibilityRole() override; | 65 virtual AccessibilityRole determineAccessibilityRole() override; |
| 66 void checkCachedElementRect() const; | 66 void checkCachedElementRect() const; |
| 67 void updateCachedElementRect() const; | 67 void updateCachedElementRect() const; |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 VisibleSelection selection() const; | 223 VisibleSelection selection() const; |
| 224 int indexForVisiblePosition(const VisiblePosition&) const; | 224 int indexForVisiblePosition(const VisiblePosition&) const; |
| 225 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; | 225 void accessibilityChildrenFromAttribute(QualifiedName attr, AccessibilityChi
ldrenVector&) const; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); | 228 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); |
| 229 | 229 |
| 230 } // namespace blink | 230 } // namespace blink |
| 231 | 231 |
| 232 #endif // AXLayoutObject_h | 232 #endif // AXLayoutObject_h |
| OLD | NEW |