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 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 // 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. | 862 // 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. |
863 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); | 863 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
864 | 864 |
865 virtual void invalidatePaintForOverflow(); | 865 virtual void invalidatePaintForOverflow(); |
866 void invalidatePaintForOverflowIfNeeded(); | 866 void invalidatePaintForOverflowIfNeeded(); |
867 | 867 |
868 void invalidatePaintIncludingNonCompositingDescendants(); | 868 void invalidatePaintIncludingNonCompositingDescendants(); |
869 | 869 |
870 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's | 870 // Returns the rect that should have paint invalidated whenever this object
changes. The rect is in the view's |
871 // coordinate space. This method deals with outlines and overflow. | 871 // coordinate space. This method deals with outlines and overflow. |
872 LayoutRect absoluteClippedOverflowRect() const; | 872 virtual LayoutRect absoluteClippedOverflowRect() const; |
873 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; | 873 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t; |
874 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; | 874 virtual LayoutRect rectWithOutlineForPaintInvalidation(const RenderLayerMode
lObject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalid
ationState* = 0) const; |
875 | 875 |
876 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of | 876 // Given a rect in the object's coordinate space, compute a rect suitable fo
r invalidating paints of |
877 // that rect in the coordinate space of paintInvalidationContainer. | 877 // that rect in the coordinate space of paintInvalidationContainer. |
878 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 878 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; |
879 | 879 |
880 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) | 880 // Return the offset to the column in which the specified point (in flow-thr
ead coordinates) |
881 // lives. This is used to convert a flow-thread point to a visual point. | 881 // lives. This is used to convert a flow-thread point to a visual point. |
882 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz
e(); } | 882 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz
e(); } |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1620 void showTree(const blink::RenderObject*); | 1620 void showTree(const blink::RenderObject*); |
1621 void showLineTree(const blink::RenderObject*); | 1621 void showLineTree(const blink::RenderObject*); |
1622 void showRenderTree(const blink::RenderObject* object1); | 1622 void showRenderTree(const blink::RenderObject* object1); |
1623 // We don't make object2 an optional parameter so that showRenderTree | 1623 // We don't make object2 an optional parameter so that showRenderTree |
1624 // can be called from gdb easily. | 1624 // can be called from gdb easily. |
1625 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1625 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1626 | 1626 |
1627 #endif | 1627 #endif |
1628 | 1628 |
1629 #endif // RenderObject_h | 1629 #endif // RenderObject_h |
OLD | NEW |