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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 | 625 |
626 protected: | 626 protected: |
627 virtual void willBeDestroyed() OVERRIDE; | 627 virtual void willBeDestroyed() OVERRIDE; |
628 | 628 |
629 | 629 |
630 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) O
VERRIDE; | 630 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) O
VERRIDE; |
631 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 631 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
632 virtual void updateFromStyle() OVERRIDE; | 632 virtual void updateFromStyle() OVERRIDE; |
633 | 633 |
634 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 634 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
635 bool getBackgroundPaintedExtent(LayoutRect&) const; | 635 // FIXME: make this a const method once the RenderBox reference in BoxPainte
r is const. |
| 636 bool getBackgroundPaintedExtent(LayoutRect&); |
636 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 637 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
637 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; | 638 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; |
638 | 639 |
639 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; | 640 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; |
640 | 641 |
641 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; | 642 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; |
642 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; | 643 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; |
643 | 644 |
644 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } | 645 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } |
645 | 646 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 if (UNLIKELY(inlineBoxWrapper() != 0)) | 782 if (UNLIKELY(inlineBoxWrapper() != 0)) |
782 deleteLineBoxWrapper(); | 783 deleteLineBoxWrapper(); |
783 } | 784 } |
784 | 785 |
785 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 786 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
786 } | 787 } |
787 | 788 |
788 } // namespace blink | 789 } // namespace blink |
789 | 790 |
790 #endif // RenderBox_h | 791 #endif // RenderBox_h |
OLD | NEW |