| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual RenderBox* embeddedContentBox() const { return 0; } | 69 virtual RenderBox* embeddedContentBox() const { return 0; } |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 virtual const char* renderName() const OVERRIDE { return "RenderReplaced"; } | 72 virtual const char* renderName() const OVERRIDE { return "RenderReplaced"; } |
| 73 | 73 |
| 74 virtual bool canHaveChildren() const OVERRIDE { return false; } | 74 virtual bool canHaveChildren() const OVERRIDE { return false; } |
| 75 | 75 |
| 76 virtual void computePreferredLogicalWidths() OVERRIDE FINAL; | 76 virtual void computePreferredLogicalWidths() OVERRIDE FINAL; |
| 77 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { } | 77 virtual void paintReplaced(PaintInfo&, const LayoutPoint&) { } |
| 78 | 78 |
| 79 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer) const OVERRIDE; | 79 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t OVERRIDE; |
| 80 | 80 |
| 81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE F
INAL; | 81 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE F
INAL; |
| 82 | 82 |
| 83 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } | 83 virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } |
| 84 | 84 |
| 85 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer, bool clipToVisibleContent = true) OVERRIDE FI
NAL; | 85 virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelO
bject* paintInvalidationContainer, bool clipToVisibleContent = true) OVERRIDE FI
NAL; |
| 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; | 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; |
| 87 | 87 |
| 88 mutable LayoutSize m_intrinsicSize; | 88 mutable LayoutSize m_intrinsicSize; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } | 91 } |
| 92 | 92 |
| 93 #endif | 93 #endif |
| OLD | NEW |