| 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 const LayoutPoint& accumulatedOffset, | 278 const LayoutPoint& accumulatedOffset, |
| 279 HitTestAction) final; | 279 HitTestAction) final; |
| 280 | 280 |
| 281 PaintLayerType layerTypeRequired() const override; | 281 PaintLayerType layerTypeRequired() const override; |
| 282 | 282 |
| 283 LayoutUnit offsetLeft(const Element*) const final; | 283 LayoutUnit offsetLeft(const Element*) const final; |
| 284 LayoutUnit offsetTop(const Element*) const final; | 284 LayoutUnit offsetTop(const Element*) const final; |
| 285 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } | 285 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } |
| 286 LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); } | 286 LayoutUnit offsetHeight() const final { return linesBoundingBox().height(); } |
| 287 | 287 |
| 288 LayoutRect absoluteClippedOverflowRect() const override; | 288 LayoutRect absoluteVisualRect() const override; |
| 289 | 289 |
| 290 // This method differs from visualOverflowRect in that it doesn't include the | 290 // This method differs from visualOverflowRect in that it doesn't include the |
| 291 // rects for culled inline boxes, which aren't necessary for paint | 291 // rects for culled inline boxes, which aren't necessary for paint |
| 292 // invalidation. | 292 // invalidation. |
| 293 LayoutRect localOverflowRectForPaintInvalidation() const override; | 293 LayoutRect localVisualRect() const override; |
| 294 | 294 |
| 295 bool mapToVisualRectInAncestorSpace( | 295 bool mapToVisualRectInAncestorSpace( |
| 296 const LayoutBoxModelObject* ancestor, | 296 const LayoutBoxModelObject* ancestor, |
| 297 LayoutRect&, | 297 LayoutRect&, |
| 298 VisualRectFlags = DefaultVisualRectFlags) const final; | 298 VisualRectFlags = DefaultVisualRectFlags) const final; |
| 299 | 299 |
| 300 PositionWithAffinity positionForPoint(const LayoutPoint&) final; | 300 PositionWithAffinity positionForPoint(const LayoutPoint&) final; |
| 301 | 301 |
| 302 IntRect borderBoundingBox() const final { | 302 IntRect borderBoundingBox() const final { |
| 303 IntRect boundingBox = enclosingIntRect(linesBoundingBox()); | 303 IntRect boundingBox = enclosingIntRect(linesBoundingBox()); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 // All of the line boxes created for this inline flow. For example, | 343 // All of the line boxes created for this inline flow. For example, |
| 344 // <i>Hello<br>world.</i> will have two <i> line boxes. | 344 // <i>Hello<br>world.</i> will have two <i> line boxes. |
| 345 LineBoxList m_lineBoxes; | 345 LineBoxList m_lineBoxes; |
| 346 }; | 346 }; |
| 347 | 347 |
| 348 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); | 348 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutInline, isLayoutInline()); |
| 349 | 349 |
| 350 } // namespace blink | 350 } // namespace blink |
| 351 | 351 |
| 352 #endif // LayoutInline_h | 352 #endif // LayoutInline_h |
| OLD | NEW |