| 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 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1660 void checkBlockPositionedObjectsNeedLayout(); | 1660 void checkBlockPositionedObjectsNeedLayout(); |
| 1661 #endif | 1661 #endif |
| 1662 | 1662 |
| 1663 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot())
; } | 1663 bool isTextOrSVGChild() const { return isText() || (isSVG() && !isSVGRoot())
; } |
| 1664 | 1664 |
| 1665 static bool isAllowedToModifyLayoutTreeStructure(Document&); | 1665 static bool isAllowedToModifyLayoutTreeStructure(Document&); |
| 1666 | 1666 |
| 1667 // The passed rect is mutated into the coordinate space of the paint invalid
ation container. | 1667 // The passed rect is mutated into the coordinate space of the paint invalid
ation container. |
| 1668 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec
t&) const; | 1668 const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRec
t&) const; |
| 1669 | 1669 |
| 1670 LayoutObject* parentCrossingFrameBoundaries() const; | 1670 // Returns the parent for paint invalidation. |
| 1671 // - For LayoutView, returns the owner layout object in the containing frame
if any or nullptr; |
| 1672 // - For multi-column spanner, returns the spanner placeholder; |
| 1673 // - Otherwise returns parent(). |
| 1674 LayoutObject* paintInvalidationParent() const; |
| 1671 | 1675 |
| 1672 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni
t::max(), LayoutUnit::max()); } | 1676 static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUni
t::max(), LayoutUnit::max()); } |
| 1673 | 1677 |
| 1674 RefPtr<ComputedStyle> m_style; | 1678 RefPtr<ComputedStyle> m_style; |
| 1675 | 1679 |
| 1676 // Oilpan: This untraced pointer to the owning Node is considered safe. | 1680 // Oilpan: This untraced pointer to the owning Node is considered safe. |
| 1677 UntracedMember<Node> m_node; | 1681 UntracedMember<Node> m_node; |
| 1678 | 1682 |
| 1679 LayoutObject* m_parent; | 1683 LayoutObject* m_parent; |
| 1680 LayoutObject* m_previous; | 1684 LayoutObject* m_previous; |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 void showTree(const blink::LayoutObject*); | 2192 void showTree(const blink::LayoutObject*); |
| 2189 void showLineTree(const blink::LayoutObject*); | 2193 void showLineTree(const blink::LayoutObject*); |
| 2190 void showLayoutTree(const blink::LayoutObject* object1); | 2194 void showLayoutTree(const blink::LayoutObject* object1); |
| 2191 // We don't make object2 an optional parameter so that showLayoutTree | 2195 // We don't make object2 an optional parameter so that showLayoutTree |
| 2192 // can be called from gdb easily. | 2196 // can be called from gdb easily. |
| 2193 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2197 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2194 | 2198 |
| 2195 #endif | 2199 #endif |
| 2196 | 2200 |
| 2197 #endif // LayoutObject_h | 2201 #endif // LayoutObject_h |
| OLD | NEW |