| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 void markShapeOutsideDependentsForLayout() | 644 void markShapeOutsideDependentsForLayout() |
| 645 { | 645 { |
| 646 if (isFloating()) | 646 if (isFloating()) |
| 647 removeFloatingOrPositionedChildFromBlockLists(); | 647 removeFloatingOrPositionedChildFromBlockLists(); |
| 648 } | 648 } |
| 649 | 649 |
| 650 bool backgroundHasOpaqueTopLayer() const; | 650 bool backgroundHasOpaqueTopLayer() const; |
| 651 | 651 |
| 652 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } | 652 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } |
| 653 protected: | 653 protected: |
| 654 virtual void willBeRemovedFromTree() override; | |
| 655 virtual void willBeDestroyed() override; | 654 virtual void willBeDestroyed() override; |
| 656 | 655 |
| 657 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; | 656 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; |
| 658 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 657 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
| 659 virtual void updateFromStyle() override; | 658 virtual void updateFromStyle() override; |
| 660 | 659 |
| 661 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 660 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
| 662 // FIXME: make this a const method once the RenderBox reference in BoxPainte
r is const. | 661 // FIXME: make this a const method once the RenderBox reference in BoxPainte
r is const. |
| 663 bool getBackgroundPaintedExtent(LayoutRect&); | 662 bool getBackgroundPaintedExtent(LayoutRect&); |
| 664 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 663 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 if (UNLIKELY(inlineBoxWrapper() != 0)) | 841 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 843 deleteLineBoxWrapper(); | 842 deleteLineBoxWrapper(); |
| 844 } | 843 } |
| 845 | 844 |
| 846 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 845 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 847 } | 846 } |
| 848 | 847 |
| 849 } // namespace blink | 848 } // namespace blink |
| 850 | 849 |
| 851 #endif // RenderBox_h | 850 #endif // RenderBox_h |
| OLD | NEW |