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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); | 484 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); |
485 LayoutRect clipRect(const LayoutPoint& location, RenderRegion*); | 485 LayoutRect clipRect(const LayoutPoint& location, RenderRegion*); |
486 virtual bool hasControlClip() const { return false; } | 486 virtual bool hasControlClip() const { return false; } |
487 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout
Rect(); } | 487 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout
Rect(); } |
488 bool pushContentsClip(PaintInfo&, const LayoutPoint& accumulatedOffset, Cont
entsClipBehavior); | 488 bool pushContentsClip(PaintInfo&, const LayoutPoint& accumulatedOffset, Cont
entsClipBehavior); |
489 void popContentsClip(PaintInfo&, PaintPhase originalPhase, const LayoutPoint
& accumulatedOffset); | 489 void popContentsClip(PaintInfo&, PaintPhase originalPhase, const LayoutPoint
& accumulatedOffset); |
490 | 490 |
491 virtual void paintObject(PaintInfo&, const LayoutPoint&) { ASSERT_NOT_REACHE
D(); } | 491 virtual void paintObject(PaintInfo&, const LayoutPoint&) { ASSERT_NOT_REACHE
D(); } |
492 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&); | 492 virtual void paintBoxDecorations(PaintInfo&, const LayoutPoint&); |
493 virtual void paintMask(PaintInfo&, const LayoutPoint&); | 493 virtual void paintMask(PaintInfo&, const LayoutPoint&); |
| 494 virtual void paintClippingMask(PaintInfo&, const LayoutPoint&); |
494 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); | 495 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); |
495 | 496 |
496 // Called when a positioned object moves but doesn't necessarily change size
. A simplified layout is attempted | 497 // Called when a positioned object moves but doesn't necessarily change size
. A simplified layout is attempted |
497 // that just updates the object's position. If the size does change, the obj
ect remains dirty. | 498 // that just updates the object's position. If the size does change, the obj
ect remains dirty. |
498 bool tryLayoutDoingPositionedMovementOnly() | 499 bool tryLayoutDoingPositionedMovementOnly() |
499 { | 500 { |
500 LayoutUnit oldWidth = width(); | 501 LayoutUnit oldWidth = width(); |
501 updateLogicalWidth(); | 502 updateLogicalWidth(); |
502 // If we shrink to fit our width may have changed, so we still need full
layout. | 503 // If we shrink to fit our width may have changed, so we still need full
layout. |
503 if (oldWidth != width()) | 504 if (oldWidth != width()) |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 762 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
762 deleteLineBoxWrapper(); | 763 deleteLineBoxWrapper(); |
763 } | 764 } |
764 | 765 |
765 m_inlineBoxWrapper = boxWrapper; | 766 m_inlineBoxWrapper = boxWrapper; |
766 } | 767 } |
767 | 768 |
768 } // namespace WebCore | 769 } // namespace WebCore |
769 | 770 |
770 #endif // RenderBox_h | 771 #endif // RenderBox_h |
OLD | NEW |