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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationBacking); | 1095 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationBacking); |
1096 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon
tainer, PaintInvalidationReason, const LayoutRect& oldBounds, const LayoutRect&
newBounds); | 1096 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon
tainer, PaintInvalidationReason, const LayoutRect& oldBounds, const LayoutRect&
newBounds); |
1097 | 1097 |
1098 #if ENABLE(ASSERT) | 1098 #if ENABLE(ASSERT) |
1099 virtual bool paintInvalidationStateIsDirty() const | 1099 virtual bool paintInvalidationStateIsDirty() const |
1100 { | 1100 { |
1101 return neededLayoutBecauseOfChildren() || shouldCheckForPaintInvalidatio
nRegardlessOfPaintInvalidationState(); | 1101 return neededLayoutBecauseOfChildren() || shouldCheckForPaintInvalidatio
nRegardlessOfPaintInvalidationState(); |
1102 } | 1102 } |
1103 #endif | 1103 #endif |
1104 | 1104 |
1105 void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&); | 1105 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState); |
1106 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const RenderLayerModelObject& paintInvalidationContainer); | 1106 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const RenderLayerModelObject& paintInvalidationContainer); |
1107 | 1107 |
1108 private: | 1108 private: |
1109 void setLayoutDidGetCalledSinceLastFrame() | 1109 void setLayoutDidGetCalledSinceLastFrame() |
1110 { | 1110 { |
1111 m_bitfields.setLayoutDidGetCalledSinceLastFrame(true); | 1111 m_bitfields.setLayoutDidGetCalledSinceLastFrame(true); |
1112 | 1112 |
1113 // Make sure our parent is marked as needing invalidation. | 1113 // Make sure our parent is marked as needing invalidation. |
1114 // This would be unneeded if we allowed sub-tree invalidation (akin to s
ub-tree layouts). | 1114 // This would be unneeded if we allowed sub-tree invalidation (akin to s
ub-tree layouts). |
1115 markContainingBlockChainForPaintInvalidation(); | 1115 markContainingBlockChainForPaintInvalidation(); |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 void showTree(const blink::RenderObject*); | 1537 void showTree(const blink::RenderObject*); |
1538 void showLineTree(const blink::RenderObject*); | 1538 void showLineTree(const blink::RenderObject*); |
1539 void showRenderTree(const blink::RenderObject* object1); | 1539 void showRenderTree(const blink::RenderObject* object1); |
1540 // We don't make object2 an optional parameter so that showRenderTree | 1540 // We don't make object2 an optional parameter so that showRenderTree |
1541 // can be called from gdb easily. | 1541 // can be called from gdb easily. |
1542 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1542 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1543 | 1543 |
1544 #endif | 1544 #endif |
1545 | 1545 |
1546 #endif // RenderObject_h | 1546 #endif // RenderObject_h |
OLD | NEW |