| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 virtual LayoutRect absoluteClippedOverflowRect() const override; | 152 virtual LayoutRect absoluteClippedOverflowRect() const override; |
| 153 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr)
const override; | 153 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr)
const override; |
| 154 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO
bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat
ionState* = nullptr) const override final; | 154 virtual LayoutRect rectWithOutlineForPaintInvalidation(const LayoutBoxModelO
bject* paintInvalidationContainer, LayoutUnit outlineWidth, const PaintInvalidat
ionState* = nullptr) const override final; |
| 155 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove
rride final; | 155 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove
rride final; |
| 156 | 156 |
| 157 // This method differs from clippedOverflowRectForPaintInvalidation in that
it includes | 157 // This method differs from clippedOverflowRectForPaintInvalidation in that
it includes |
| 158 // the rects for culled inline boxes, which aren't necessary for paint inval
idation. | 158 // the rects for culled inline boxes, which aren't necessary for paint inval
idation. |
| 159 LayoutRect clippedOverflowRect(const LayoutBoxModelObject*, const PaintInval
idationState* = nullptr) const; | 159 LayoutRect clippedOverflowRect(const LayoutBoxModelObject*, const PaintInval
idationState* = nullptr) const; |
| 160 | 160 |
| 161 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = 0, const PaintInvalidationState* = nullptr) const override; | |
| 162 | |
| 163 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; | 161 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; |
| 164 | 162 |
| 165 virtual IntRect borderBoundingBox() const override final | 163 virtual IntRect borderBoundingBox() const override final |
| 166 { | 164 { |
| 167 IntRect boundingBox = linesBoundingBox(); | 165 IntRect boundingBox = linesBoundingBox(); |
| 168 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); | 166 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); |
| 169 } | 167 } |
| 170 | 168 |
| 171 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby | 169 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby |
| 172 | 170 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 191 | 189 |
| 192 LayoutObjectChildList m_children; | 190 LayoutObjectChildList m_children; |
| 193 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. | 191 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. |
| 194 }; | 192 }; |
| 195 | 193 |
| 196 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 194 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 197 | 195 |
| 198 } // namespace blink | 196 } // namespace blink |
| 199 | 197 |
| 200 #endif // LayoutInline_h | 198 #endif // LayoutInline_h |
| OLD | NEW |