| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 protected: | 44 protected: |
| 45 virtual void willBeDestroyed() OVERRIDE; | 45 virtual void willBeDestroyed() OVERRIDE; |
| 46 | 46 |
| 47 virtual void layout() OVERRIDE; | 47 virtual void layout() OVERRIDE; |
| 48 | 48 |
| 49 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsic
Size; } | 49 virtual LayoutSize intrinsicSize() const OVERRIDE FINAL { return m_intrinsic
Size; } |
| 50 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const OVERRIDE; | 50 virtual void computeIntrinsicRatioInformation(FloatSize& intrinsicSize, doub
le& intrinsicRatio, bool& isPercentageIntrinsicSize) const OVERRIDE; |
| 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 intrinsicContentLogicalHeight() const { return intrinsicL
ogicalHeight(); } |
| 55 |
| 54 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } | 56 virtual LayoutUnit minimumReplacedHeight() const { return LayoutUnit(); } |
| 55 | 57 |
| 56 virtual void setSelectionState(SelectionState) OVERRIDE FINAL; | 58 virtual void setSelectionState(SelectionState) OVERRIDE FINAL; |
| 57 | 59 |
| 58 bool isSelected() const; | 60 bool isSelected() const; |
| 59 | 61 |
| 60 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 62 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
| 61 | 63 |
| 62 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i
ntrinsicSize; } | 64 void setIntrinsicSize(const LayoutSize& intrinsicSize) { m_intrinsicSize = i
ntrinsicSize; } |
| 63 virtual void intrinsicSizeChanged(); | 65 virtual void intrinsicSizeChanged(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 84 | 86 |
| 85 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; | 87 virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* rep
aintContainer, bool clipToVisibleContent = true) OVERRIDE FINAL; |
| 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const; | 88 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constr
ainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const; |
| 87 | 89 |
| 88 mutable LayoutSize m_intrinsicSize; | 90 mutable LayoutSize m_intrinsicSize; |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 } | 93 } |
| 92 | 94 |
| 93 #endif | 95 #endif |
| OLD | NEW |