| 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; | 631 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container
Rect) const OVERRIDE; |
| 632 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 632 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 633 | 633 |
| 634 private: | 634 private: |
| 635 void updateShapeOutsideInfoAfterStyleChange(const ShapeValue* shapeOutside,
const ShapeValue* oldShapeOutside); | 635 void updateShapeOutsideInfoAfterStyleChange(const ShapeValue* shapeOutside,
const ShapeValue* oldShapeOutside); |
| 636 void updateGridPositionAfterStyleChange(const RenderStyle*); | 636 void updateGridPositionAfterStyleChange(const RenderStyle*); |
| 637 | 637 |
| 638 bool includeVerticalScrollbarSize() const; | 638 bool includeVerticalScrollbarSize() const; |
| 639 bool includeHorizontalScrollbarSize() const; | 639 bool includeHorizontalScrollbarSize() const; |
| 640 | 640 |
| 641 bool autoWidthShouldFitContent() const; |
| 642 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 643 |
| 641 // Returns true if we did a full repaint | 644 // Returns true if we did a full repaint |
| 642 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer
s, bool drawingBackground); | 645 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer
s, bool drawingBackground); |
| 643 | 646 |
| 644 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; | 647 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; |
| 645 | 648 |
| 646 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje
ct* containingBlock, RenderRegion* = 0, bool checkForPerpendicularWritingMode =
true) const; | 649 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje
ct* containingBlock, RenderRegion* = 0, bool checkForPerpendicularWritingMode =
true) const; |
| 647 LayoutUnit containingBlockLogicalHeightForPositioned(const RenderBoxModelObj
ect* containingBlock, bool checkForPerpendicularWritingMode = true) const; | 650 LayoutUnit containingBlockLogicalHeightForPositioned(const RenderBoxModelObj
ect* containingBlock, bool checkForPerpendicularWritingMode = true) const; |
| 648 | 651 |
| 649 LayoutUnit viewLogicalHeightForPercentages() const; | 652 LayoutUnit viewLogicalHeightForPercentages() const; |
| 650 | 653 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 760 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
| 758 deleteLineBoxWrapper(); | 761 deleteLineBoxWrapper(); |
| 759 } | 762 } |
| 760 | 763 |
| 761 m_inlineBoxWrapper = boxWrapper; | 764 m_inlineBoxWrapper = boxWrapper; |
| 762 } | 765 } |
| 763 | 766 |
| 764 } // namespace WebCore | 767 } // namespace WebCore |
| 765 | 768 |
| 766 #endif // RenderBox_h | 769 #endif // RenderBox_h |
| OLD | NEW |