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 20 matching lines...) Expand all Loading... |
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; | 36 virtual LayoutUnit computeReplacedLogicalHeight() const; |
37 | 37 |
38 bool hasReplacedLogicalWidth() const; | 38 bool hasReplacedLogicalWidth() const; |
39 bool hasReplacedLogicalHeight() const; | 39 bool hasReplacedLogicalHeight() const; |
40 | 40 |
41 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE FINAL; | |
42 | |
43 protected: | 41 protected: |
44 virtual void willBeDestroyed(); | 42 virtual void willBeDestroyed(); |
45 | 43 |
46 virtual void layout(); | 44 virtual void layout(); |
47 | 45 |
48 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsic
Size; } | 46 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsic
Size; } |
49 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const; | 47 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const; |
50 | 48 |
51 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE FINAL; | 49 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE FINAL; |
52 | 50 |
(...skipping 30 matching lines...) Expand all Loading... |
83 | 81 |
84 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; | 82 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; |
85 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const; | 83 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const; |
86 | 84 |
87 mutable LayoutSize m_intrinsicSize; | 85 mutable LayoutSize m_intrinsicSize; |
88 }; | 86 }; |
89 | 87 |
90 } | 88 } |
91 | 89 |
92 #endif | 90 #endif |
OLD | NEW |