| 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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); | 1597 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); |
| 1598 | 1598 |
| 1599 void setNeedsOverflowRecalcAfterStyleChange(); | 1599 void setNeedsOverflowRecalcAfterStyleChange(); |
| 1600 | 1600 |
| 1601 void markContainerChainForLayout(bool scheduleRelayout, SubtreeLayoutScope*)
; | 1601 void markContainerChainForLayout(bool scheduleRelayout, SubtreeLayoutScope*)
; |
| 1602 | 1602 |
| 1603 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make
LayoutBox | 1603 // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make
LayoutBox |
| 1604 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. | 1604 // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. |
| 1605 inline void markContainingBlocksForOverflowRecalc(); | 1605 inline void markContainingBlocksForOverflowRecalc(); |
| 1606 | 1606 |
| 1607 inline void markContainerChainForPaintInvalidation(); | 1607 inline void markAncestorsForPaintInvalidation(); |
| 1608 | 1608 |
| 1609 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv
alidationContainer, const PaintInvalidationState&, PaintInvalidationReason); | 1609 inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInv
alidationContainer, const PaintInvalidationState&, PaintInvalidationReason); |
| 1610 | 1610 |
| 1611 inline void invalidateContainerPreferredLogicalWidths(); | 1611 inline void invalidateContainerPreferredLogicalWidths(); |
| 1612 | 1612 |
| 1613 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L
ayoutBoxModelObject& paintInvalidationContainer); | 1613 void invalidatePaintIncludingNonSelfPaintingLayerDescendantsInternal(const L
ayoutBoxModelObject& paintInvalidationContainer); |
| 1614 | 1614 |
| 1615 // The caller should ensure the enclosing layer has been setNeedsRepaint bef
ore calling this function. | 1615 // The caller should ensure the enclosing layer has been setNeedsRepaint bef
ore calling this function. |
| 1616 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje
ct& paintInvalidationContainer, PaintInvalidationReason); | 1616 void invalidatePaintOfPreviousPaintInvalidationRect(const LayoutBoxModelObje
ct& paintInvalidationContainer, PaintInvalidationReason); |
| 1617 | 1617 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1636 void checkBlockPositionedObjectsNeedLayout(); | 1636 void checkBlockPositionedObjectsNeedLayout(); |
| 1637 #endif | 1637 #endif |
| 1638 | 1638 |
| 1639 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot())
; } | 1639 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot())
; } |
| 1640 | 1640 |
| 1641 static bool isAllowedToModifyLayoutTreeStructure(Document&); | 1641 static bool isAllowedToModifyLayoutTreeStructure(Document&); |
| 1642 | 1642 |
| 1643 // The passed rect is mutated into the coordinate space of the paint invalid
ation container. | 1643 // The passed rect is mutated into the coordinate space of the paint invalid
ation container. |
| 1644 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec
t&) const; | 1644 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec
t&) const; |
| 1645 | 1645 |
| 1646 LayoutObject* parentCrossingFrameBoundaries() const; |
| 1647 |
| 1646 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni
t::max(), LayoutUnit::max()); } | 1648 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni
t::max(), LayoutUnit::max()); } |
| 1647 | 1649 |
| 1648 RefPtr<ComputedStyle> m_style; | 1650 RefPtr<ComputedStyle> m_style; |
| 1649 | 1651 |
| 1650 // Oilpan: This untraced pointer to the owning Node is considered safe. | 1652 // Oilpan: This untraced pointer to the owning Node is considered safe. |
| 1651 RawPtrWillBeUntracedMember<Node> m_node; | 1653 RawPtrWillBeUntracedMember<Node> m_node; |
| 1652 | 1654 |
| 1653 LayoutObject* m_parent; | 1655 LayoutObject* m_parent; |
| 1654 LayoutObject* m_previous; | 1656 LayoutObject* m_previous; |
| 1655 LayoutObject* m_next; | 1657 LayoutObject* m_next; |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2164 void showTree(const blink::LayoutObject*); | 2166 void showTree(const blink::LayoutObject*); |
| 2165 void showLineTree(const blink::LayoutObject*); | 2167 void showLineTree(const blink::LayoutObject*); |
| 2166 void showLayoutTree(const blink::LayoutObject* object1); | 2168 void showLayoutTree(const blink::LayoutObject* object1); |
| 2167 // We don't make object2 an optional parameter so that showLayoutTree | 2169 // We don't make object2 an optional parameter so that showLayoutTree |
| 2168 // can be called from gdb easily. | 2170 // can be called from gdb easily. |
| 2169 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2171 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2170 | 2172 |
| 2171 #endif | 2173 #endif |
| 2172 | 2174 |
| 2173 #endif // LayoutObject_h | 2175 #endif // LayoutObject_h |
| OLD | NEW |