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 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1076 | 1076 |
1077 void invalidatePaintIncludingNonCompositingDescendants(); | 1077 void invalidatePaintIncludingNonCompositingDescendants(); |
1078 void invalidatePaintIncludingNonSelfPaintingLayerDescendants(const LayoutBox ModelObject& paintInvalidationContainer); | 1078 void invalidatePaintIncludingNonSelfPaintingLayerDescendants(const LayoutBox ModelObject& paintInvalidationContainer); |
1079 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); | 1079 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
1080 | 1080 |
1081 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's | 1081 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's |
1082 // coordinate space. This method deals with outlines and overflow. | 1082 // coordinate space. This method deals with outlines and overflow. |
1083 virtual LayoutRect absoluteClippedOverflowRect() const; | 1083 virtual LayoutRect absoluteClippedOverflowRect() const; |
1084 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const; | 1084 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const; |
1085 | 1085 |
1086 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of | 1086 // Given a rect in the object's coordinate space, compute a rect suitable fo r invalidating paints of that |
1087 // that rect in the coordinate space of paintInvalidationContainer. | 1087 // rect in the coordinate space of paintInvalidationContainer. If intermedi ate containers have overflow |
chrishtr
2015/12/10 19:17:13
clipping or scrolling of any kind
szager1
2015/12/10 20:25:09
Done.
| |
1088 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const; | 1088 // clipping, it is applied; but overflow clipping is *not* applied for paint InvalidationContainer itself. |
chrishtr
2015/12/10 19:17:13
But the scroll offset of paintInvalidationContaine
szager1
2015/12/10 20:25:09
Isn't that redundant? The method name already ind
chrishtr
2015/12/10 21:19:40
I guess. Seems harmless to me but ok.
| |
1089 virtual void visibleRectInContainerSpace(const LayoutBoxModelObject* paintIn validationContainer, LayoutRect&, const PaintInvalidationState*) const; | |
chrishtr
2015/12/10 19:13:35
s/paintInvalidationContainer/container/
Since thi
szager1
2015/12/10 20:25:09
Done.
| |
1089 | 1090 |
1090 // Return the offset to the column in which the specified point (in flow-thr ead coordinates) | 1091 // Return the offset to the column in which the specified point (in flow-thr ead coordinates) |
1091 // lives. This is used to convert a flow-thread point to a visual point. | 1092 // lives. This is used to convert a flow-thread point to a visual point. |
1092 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz e(); } | 1093 virtual LayoutSize columnOffset(const LayoutPoint&) const { return LayoutSiz e(); } |
1093 | 1094 |
1094 virtual unsigned length() const { return 1; } | 1095 virtual unsigned length() const { return 1; } |
1095 | 1096 |
1096 bool isFloatingOrOutOfFlowPositioned() const { return (isFloating() || isOut OfFlowPositioned()); } | 1097 bool isFloatingOrOutOfFlowPositioned() const { return (isFloating() || isOut OfFlowPositioned()); } |
1097 | 1098 |
1098 bool isTransparent() const { return style()->hasOpacity(); } | 1099 bool isTransparent() const { return style()->hasOpacity(); } |
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2043 void showTree(const blink::LayoutObject*); | 2044 void showTree(const blink::LayoutObject*); |
2044 void showLineTree(const blink::LayoutObject*); | 2045 void showLineTree(const blink::LayoutObject*); |
2045 void showLayoutTree(const blink::LayoutObject* object1); | 2046 void showLayoutTree(const blink::LayoutObject* object1); |
2046 // We don't make object2 an optional parameter so that showLayoutTree | 2047 // We don't make object2 an optional parameter so that showLayoutTree |
2047 // can be called from gdb easily. | 2048 // can be called from gdb easily. |
2048 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); | 2049 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); |
2049 | 2050 |
2050 #endif | 2051 #endif |
2051 | 2052 |
2052 #endif // LayoutObject_h | 2053 #endif // LayoutObject_h |
OLD | NEW |