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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 LocalFrame* frame() const { return document().frame(); } | 615 LocalFrame* frame() const { return document().frame(); } |
616 | 616 |
617 virtual LayoutMultiColumnSpannerPlaceholder* spannerPlaceholder() const { re
turn nullptr; } | 617 virtual LayoutMultiColumnSpannerPlaceholder* spannerPlaceholder() const { re
turn nullptr; } |
618 bool isColumnSpanAll() const { return style()->columnSpan() == ColumnSpanAll
&& spannerPlaceholder(); } | 618 bool isColumnSpanAll() const { return style()->columnSpan() == ColumnSpanAll
&& spannerPlaceholder(); } |
619 | 619 |
620 // Returns the object containing this one. Can be different from parent for
positioned elements. | 620 // Returns the object containing this one. Can be different from parent for
positioned elements. |
621 // If paintInvalidationContainer and paintInvalidationContainerSkipped are n
ot null, on return *paintInvalidationContainerSkipped | 621 // If paintInvalidationContainer and paintInvalidationContainerSkipped are n
ot null, on return *paintInvalidationContainerSkipped |
622 // is true if the layoutObject returned is an ancestor of paintInvalidationC
ontainer. | 622 // is true if the layoutObject returned is an ancestor of paintInvalidationC
ontainer. |
623 LayoutObject* container(const LayoutBoxModelObject* paintInvalidationContain
er = nullptr, bool* paintInvalidationContainerSkipped = nullptr) const; | 623 LayoutObject* container(const LayoutBoxModelObject* paintInvalidationContain
er = nullptr, bool* paintInvalidationContainerSkipped = nullptr) const; |
624 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* paintInva
lidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullptr)
const; | 624 LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* paintInva
lidationContainer = nullptr, bool* paintInvalidationContainerSkipped = nullptr)
const; |
| 625 LayoutBlock* containerForAbsolutePosition() const; |
625 | 626 |
626 virtual LayoutObject* hoverAncestor() const { return parent(); } | 627 virtual LayoutObject* hoverAncestor() const { return parent(); } |
627 | 628 |
628 Element* offsetParent() const; | 629 Element* offsetParent() const; |
629 | 630 |
630 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); | 631 void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayout
Scope* = nullptr); |
631 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); | 632 void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = Ma
rkContainerChain, SubtreeLayoutScope* = nullptr); |
632 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); | 633 void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTraci
ng, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr); |
633 void clearNeedsLayout(); | 634 void clearNeedsLayout(); |
634 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); | 635 void setChildNeedsLayout(MarkingBehavior = MarkContainerChain, SubtreeLayout
Scope* = nullptr); |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1660 void showTree(const blink::LayoutObject*); | 1661 void showTree(const blink::LayoutObject*); |
1661 void showLineTree(const blink::LayoutObject*); | 1662 void showLineTree(const blink::LayoutObject*); |
1662 void showLayoutTree(const blink::LayoutObject* object1); | 1663 void showLayoutTree(const blink::LayoutObject* object1); |
1663 // We don't make object2 an optional parameter so that showLayoutTree | 1664 // We don't make object2 an optional parameter so that showLayoutTree |
1664 // can be called from gdb easily. | 1665 // can be called from gdb easily. |
1665 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1666 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
1666 | 1667 |
1667 #endif | 1668 #endif |
1668 | 1669 |
1669 #endif // LayoutObject_h | 1670 #endif // LayoutObject_h |
OLD | NEW |