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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void paint(const PaintInfo&, const LayoutPoint&) const override; | 74 void paint(const PaintInfo&, const LayoutPoint&) const override; |
75 | 75 |
76 protected: | 76 protected: |
77 void willBeDestroyed() override; | 77 void willBeDestroyed() override; |
78 | 78 |
79 void layout() override; | 79 void layout() override; |
80 | 80 |
81 LayoutSize intrinsicSize() const final { return m_intrinsicSize; } | 81 LayoutSize intrinsicSize() const final { return m_intrinsicSize; } |
82 void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intr
insicRatio) const override; | 82 void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, double& intr
insicRatio) const override; |
83 | 83 |
| 84 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const overr
ide; |
| 85 void computePositionedLogicalHeight(LogicalExtentComputedValues&) const over
ride; |
| 86 |
84 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; | 87 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; |
85 | 88 |
86 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL
ogicalHeight(); } | 89 virtual LayoutUnit intrinsicContentLogicalHeight() const { return intrinsicL
ogicalHeight(); } |
87 | 90 |
88 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } | 91 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } |
89 | 92 |
90 void setSelectionState(SelectionState) final; | 93 void setSelectionState(SelectionState) final; |
91 | 94 |
92 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 95 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
93 | 96 |
(...skipping 17 matching lines...) Expand all Loading... |
111 | 114 |
112 LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
ntInvalidationContainer) const final; | 115 LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
ntInvalidationContainer) const final; |
113 void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; | 116 void computeAspectRatioInformationForLayoutBox(LayoutBox*, FloatSize& constr
ainedSize, double& intrinsicRatio) const; |
114 | 117 |
115 mutable LayoutSize m_intrinsicSize; | 118 mutable LayoutSize m_intrinsicSize; |
116 }; | 119 }; |
117 | 120 |
118 } | 121 } |
119 | 122 |
120 #endif | 123 #endif |
OLD | NEW |