OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 // is true if the layoutObject returned is an ancestor of |ancestor|. | 810 // is true if the layoutObject returned is an ancestor of |ancestor|. |
811 LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool
* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; | 811 LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool
* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; |
812 // Finds the container as if this object is fixed-position. | 812 // Finds the container as if this object is fixed-position. |
813 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor
= nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nu
llptr) const; | 813 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor
= nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nu
llptr) const; |
814 // Finds the containing block as if this object is absolute-position. | 814 // Finds the containing block as if this object is absolute-position. |
815 LayoutBlock* containingBlockForAbsolutePosition() const; | 815 LayoutBlock* containingBlockForAbsolutePosition() const; |
816 | 816 |
817 virtual LayoutObject* hoverAncestor() const { return parent(); } | 817 virtual LayoutObject* hoverAncestor() const { return parent(); } |
818 | 818 |
819 Element* offsetParent() const; | 819 Element* offsetParent() const; |
| 820 Element* offsetParentForBinding() const; |
820 | 821 |
821 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); | 822 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); |
822 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); | 823 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); |
823 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); | 824 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); |
824 void clearNeedsLayout(); | 825 void clearNeedsLayout(); |
825 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); | 826 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); |
826 void setNeedsPositionedMovementLayout(); | 827 void setNeedsPositionedMovementLayout(); |
827 void setPreferredLogicalWidthsDirty(MarkingBehavior = MarkContainerChain); | 828 void setPreferredLogicalWidthsDirty(MarkingBehavior = MarkContainerChain); |
828 void clearPreferredLogicalWidthsDirty(); | 829 void clearPreferredLogicalWidthsDirty(); |
829 | 830 |
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2188 void showTree(const blink::LayoutObject*); | 2189 void showTree(const blink::LayoutObject*); |
2189 void showLineTree(const blink::LayoutObject*); | 2190 void showLineTree(const blink::LayoutObject*); |
2190 void showLayoutTree(const blink::LayoutObject* object1); | 2191 void showLayoutTree(const blink::LayoutObject* object1); |
2191 // We don't make object2 an optional parameter so that showLayoutTree | 2192 // We don't make object2 an optional parameter so that showLayoutTree |
2192 // can be called from gdb easily. | 2193 // can be called from gdb easily. |
2193 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2194 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2194 | 2195 |
2195 #endif | 2196 #endif |
2196 | 2197 |
2197 #endif // LayoutObject_h | 2198 #endif // LayoutObject_h |
OLD | NEW |