| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 DeprecatedPaintLayerType layerTypeRequired() const override { return isInFlo
wPositioned() || createsGroup() || hasClipPath() || style()->shouldCompositeForC
urrentAnimations() || style()->hasCompositorProxy() ? NormalDeprecatedPaintLayer
: NoDeprecatedPaintLayer; } | 150 DeprecatedPaintLayerType layerTypeRequired() const override { return isInFlo
wPositioned() || createsGroup() || hasClipPath() || style()->shouldCompositeForC
urrentAnimations() || style()->hasCompositorProxy() ? NormalDeprecatedPaintLayer
: NoDeprecatedPaintLayer; } |
| 151 | 151 |
| 152 LayoutUnit offsetLeft() const final; | 152 LayoutUnit offsetLeft() const final; |
| 153 LayoutUnit offsetTop() const final; | 153 LayoutUnit offsetTop() const final; |
| 154 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } | 154 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } |
| 155 LayoutUnit offsetHeight() const final { return linesBoundingBox().height();
} | 155 LayoutUnit offsetHeight() const final { return linesBoundingBox().height();
} |
| 156 | 156 |
| 157 LayoutRect absoluteClippedOverflowRect() const override; | 157 LayoutRect absoluteClippedOverflowRect() const override; |
| 158 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec
t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov
erride; | 158 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec
t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov
erride; |
| 159 LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidationState
* = nullptr) const final; | |
| 160 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const final; | 159 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const final; |
| 161 | 160 |
| 162 // This method differs from clippedOverflowRectForPaintInvalidation in that
it includes | 161 // This method differs from clippedOverflowRectForPaintInvalidation in that
it includes |
| 163 // the rects for culled inline boxes, which aren't necessary for paint inval
idation. | 162 // the rects for culled inline boxes, which aren't necessary for paint inval
idation. |
| 164 LayoutRect clippedOverflowRect(const LayoutBoxModelObject*, const PaintInval
idationState* = nullptr) const; | 163 LayoutRect clippedOverflowRect(const LayoutBoxModelObject*, const PaintInval
idationState* = nullptr) const; |
| 165 | 164 |
| 166 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0, const PaintInvalidationState* = nullptr) const override; | 165 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0, const PaintInvalidationState* = nullptr) const override; |
| 167 | 166 |
| 168 PositionWithAffinity positionForPoint(const LayoutPoint&) final; | 167 PositionWithAffinity positionForPoint(const LayoutPoint&) final; |
| 169 | 168 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 196 | 195 |
| 197 LayoutObjectChildList m_children; | 196 LayoutObjectChildList m_children; |
| 198 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 197 LineBoxList m_lineBoxes; // All of the line boxes created for this inline fl
ow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
| 199 }; | 198 }; |
| 200 | 199 |
| 201 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 200 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 202 | 201 |
| 203 } // namespace blink | 202 } // namespace blink |
| 204 | 203 |
| 205 #endif // LayoutInline_h | 204 #endif // LayoutInline_h |
| OLD | NEW |