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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 virtual void invalidatePaintForOverflow(); | 866 virtual void invalidatePaintForOverflow(); |
867 void invalidatePaintForOverflowIfNeeded(); | 867 void invalidatePaintForOverflowIfNeeded(); |
868 | 868 |
869 void invalidatePaintIncludingNonCompositingDescendants(); | 869 void invalidatePaintIncludingNonCompositingDescendants(); |
870 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); | 870 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
871 | 871 |
872 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 872 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
873 // coordinate space. This method deals with outlines and overflow. | 873 // coordinate space. This method deals with outlines and overflow. |
874 virtual LayoutRect absoluteClippedOverflowRect() const; | 874 virtual LayoutRect absoluteClippedOverflowRect() const; |
875 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr)
const; | 875 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr)
const; |
876 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO
bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat
ionState* = nullptr) const; | |
877 | 876 |
878 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 877 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
879 // that rect in the coordinate space of paintInvalidationContainer. | 878 // that rect in the coordinate space of paintInvalidationContainer. |
880 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 879 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; |
881 | 880 |
882 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) | 881 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) |
883 // lives. This is used to convert a flow-thread point to a visual point. | 882 // lives. This is used to convert a flow-thread point to a visual point. |
884 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz
e(); } | 883 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz
e(); } |
885 | 884 |
886 virtual unsigned length() const { return 1; } | 885 virtual unsigned length() const { return 1; } |
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1657 void showTree(const blink::LayoutObject*); | 1656 void showTree(const blink::LayoutObject*); |
1658 void showLineTree(const blink::LayoutObject*); | 1657 void showLineTree(const blink::LayoutObject*); |
1659 void showLayoutTree(const blink::LayoutObject* object1); | 1658 void showLayoutTree(const blink::LayoutObject* object1); |
1660 // We don't make object2 an optional parameter so that showLayoutTree | 1659 // We don't make object2 an optional parameter so that showLayoutTree |
1661 // can be called from gdb easily. | 1660 // can be called from gdb easily. |
1662 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1661 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
1663 | 1662 |
1664 #endif | 1663 #endif |
1665 | 1664 |
1666 #endif // LayoutObject_h | 1665 #endif // LayoutObject_h |
OLD | NEW |