| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov
erride; | 72 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov
erride; |
| 73 | 73 |
| 74 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i
ntrinsicSize; } | 74 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i
ntrinsicSize; } |
| 75 virtual void intrinsicSizeChanged(); | 75 virtual void intrinsicSizeChanged(); |
| 76 | 76 |
| 77 virtual RenderBox* embeddedContentBox() const { return 0; } | 77 virtual RenderBox* embeddedContentBox() const { return 0; } |
| 78 | 78 |
| 79 private: | 79 private: |
| 80 virtual void computePreferredLogicalWidths() override final; | 80 virtual void computePreferredLogicalWidths() override final; |
| 81 | 81 |
| 82 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override; | 82 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo
delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const
override; |
| 83 | 83 |
| 84 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; | 84 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override f
inal; |
| 85 | 85 |
| 86 virtual bool canBeSelectionLeaf() const override { return true; } | 86 virtual bool canBeSelectionLeaf() const override { return true; } |
| 87 | 87 |
| 88 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutLayerModelO
bject* paintInvalidationContainer) const override final; | 88 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObj
ect* paintInvalidationContainer) const override final; |
| 89 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; | 89 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; |
| 90 | 90 |
| 91 mutable LayoutSize m_intrinsicSize; | 91 mutable LayoutSize m_intrinsicSize; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 } | 94 } |
| 95 | 95 |
| 96 #endif | 96 #endif |
| OLD | NEW |