| 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 removeFloatingOrPositionedChildFromBlockLists(); | 605 removeFloatingOrPositionedChildFromBlockLists(); |
| 606 } | 606 } |
| 607 | 607 |
| 608 protected: | 608 protected: |
| 609 virtual void willBeDestroyed(); | 609 virtual void willBeDestroyed(); |
| 610 | 610 |
| 611 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 611 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
| 612 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 612 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
| 613 virtual void updateFromStyle() OVERRIDE; | 613 virtual void updateFromStyle() OVERRIDE; |
| 614 | 614 |
| 615 LayoutRect backgroundPaintedExtent() const; | 615 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
| 616 bool getBackgroundPaintedExtent(LayoutRect&) const; |
| 616 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 617 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
| 617 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; | 618 virtual bool computeBackgroundIsKnownToBeObscured() OVERRIDE; |
| 618 | 619 |
| 619 virtual void paintBackgroundWithBorderAndBoxShadow(PaintInfo&, const LayoutR
ect&, BackgroundBleedAvoidance); | 620 virtual void paintBackgroundWithBorderAndBoxShadow(PaintInfo&, const LayoutR
ect&, BackgroundBleedAvoidance); |
| 620 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); | 621 void paintBackground(const PaintInfo&, const LayoutRect&, BackgroundBleedAvo
idance = BackgroundBleedNone); |
| 621 | 622 |
| 622 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, BackgroundBleedAvoidance, CompositeOperator, RenderObject* backgrou
ndObject); | 623 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, BackgroundBleedAvoidance, CompositeOperator, RenderObject* backgrou
ndObject); |
| 623 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, CompositeOperator
= CompositeSourceOver, RenderObject* backgroundObject = 0); | 624 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, const
LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, CompositeOperator
= CompositeSourceOver, RenderObject* backgroundObject = 0); |
| 624 | 625 |
| 625 void paintMaskImages(const PaintInfo&, const LayoutRect&); | 626 void paintMaskImages(const PaintInfo&, const LayoutRect&); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 751 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
| 751 deleteLineBoxWrapper(); | 752 deleteLineBoxWrapper(); |
| 752 } | 753 } |
| 753 | 754 |
| 754 m_inlineBoxWrapper = boxWrapper; | 755 m_inlineBoxWrapper = boxWrapper; |
| 755 } | 756 } |
| 756 | 757 |
| 757 } // namespace WebCore | 758 } // namespace WebCore |
| 758 | 759 |
| 759 #endif // RenderBox_h | 760 #endif // RenderBox_h |
| OLD | NEW |