| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 RenderBoxRareData& ensureRareData() | 723 RenderBoxRareData& ensureRareData() |
| 724 { | 724 { |
| 725 if (!m_rareData) | 725 if (!m_rareData) |
| 726 m_rareData = adoptPtr(new RenderBoxRareData()); | 726 m_rareData = adoptPtr(new RenderBoxRareData()); |
| 727 return *m_rareData.get(); | 727 return *m_rareData.get(); |
| 728 } | 728 } |
| 729 | 729 |
| 730 void savePreviousBorderBoxSizeIfNeeded(); | 730 void savePreviousBorderBoxSizeIfNeeded(); |
| 731 bool logicalHeightComputesAsNone(SizeType) const; | 731 bool logicalHeightComputesAsNone(SizeType) const; |
| 732 | 732 |
| 733 void invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLaye
rModelObject& newPaintInvalidationContainer); | 733 bool invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLaye
rModelObject& newPaintInvalidationContainer); |
| 734 | 734 |
| 735 bool isBox() const WTF_DELETED_FUNCTION; // This will catch anyone doing an
unnecessary check. | 735 bool isBox() const WTF_DELETED_FUNCTION; // This will catch anyone doing an
unnecessary check. |
| 736 | 736 |
| 737 // The width/height of the contents + borders + padding. The x/y location i
s relative to our container (which is not always our parent). | 737 // The width/height of the contents + borders + padding. The x/y location i
s relative to our container (which is not always our parent). |
| 738 LayoutRect m_frameRect; | 738 LayoutRect m_frameRect; |
| 739 | 739 |
| 740 // Our intrinsic height, used for min-height: min-content etc. Maintained by | 740 // Our intrinsic height, used for min-height: min-content etc. Maintained by |
| 741 // updateLogicalHeight. This is logicalHeight() before it is clamped to | 741 // updateLogicalHeight. This is logicalHeight() before it is clamped to |
| 742 // min/max. | 742 // min/max. |
| 743 mutable LayoutUnit m_intrinsicContentLogicalHeight; | 743 mutable LayoutUnit m_intrinsicContentLogicalHeight; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 if (UNLIKELY(inlineBoxWrapper() != 0)) | 796 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 797 deleteLineBoxWrapper(); | 797 deleteLineBoxWrapper(); |
| 798 } | 798 } |
| 799 | 799 |
| 800 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 800 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 801 } | 801 } |
| 802 | 802 |
| 803 } // namespace blink | 803 } // namespace blink |
| 804 | 804 |
| 805 #endif // RenderBox_h | 805 #endif // RenderBox_h |
| OLD | NEW |