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 } | |
891 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; | 888 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; |
892 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; | 889 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; |
893 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; | 890 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; |
894 | 891 |
895 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 892 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
896 // that rect in the coordinate space of paintInvalidationContainer. | 893 // that rect in the coordinate space of paintInvalidationContainer. |
897 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const; | 894 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, bool fixed = false, const PaintInvalid
ationState* = 0) const; |
898 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed = f
alse, const PaintInvalidationState* = 0) const; | 895 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed = f
alse, const PaintInvalidationState* = 0) const; |
899 | 896 |
900 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) | 897 // 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... |
1562 void showTree(const blink::RenderObject*); | 1559 void showTree(const blink::RenderObject*); |
1563 void showLineTree(const blink::RenderObject*); | 1560 void showLineTree(const blink::RenderObject*); |
1564 void showRenderTree(const blink::RenderObject* object1); | 1561 void showRenderTree(const blink::RenderObject* object1); |
1565 // We don't make object2 an optional parameter so that showRenderTree | 1562 // We don't make object2 an optional parameter so that showRenderTree |
1566 // can be called from gdb easily. | 1563 // can be called from gdb easily. |
1567 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1568 | 1565 |
1569 #endif | 1566 #endif |
1570 | 1567 |
1571 #endif // RenderObject_h | 1568 #endif // RenderObject_h |
OLD | NEW |