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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 | 674 |
675 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; | 675 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; |
676 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 676 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
677 | 677 |
678 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} | 678 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} |
679 | 679 |
680 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, | 680 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, |
681 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 681 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
682 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; | 682 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; |
683 | 683 |
| 684 virtual void clearPaintInvalidationState() OVERRIDE; |
| 685 #if ENABLE(ASSERT) |
| 686 virtual bool paintInvalidationStateIsDirty() const OVERRIDE; |
| 687 #endif |
| 688 |
684 private: | 689 private: |
685 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 690 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
686 void updateGridPositionAfterStyleChange(const RenderStyle*); | 691 void updateGridPositionAfterStyleChange(const RenderStyle*); |
687 | 692 |
688 bool autoWidthShouldFitContent() const; | 693 bool autoWidthShouldFitContent() const; |
689 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 694 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
690 | 695 |
691 // Returns true if we did a full repaint | 696 // Returns true if we did a full repaint |
692 bool repaintLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawi
ngBackground); | 697 bool repaintLayerRectsForImage(WrappedImagePtr, const FillLayer&, bool drawi
ngBackground); |
693 | 698 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 if (UNLIKELY(inlineBoxWrapper() != 0)) | 800 if (UNLIKELY(inlineBoxWrapper() != 0)) |
796 deleteLineBoxWrapper(); | 801 deleteLineBoxWrapper(); |
797 } | 802 } |
798 | 803 |
799 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 804 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
800 } | 805 } |
801 | 806 |
802 } // namespace blink | 807 } // namespace blink |
803 | 808 |
804 #endif // RenderBox_h | 809 #endif // RenderBox_h |
OLD | NEW |