| 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlock(); } | 527 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlock(); } |
| 528 | 528 |
| 529 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const
PaintInvalidationState* = 0) const override; | 529 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const
PaintInvalidationState* = 0) const override; |
| 530 | 530 |
| 531 void paintRootBoxFillLayers(const PaintInfo&); | 531 void paintRootBoxFillLayers(const PaintInfo&); |
| 532 | 532 |
| 533 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); | 533 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); |
| 534 | 534 |
| 535 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} | 535 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} |
| 536 | 536 |
| 537 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, | |
| 538 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | |
| 539 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) override; | |
| 540 | |
| 541 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 537 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
| 542 #if ENABLE(ASSERT) | 538 #if ENABLE(ASSERT) |
| 543 virtual bool paintInvalidationStateIsDirty() const override; | 539 virtual bool paintInvalidationStateIsDirty() const override; |
| 544 #endif | 540 #endif |
| 545 | 541 |
| 546 private: | 542 private: |
| 547 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 543 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 548 | 544 |
| 549 // Returns true if we queued up a paint invalidation. | 545 // Returns true if we queued up a paint invalidation. |
| 550 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 546 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 if (UNLIKELY(inlineBoxWrapper() != 0)) | 650 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 655 deleteLineBoxWrapper(); | 651 deleteLineBoxWrapper(); |
| 656 } | 652 } |
| 657 | 653 |
| 658 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 654 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 659 } | 655 } |
| 660 | 656 |
| 661 } // namespace blink | 657 } // namespace blink |
| 662 | 658 |
| 663 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 659 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |