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 27 matching lines...) Expand all Loading... |
38 bool hasReplacedLogicalWidth() const; | 38 bool hasReplacedLogicalWidth() const; |
39 bool hasReplacedLogicalHeight() const; | 39 bool hasReplacedLogicalHeight() const; |
40 | 40 |
41 virtual bool needsPreferredWidthsRecalculation() const OVERRIDE; | 41 virtual bool needsPreferredWidthsRecalculation() const OVERRIDE; |
42 | 42 |
43 protected: | 43 protected: |
44 virtual void willBeDestroyed(); | 44 virtual void willBeDestroyed(); |
45 | 45 |
46 virtual void layout(); | 46 virtual void layout(); |
47 | 47 |
48 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsic
Size; } | 48 virtual LayoutSize intrinsicSize() const OVERRIDE { return m_intrinsicSize;
} |
49 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0
) const; | 49 LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = 0
) const; |
50 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const; | 50 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const; |
51 | 51 |
52 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE FINAL; | 52 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE FINAL; |
53 | 53 |
54 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } | 54 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } |
55 | 55 |
56 virtual void setSelectionState(SelectionState) OVERRIDE FINAL; | 56 virtual void setSelectionState(SelectionState) OVERRIDE FINAL; |
57 | 57 |
58 bool isSelected() const; | 58 bool isSelected() const; |
(...skipping 25 matching lines...) Expand all Loading... |
84 | 84 |
85 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; | 85 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; |
86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const; | 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) 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 |