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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 | 655 |
656 void paintRootBoxFillLayers(const PaintInfo&); | 656 void paintRootBoxFillLayers(const PaintInfo&); |
657 | 657 |
658 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); | 658 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); |
659 | 659 |
660 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; | 660 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; |
661 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 661 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
662 | 662 |
663 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} | 663 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} |
664 | 664 |
665 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object* paintInvalidationContainer, | 665 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, |
666 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 666 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
667 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; | 667 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; |
668 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject* pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
) OVERRIDE; | 668 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
) OVERRIDE; |
669 | 669 |
670 private: | 670 private: |
671 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 671 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
672 void updateGridPositionAfterStyleChange(const RenderStyle*); | 672 void updateGridPositionAfterStyleChange(const RenderStyle*); |
673 | 673 |
674 bool autoWidthShouldFitContent() const; | 674 bool autoWidthShouldFitContent() const; |
675 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 675 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
676 | 676 |
677 // Returns true if we did a full repaint | 677 // Returns true if we did a full repaint |
678 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer
s, bool drawingBackground); | 678 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer
s, bool drawingBackground); |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 if (UNLIKELY(inlineBoxWrapper() != 0)) | 775 if (UNLIKELY(inlineBoxWrapper() != 0)) |
776 deleteLineBoxWrapper(); | 776 deleteLineBoxWrapper(); |
777 } | 777 } |
778 | 778 |
779 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 779 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
780 } | 780 } |
781 | 781 |
782 } // namespace WebCore | 782 } // namespace WebCore |
783 | 783 |
784 #endif // RenderBox_h | 784 #endif // RenderBox_h |
OLD | NEW |