| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 | 989 |
| 990 // The previous paint invalidation rect in the object's previous paint backi
ng. | 990 // The previous paint invalidation rect in the object's previous paint backi
ng. |
| 991 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP
aintInvalidationRect; } | 991 const LayoutRect& previousPaintInvalidationRect() const { return m_previousP
aintInvalidationRect; } |
| 992 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa
intInvalidationRect = rect; } | 992 void setPreviousPaintInvalidationRect(const LayoutRect& rect) { m_previousPa
intInvalidationRect = rect; } |
| 993 | 993 |
| 994 // The previous position of the top-left corner of the object in its previou
s paint backing. | 994 // The previous position of the top-left corner of the object in its previou
s paint backing. |
| 995 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re
turn m_previousPositionFromPaintInvalidationBacking; } | 995 const LayoutPoint& previousPositionFromPaintInvalidationBacking() const { re
turn m_previousPositionFromPaintInvalidationBacking; } |
| 996 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi
tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki
ng = positionFromPaintInvalidationBacking; } | 996 void setPreviousPositionFromPaintInvalidationBacking(const LayoutPoint& posi
tionFromPaintInvalidationBacking) { m_previousPositionFromPaintInvalidationBacki
ng = positionFromPaintInvalidationBacking; } |
| 997 | 997 |
| 998 bool shouldDoFullPaintInvalidation() const { return m_bitfields.fullPaintInv
alidationReason() != PaintInvalidationNone; } | 998 bool shouldDoFullPaintInvalidation() const { return m_bitfields.fullPaintInv
alidationReason() != PaintInvalidationNone; } |
| 999 void setShouldDoFullPaintInvalidation() { setShouldDoFullPaintInvalidationWi
thReason(PaintInvalidationFull); } | 999 void setShouldDoFullPaintInvalidation(PaintInvalidationReason = PaintInvalid
ationFull); |
| 1000 void setShouldDoFullPaintInvalidationWithReason(PaintInvalidationReason); | |
| 1001 void clearShouldDoFullPaintInvalidation() { m_bitfields.setFullPaintInvalida
tionReason(PaintInvalidationNone); } | 1000 void clearShouldDoFullPaintInvalidation() { m_bitfields.setFullPaintInvalida
tionReason(PaintInvalidationNone); } |
| 1002 | 1001 |
| 1003 bool shouldInvalidateOverflowForPaint() const { return m_bitfields.shouldInv
alidateOverflowForPaint(); } | 1002 bool shouldInvalidateOverflowForPaint() const { return m_bitfields.shouldInv
alidateOverflowForPaint(); } |
| 1004 | 1003 |
| 1005 virtual void clearPaintInvalidationState(const PaintInvalidationState&); | 1004 virtual void clearPaintInvalidationState(const PaintInvalidationState&); |
| 1006 | 1005 |
| 1007 // Indicates whether this render object was re-laid-out since the last frame
. | 1006 // Indicates whether this render object was re-laid-out since the last frame
. |
| 1008 // The flag will be cleared during invalidateTreeIfNeeded. | 1007 // The flag will be cleared during invalidateTreeIfNeeded. |
| 1009 bool layoutDidGetCalledSinceLastFrame() const { return m_bitfields.layoutDid
GetCalledSinceLastFrame(); } | 1008 bool layoutDidGetCalledSinceLastFrame() const { return m_bitfields.layoutDid
GetCalledSinceLastFrame(); } |
| 1010 | 1009 |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1537 void showTree(const blink::RenderObject*); | 1536 void showTree(const blink::RenderObject*); |
| 1538 void showLineTree(const blink::RenderObject*); | 1537 void showLineTree(const blink::RenderObject*); |
| 1539 void showRenderTree(const blink::RenderObject* object1); | 1538 void showRenderTree(const blink::RenderObject* object1); |
| 1540 // We don't make object2 an optional parameter so that showRenderTree | 1539 // We don't make object2 an optional parameter so that showRenderTree |
| 1541 // can be called from gdb easily. | 1540 // can be called from gdb easily. |
| 1542 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1541 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1543 | 1542 |
| 1544 #endif | 1543 #endif |
| 1545 | 1544 |
| 1546 #endif // RenderObject_h | 1545 #endif // RenderObject_h |
| OLD | NEW |