| 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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 void invalidatePaintRectangle(const LayoutRect&) const; | 864 void invalidatePaintRectangle(const LayoutRect&) const; |
| 865 void invalidatePaintRectangleNotInvalidatingDisplayItemClients(const LayoutR
ect& r) const { invalidatePaintRectangleInternal(r); } | 865 void invalidatePaintRectangleNotInvalidatingDisplayItemClients(const LayoutR
ect& r) const { invalidatePaintRectangleInternal(r); } |
| 866 | 866 |
| 867 // Walk the tree after layout issuing paint invalidations for layoutObjects
that have changed or moved, updating bounds that have changed, and clearing pain
t invalidation state. | 867 // Walk the tree after layout issuing paint invalidations for layoutObjects
that have changed or moved, updating bounds that have changed, and clearing pain
t invalidation state. |
| 868 virtual void invalidateTreeIfNeeded(PaintInvalidationState&); | 868 virtual void invalidateTreeIfNeeded(PaintInvalidationState&); |
| 869 | 869 |
| 870 virtual void invalidatePaintForOverflow(); | 870 virtual void invalidatePaintForOverflow(); |
| 871 void invalidatePaintForOverflowIfNeeded(); | 871 void invalidatePaintForOverflowIfNeeded(); |
| 872 | 872 |
| 873 void invalidatePaintIncludingNonCompositingDescendants(); | 873 void invalidatePaintIncludingNonCompositingDescendants(); |
| 874 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
| 874 | 875 |
| 875 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 876 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
| 876 // coordinate space. This method deals with outlines and overflow. | 877 // coordinate space. This method deals with outlines and overflow. |
| 877 virtual LayoutRect absoluteClippedOverflowRect() const; | 878 virtual LayoutRect absoluteClippedOverflowRect() const; |
| 878 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const; | 879 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const; |
| 879 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO
bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat
ionState* = 0) const; | 880 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO
bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat
ionState* = 0) const; |
| 880 | 881 |
| 881 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 882 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
| 882 // that rect in the coordinate space of paintInvalidationContainer. | 883 // that rect in the coordinate space of paintInvalidationContainer. |
| 883 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 884 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 void showTree(const blink::LayoutObject*); | 1663 void showTree(const blink::LayoutObject*); |
| 1663 void showLineTree(const blink::LayoutObject*); | 1664 void showLineTree(const blink::LayoutObject*); |
| 1664 void showLayoutTree(const blink::LayoutObject* object1); | 1665 void showLayoutTree(const blink::LayoutObject* object1); |
| 1665 // We don't make object2 an optional parameter so that showLayoutTree | 1666 // We don't make object2 an optional parameter so that showLayoutTree |
| 1666 // can be called from gdb easily. | 1667 // can be called from gdb easily. |
| 1667 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1668 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1668 | 1669 |
| 1669 #endif | 1670 #endif |
| 1670 | 1671 |
| 1671 #endif // LayoutObject_h | 1672 #endif // LayoutObject_h |
| OLD | NEW |