| 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. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
| 5 * All rights reserved. | 5 * All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } | 288 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } |
| 289 LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); } | 289 LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); } |
| 290 | 290 |
| 291 LayoutRect absoluteVisualRect() const override; | 291 LayoutRect absoluteVisualRect() const override; |
| 292 | 292 |
| 293 // This method differs from visualOverflowRect in that it doesn't include the | 293 // This method differs from visualOverflowRect in that it doesn't include the |
| 294 // rects for culled inline boxes, which aren't necessary for paint | 294 // rects for culled inline boxes, which aren't necessary for paint |
| 295 // invalidation. | 295 // invalidation. |
| 296 LayoutRect localVisualRect() const override; | 296 LayoutRect localVisualRect() const override; |
| 297 | 297 |
| 298 bool mapToVisualRectInAncestorSpace( | 298 bool mapToVisualRectInAncestorSpaceInternal( |
| 299 const LayoutBoxModelObject* ancestor, | 299 const LayoutBoxModelObject* ancestor, |
| 300 LayoutRect&, | 300 TransformState&, |
| 301 VisualRectFlags = DefaultVisualRectFlags) const final; | 301 VisualRectFlags = DefaultVisualRectFlags) const final; |
| 302 | 302 |
| 303 PositionWithAffinity positionForPoint(const LayoutPoint&) final; | 303 PositionWithAffinity positionForPoint(const LayoutPoint&) final; |
| 304 | 304 |
| 305 IntRect borderBoundingBox() const final { | 305 IntRect borderBoundingBox() const final { |
| 306 IntRect boundingBox = enclosingIntRect(linesBoundingBox()); | 306 IntRect boundingBox = enclosingIntRect(linesBoundingBox()); |
| 307 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); | 307 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); |
| 308 } | 308 } |
| 309 | 309 |
| 310 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby | 310 virtual InlineFlowBox* createInlineFlowBox(); // Subclassed by SVG and Ruby |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 // All of the line boxes created for this inline flow. For example, | 346 // All of the line boxes created for this inline flow. For example, |
| 347 // <i>Hello<br>world.</i> will have two <i> line boxes. | 347 // <i>Hello<br>world.</i> will have two <i> line boxes. |
| 348 LineBoxList m_lineBoxes; | 348 LineBoxList m_lineBoxes; |
| 349 }; | 349 }; |
| 350 | 350 |
| 351 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 351 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 352 | 352 |
| 353 } // namespace blink | 353 } // namespace blink |
| 354 | 354 |
| 355 #endif // LayoutInline_h | 355 #endif // LayoutInline_h |
| OLD | NEW |