| 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 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 const LayoutBoxModelObject& containerForPaintInvalidation() const; | 1113 const LayoutBoxModelObject& containerForPaintInvalidation() const; |
| 1114 | 1114 |
| 1115 bool isPaintInvalidationContainer() const; | 1115 bool isPaintInvalidationContainer() const; |
| 1116 | 1116 |
| 1117 // Actually do the paint invalidate of rect r for this object which has been
computed in the coordinate space | 1117 // Actually do the paint invalidate of rect r for this object which has been
computed in the coordinate space |
| 1118 // of the GraphicsLayer backing of |paintInvalidationContainer|. Note that t
his coordinaten space is not the same | 1118 // of the GraphicsLayer backing of |paintInvalidationContainer|. Note that t
his coordinaten space is not the same |
| 1119 // as the local coordinate space of |paintInvalidationContainer| in the pres
ence of layer squashing. | 1119 // as the local coordinate space of |paintInvalidationContainer| in the pres
ence of layer squashing. |
| 1120 void invalidatePaintUsingContainer(const LayoutBoxModelObject& paintInvalida
tionContainer, const LayoutRect&, PaintInvalidationReason) const; | 1120 void invalidatePaintUsingContainer(const LayoutBoxModelObject& paintInvalida
tionContainer, const LayoutRect&, PaintInvalidationReason) const; |
| 1121 | 1121 |
| 1122 // Invalidate the paint of a specific subrectangle within a given object. Th
e rect is in the object's coordinate space. | 1122 // Invalidate the paint of a specific subrectangle within a given object. Th
e rect is in the object's coordinate space. |
| 1123 void invalidatePaintRectangle(const LayoutRect&) const; | 1123 // If a DisplayItemClient is specified, that client is invalidated rather th
an |this|. |
| 1124 void invalidatePaintRectangle(const LayoutRect&, DisplayItemClient* = nullpt
r) const; |
| 1124 | 1125 |
| 1125 // 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. | 1126 // 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. |
| 1126 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); | 1127 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
| 1127 | 1128 |
| 1128 void invalidatePaintIncludingNonCompositingDescendants(); | 1129 void invalidatePaintIncludingNonCompositingDescendants(); |
| 1129 void invalidatePaintIncludingNonSelfPaintingLayerDescendants(const LayoutBox
ModelObject& paintInvalidationContainer); | 1130 void invalidatePaintIncludingNonSelfPaintingLayerDescendants(const LayoutBox
ModelObject& paintInvalidationContainer); |
| 1130 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); | 1131 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
| 1131 | 1132 |
| 1132 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 1133 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
| 1133 // coordinate space. This method deals with outlines and overflow. | 1134 // coordinate space. This method deals with outlines and overflow. |
| (...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2180 void showTree(const blink::LayoutObject*); | 2181 void showTree(const blink::LayoutObject*); |
| 2181 void showLineTree(const blink::LayoutObject*); | 2182 void showLineTree(const blink::LayoutObject*); |
| 2182 void showLayoutTree(const blink::LayoutObject* object1); | 2183 void showLayoutTree(const blink::LayoutObject* object1); |
| 2183 // We don't make object2 an optional parameter so that showLayoutTree | 2184 // We don't make object2 an optional parameter so that showLayoutTree |
| 2184 // can be called from gdb easily. | 2185 // can be called from gdb easily. |
| 2185 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2186 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2186 | 2187 |
| 2187 #endif | 2188 #endif |
| 2188 | 2189 |
| 2189 #endif // LayoutObject_h | 2190 #endif // LayoutObject_h |
| OLD | NEW |