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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 | 620 |
621 void markShapeOutsideDependentsForLayout() | 621 void markShapeOutsideDependentsForLayout() |
622 { | 622 { |
623 if (isFloating()) | 623 if (isFloating()) |
624 removeFloatingOrPositionedChildFromBlockLists(); | 624 removeFloatingOrPositionedChildFromBlockLists(); |
625 } | 625 } |
626 | 626 |
627 protected: | 627 protected: |
628 virtual void willBeDestroyed() OVERRIDE; | 628 virtual void willBeDestroyed() OVERRIDE; |
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 LayoutRect backgroundPaintedExtent() const; | 634 LayoutRect backgroundPaintedExtent() const; |
635 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 635 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
636 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; | 636 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; |
637 | 637 |
638 void paintBackgroundWithBorderAndBoxShadow(PaintInfo&, const LayoutRect&, Ba
ckgroundBleedAvoidance); | 638 void paintBackgroundWithBorderAndBoxShadow(PaintInfo&, const LayoutRect&, Ba
ckgroundBleedAvoidance); |
639 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); | 639 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); |
640 | 640 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 if (UNLIKELY(inlineBoxWrapper() != 0)) | 776 if (UNLIKELY(inlineBoxWrapper() != 0)) |
777 deleteLineBoxWrapper(); | 777 deleteLineBoxWrapper(); |
778 } | 778 } |
779 | 779 |
780 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 780 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
781 } | 781 } |
782 | 782 |
783 } // namespace WebCore | 783 } // namespace WebCore |
784 | 784 |
785 #endif // RenderBox_h | 785 #endif // RenderBox_h |
OLD | NEW |