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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 | 676 |
677 virtual PaintInvalidationReason paintInvalidationReason(const RenderLayerMod
elObject& paintInvalidationContainer, | 677 virtual PaintInvalidationReason paintInvalidationReason(const RenderLayerMod
elObject& paintInvalidationContainer, |
678 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 678 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
679 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; | 679 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; |
680 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) override; | 680 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) override; |
681 | 681 |
682 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 682 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
683 #if ENABLE(ASSERT) | 683 #if ENABLE(ASSERT) |
684 virtual bool paintInvalidationStateIsDirty() const override; | 684 virtual bool paintInvalidationStateIsDirty() const override; |
685 #endif | 685 #endif |
| 686 bool createsBlockFormattingContext() const; |
686 | 687 |
687 private: | 688 private: |
688 void invalidatePaintRectClippedByOldAndNewBounds(const RenderLayerModelObjec
t& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, c
onst LayoutRect& newBounds); | 689 void invalidatePaintRectClippedByOldAndNewBounds(const RenderLayerModelObjec
t& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, c
onst LayoutRect& newBounds); |
689 | 690 |
690 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 691 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
691 void updateGridPositionAfterStyleChange(const RenderStyle*); | 692 void updateGridPositionAfterStyleChange(const RenderStyle*); |
692 | 693 |
693 bool autoWidthShouldFitContent() const; | 694 bool autoWidthShouldFitContent() const; |
694 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 695 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
695 | 696 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 if (UNLIKELY(inlineBoxWrapper() != 0)) | 805 if (UNLIKELY(inlineBoxWrapper() != 0)) |
805 deleteLineBoxWrapper(); | 806 deleteLineBoxWrapper(); |
806 } | 807 } |
807 | 808 |
808 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 809 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
809 } | 810 } |
810 | 811 |
811 } // namespace blink | 812 } // namespace blink |
812 | 813 |
813 #endif // RenderBox_h | 814 #endif // RenderBox_h |
OLD | NEW |