| 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 if (isHorizontalWritingMode()) | 585 if (isHorizontalWritingMode()) |
| 586 rect.setY(m_frameRect.height() - rect.maxY()); | 586 rect.setY(m_frameRect.height() - rect.maxY()); |
| 587 else | 587 else |
| 588 rect.setX(m_frameRect.width() - rect.maxX()); | 588 rect.setX(m_frameRect.width() - rect.maxX()); |
| 589 } | 589 } |
| 590 // These represent your location relative to your container as a physical of
fset. | 590 // These represent your location relative to your container as a physical of
fset. |
| 591 // In layout related methods you almost always want the logical location (e.
g. x() and y()). | 591 // In layout related methods you almost always want the logical location (e.
g. x() and y()). |
| 592 LayoutPoint topLeftLocation() const; | 592 LayoutPoint topLeftLocation() const; |
| 593 LayoutSize topLeftLocationOffset() const { return toLayoutSize(topLeftLocati
on()); } | 593 LayoutSize topLeftLocationOffset() const { return toLayoutSize(topLeftLocati
on()); } |
| 594 | 594 |
| 595 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; | 595 LayoutRect logicalVisualOverflowRectForPropagation(const RenderStyle*) const
; |
| 596 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; | 596 LayoutRect visualOverflowRectForPropagation(const RenderStyle*) const; |
| 597 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; | 597 LayoutRect logicalLayoutOverflowRectForPropagation(const RenderStyle*) const
; |
| 598 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; | 598 LayoutRect layoutOverflowRectForPropagation(const RenderStyle*) const; |
| 599 | 599 |
| 600 bool hasRenderOverflow() const { return m_overflow; } | 600 bool hasRenderOverflow() const { return m_overflow; } |
| 601 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } | 601 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } |
| 602 | 602 |
| 603 virtual bool needsPreferredWidthsRecalculation() const; | 603 virtual bool needsPreferredWidthsRecalculation() const; |
| 604 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } | 604 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } |
| 605 | 605 |
| 606 IntSize scrolledContentOffset() const; | 606 IntSize scrolledContentOffset() const; |
| 607 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; | 607 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; |
| 608 | 608 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 if (UNLIKELY(inlineBoxWrapper() != 0)) | 841 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 842 deleteLineBoxWrapper(); | 842 deleteLineBoxWrapper(); |
| 843 } | 843 } |
| 844 | 844 |
| 845 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 845 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 846 } | 846 } |
| 847 | 847 |
| 848 } // namespace blink | 848 } // namespace blink |
| 849 | 849 |
| 850 #endif // RenderBox_h | 850 #endif // RenderBox_h |
| OLD | NEW |