| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 class RenderReplaced : public RenderBox { | 29 class RenderReplaced : public RenderBox { |
| 30 public: | 30 public: |
| 31 RenderReplaced(Element*); | 31 RenderReplaced(Element*); |
| 32 RenderReplaced(Element*, const LayoutSize& intrinsicSize); | 32 RenderReplaced(Element*, const LayoutSize& intrinsicSize); |
| 33 virtual ~RenderReplaced(); | 33 virtual ~RenderReplaced(); |
| 34 | 34 |
| 35 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const OVERRIDE; | 35 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const OVERRIDE; |
| 36 virtual LayoutUnit computeReplacedLogicalHeight() const OVERRIDE; | 36 virtual LayoutUnit computeReplacedLogicalHeight() const OVERRIDE; |
| 37 | 37 |
| 38 bool hasReplacedLogicalWidth() const; | |
| 39 bool hasReplacedLogicalHeight() const; | 38 bool hasReplacedLogicalHeight() const; |
| 40 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0
) const; | 39 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0
) const; |
| 41 | 40 |
| 42 virtual bool needsPreferredWidthsRecalculation() const OVERRIDE; | 41 virtual bool needsPreferredWidthsRecalculation() const OVERRIDE; |
| 43 | 42 |
| 44 protected: | 43 protected: |
| 45 virtual void willBeDestroyed() OVERRIDE; | 44 virtual void willBeDestroyed() OVERRIDE; |
| 46 | 45 |
| 47 virtual void layout() OVERRIDE; | 46 virtual void layout() OVERRIDE; |
| 48 | 47 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 84 |
| 86 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; |
| 87 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; | 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; |
| 88 | 87 |
| 89 mutable LayoutSize m_intrinsicSize; | 88 mutable LayoutSize m_intrinsicSize; |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 } | 91 } |
| 93 | 92 |
| 94 #endif | 93 #endif |
| OLD | NEW |