| 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 // Walk the tree after layout issuing paint invalidations for renderers that
have changed or moved, updating bounds that have changed, and clearing paint in
validation state. | 877 // Walk the tree after layout issuing paint invalidations for renderers that
have changed or moved, updating bounds that have changed, and clearing paint in
validation state. |
| 878 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); | 878 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
| 879 | 879 |
| 880 virtual void invalidatePaintForOverflow(); | 880 virtual void invalidatePaintForOverflow(); |
| 881 void invalidatePaintForOverflowIfNeeded(); | 881 void invalidatePaintForOverflowIfNeeded(); |
| 882 | 882 |
| 883 bool checkForPaintInvalidation() const; | 883 bool checkForPaintInvalidation() const; |
| 884 | 884 |
| 885 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 885 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
| 886 // coordinate space. This method deals with outlines and overflow. | 886 // coordinate space. This method deals with outlines and overflow. |
| 887 LayoutRect absoluteClippedOverflowRect() const; | 887 LayoutRect absoluteClippedOverflowRect() const |
| 888 { |
| 889 return clippedOverflowRectForPaintInvalidation(0); |
| 890 } |
| 888 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; | 891 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; |
| 889 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; | 892 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; |
| 890 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; | 893 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; |
| 891 | 894 |
| 892 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 895 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
| 893 // that rect in the coordinate space of paintInvalidationContainer. | 896 // that rect in the coordinate space of paintInvalidationContainer. |
| 894 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const; | 897 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const; |
| 895 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed = f
alse, const PaintInvalidationState* = 0) const; | 898 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed = f
alse, const PaintInvalidationState* = 0) const; |
| 896 | 899 |
| 897 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) | 900 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 void showTree(const blink::RenderObject*); | 1562 void showTree(const blink::RenderObject*); |
| 1560 void showLineTree(const blink::RenderObject*); | 1563 void showLineTree(const blink::RenderObject*); |
| 1561 void showRenderTree(const blink::RenderObject* object1); | 1564 void showRenderTree(const blink::RenderObject* object1); |
| 1562 // We don't make object2 an optional parameter so that showRenderTree | 1565 // We don't make object2 an optional parameter so that showRenderTree |
| 1563 // can be called from gdb easily. | 1566 // can be called from gdb easily. |
| 1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1567 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1565 | 1568 |
| 1566 #endif | 1569 #endif |
| 1567 | 1570 |
| 1568 #endif // RenderObject_h | 1571 #endif // RenderObject_h |
| OLD | NEW |