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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 void invalidateSelectionIfNeeded(const RenderLayerModelObject&); | 847 void invalidateSelectionIfNeeded(const RenderLayerModelObject&); |
848 | 848 |
849 // 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. | 849 // 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. |
850 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); | 850 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
851 | 851 |
852 virtual void invalidatePaintForOverflow(); | 852 virtual void invalidatePaintForOverflow(); |
853 void invalidatePaintForOverflowIfNeeded(); | 853 void invalidatePaintForOverflowIfNeeded(); |
854 | 854 |
855 void invalidatePaintIncludingNonCompositingDescendants(); | 855 void invalidatePaintIncludingNonCompositingDescendants(); |
856 | 856 |
857 bool checkForPaintInvalidation() const; | |
858 | |
859 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 857 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
860 // coordinate space. This method deals with outlines and overflow. | 858 // coordinate space. This method deals with outlines and overflow. |
861 LayoutRect absoluteClippedOverflowRect() const; | 859 LayoutRect absoluteClippedOverflowRect() const; |
862 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; | 860 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; |
863 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; | 861 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; |
864 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; | 862 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; |
865 | 863 |
866 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 864 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
867 // that rect in the coordinate space of paintInvalidationContainer. | 865 // that rect in the coordinate space of paintInvalidationContainer. |
868 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 866 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 void showTree(const blink::RenderObject*); | 1537 void showTree(const blink::RenderObject*); |
1540 void showLineTree(const blink::RenderObject*); | 1538 void showLineTree(const blink::RenderObject*); |
1541 void showRenderTree(const blink::RenderObject* object1); | 1539 void showRenderTree(const blink::RenderObject* object1); |
1542 // We don't make object2 an optional parameter so that showRenderTree | 1540 // We don't make object2 an optional parameter so that showRenderTree |
1543 // can be called from gdb easily. | 1541 // can be called from gdb easily. |
1544 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1542 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1545 | 1543 |
1546 #endif | 1544 #endif |
1547 | 1545 |
1548 #endif // RenderObject_h | 1546 #endif // RenderObject_h |
OLD | NEW |