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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); | 857 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
858 | 858 |
859 virtual void invalidatePaintForOverflow(); | 859 virtual void invalidatePaintForOverflow(); |
860 void invalidatePaintForOverflowIfNeeded(); | 860 void invalidatePaintForOverflowIfNeeded(); |
861 | 861 |
862 void invalidatePaintIncludingNonCompositingDescendants(); | 862 void invalidatePaintIncludingNonCompositingDescendants(); |
863 | 863 |
864 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 864 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
865 // coordinate space. This method deals with outlines and overflow. | 865 // coordinate space. This method deals with outlines and overflow. |
866 LayoutRect absoluteClippedOverflowRect() const; | 866 LayoutRect absoluteClippedOverflowRect() const; |
867 IntRect pixelSnappedAbsoluteClippedOverflowRect() const; | |
868 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; | 867 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; |
869 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; | 868 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; |
870 | 869 |
871 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 870 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
872 // that rect in the coordinate space of paintInvalidationContainer. | 871 // that rect in the coordinate space of paintInvalidationContainer. |
873 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 872 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; |
874 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, const PaintInv
alidationState*) const; | 873 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect& paintInvalidationRect, const PaintInv
alidationState*) const; |
875 | 874 |
876 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) | 875 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) |
877 // lives. This is used to convert a flow-thread point to a visual point. | 876 // lives. This is used to convert a flow-thread point to a visual point. |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1611 void showTree(const blink::RenderObject*); | 1610 void showTree(const blink::RenderObject*); |
1612 void showLineTree(const blink::RenderObject*); | 1611 void showLineTree(const blink::RenderObject*); |
1613 void showRenderTree(const blink::RenderObject* object1); | 1612 void showRenderTree(const blink::RenderObject* object1); |
1614 // We don't make object2 an optional parameter so that showRenderTree | 1613 // We don't make object2 an optional parameter so that showRenderTree |
1615 // can be called from gdb easily. | 1614 // can be called from gdb easily. |
1616 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1615 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1617 | 1616 |
1618 #endif | 1617 #endif |
1619 | 1618 |
1620 #endif // RenderObject_h | 1619 #endif // RenderObject_h |
OLD | NEW |