| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 BackgroundBleedAvoidance determineBackgroundBleedAvoidance(GraphicsContext*,
const BoxDecorationData&) const; | 514 BackgroundBleedAvoidance determineBackgroundBleedAvoidance(GraphicsContext*,
const BoxDecorationData&) const; |
| 515 bool backgroundHasOpaqueTopLayer() const; | 515 bool backgroundHasOpaqueTopLayer() const; |
| 516 | 516 |
| 517 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; | 517 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; |
| 518 | 518 |
| 519 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; | 519 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; |
| 520 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; | 520 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; |
| 521 | 521 |
| 522 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlock(); } | 522 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlock(); } |
| 523 | 523 |
| 524 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const
PaintInvalidationState* = 0) const override; | 524 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const
override; |
| 525 | 525 |
| 526 void paintRootBoxFillLayers(const PaintInfo&); | 526 void paintRootBoxFillLayers(const PaintInfo&); |
| 527 | 527 |
| 528 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); | 528 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); |
| 529 | 529 |
| 530 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} | 530 void updateIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalH
eight) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight;
} |
| 531 | 531 |
| 532 private: | 532 private: |
| 533 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 533 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 534 | 534 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 if (UNLIKELY(inlineBoxWrapper() != 0)) | 635 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 636 deleteLineBoxWrapper(); | 636 deleteLineBoxWrapper(); |
| 637 } | 637 } |
| 638 | 638 |
| 639 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 639 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 640 } | 640 } |
| 641 | 641 |
| 642 } // namespace blink | 642 } // namespace blink |
| 643 | 643 |
| 644 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 644 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |