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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 // If |ancestor| and |ancestorSkipped| are not null, on return *ancestorSkip
ped | 808 // If |ancestor| and |ancestorSkipped| are not null, on return *ancestorSkip
ped |
809 // is true if the layoutObject returned is an ancestor of |ancestor|. | 809 // is true if the layoutObject returned is an ancestor of |ancestor|. |
810 LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool
* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; | 810 LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool
* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nullptr) const; |
811 // Finds the container as if this object is fixed-position. | 811 // Finds the container as if this object is fixed-position. |
812 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor
= nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nu
llptr) const; | 812 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor
= nullptr, bool* ancestorSkipped = nullptr, bool* filterOrReflectionSkipped = nu
llptr) const; |
813 // Finds the containing block as if this object is absolute-position. | 813 // Finds the containing block as if this object is absolute-position. |
814 LayoutBlock* containingBlockForAbsolutePosition() const; | 814 LayoutBlock* containingBlockForAbsolutePosition() const; |
815 | 815 |
816 virtual LayoutObject* hoverAncestor() const { return parent(); } | 816 virtual LayoutObject* hoverAncestor() const { return parent(); } |
817 | 817 |
818 Element* offsetParent() const; | 818 Element* offsetParent(const Element* = nullptr) const; |
819 | 819 |
820 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); | 820 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); |
821 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); | 821 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); |
822 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); | 822 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); |
823 void clearNeedsLayout(); | 823 void clearNeedsLayout(); |
824 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); | 824 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); |
825 void setNeedsPositionedMovementLayout(); | 825 void setNeedsPositionedMovementLayout(); |
826 void setPreferredLogicalWidthsDirty(MarkingBehavior = MarkContainerChain); | 826 void setPreferredLogicalWidthsDirty(MarkingBehavior = MarkContainerChain); |
827 void clearPreferredLogicalWidthsDirty(); | 827 void clearPreferredLogicalWidthsDirty(); |
828 | 828 |
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2179 void showTree(const blink::LayoutObject*); | 2179 void showTree(const blink::LayoutObject*); |
2180 void showLineTree(const blink::LayoutObject*); | 2180 void showLineTree(const blink::LayoutObject*); |
2181 void showLayoutTree(const blink::LayoutObject* object1); | 2181 void showLayoutTree(const blink::LayoutObject* object1); |
2182 // We don't make object2 an optional parameter so that showLayoutTree | 2182 // We don't make object2 an optional parameter so that showLayoutTree |
2183 // can be called from gdb easily. | 2183 // can be called from gdb easily. |
2184 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2184 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2185 | 2185 |
2186 #endif | 2186 #endif |
2187 | 2187 |
2188 #endif // LayoutObject_h | 2188 #endif // LayoutObject_h |
OLD | NEW |