| 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 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1175 // Add hit-test rects for this renderer only to the provided list. layerOffs
et is the offset | 1175 // Add hit-test rects for this renderer only to the provided list. layerOffs
et is the offset |
| 1176 // of this renderer within the current layer that should be used for each re
sult. | 1176 // of this renderer within the current layer that should be used for each re
sult. |
| 1177 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const { }; | 1177 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const { }; |
| 1178 | 1178 |
| 1179 virtual PaintInvalidationReason paintInvalidationReason(const LayoutLayerMod
elObject& paintInvalidationContainer, | 1179 virtual PaintInvalidationReason paintInvalidationReason(const LayoutLayerMod
elObject& paintInvalidationContainer, |
| 1180 const LayoutRect& oldPaintInvalidationRect, const LayoutPoint& oldPositi
onFromPaintInvalidationBacking, | 1180 const LayoutRect& oldPaintInvalidationRect, const LayoutPoint& oldPositi
onFromPaintInvalidationBacking, |
| 1181 const LayoutRect& newPaintInvalidationRect, const LayoutPoint& newPositi
onFromPaintInvalidationBacking) const; | 1181 const LayoutRect& newPaintInvalidationRect, const LayoutPoint& newPositi
onFromPaintInvalidationBacking) const; |
| 1182 virtual void incrementallyInvalidatePaint(const LayoutLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationBacking); | 1182 virtual void incrementallyInvalidatePaint(const LayoutLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationBacking); |
| 1183 void fullyInvalidatePaint(const LayoutLayerModelObject& paintInvalidationCon
tainer, PaintInvalidationReason, const LayoutRect& oldBounds, const LayoutRect&
newBounds); | 1183 void fullyInvalidatePaint(const LayoutLayerModelObject& paintInvalidationCon
tainer, PaintInvalidationReason, const LayoutRect& oldBounds, const LayoutRect&
newBounds); |
| 1184 | 1184 |
| 1185 virtual bool hasNonCompositedScrollbars() const { return false; } |
| 1186 |
| 1185 #if ENABLE(ASSERT) | 1187 #if ENABLE(ASSERT) |
| 1186 virtual bool paintInvalidationStateIsDirty() const | 1188 virtual bool paintInvalidationStateIsDirty() const |
| 1187 { | 1189 { |
| 1188 return neededLayoutBecauseOfChildren() || shouldCheckForPaintInvalidatio
nRegardlessOfPaintInvalidationState(); | 1190 return neededLayoutBecauseOfChildren() || shouldCheckForPaintInvalidatio
nRegardlessOfPaintInvalidationState(); |
| 1189 } | 1191 } |
| 1190 #endif | 1192 #endif |
| 1191 | 1193 |
| 1192 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState); | 1194 virtual void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState&
childPaintInvalidationState); |
| 1193 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const LayoutLayerModelObject& paintInvalidationContainer); | 1195 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const LayoutLayerModelObject& paintInvalidationContainer); |
| 1194 | 1196 |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1632 void showTree(const blink::LayoutObject*); | 1634 void showTree(const blink::LayoutObject*); |
| 1633 void showLineTree(const blink::LayoutObject*); | 1635 void showLineTree(const blink::LayoutObject*); |
| 1634 void showRenderTree(const blink::LayoutObject* object1); | 1636 void showRenderTree(const blink::LayoutObject* object1); |
| 1635 // We don't make object2 an optional parameter so that showRenderTree | 1637 // We don't make object2 an optional parameter so that showRenderTree |
| 1636 // can be called from gdb easily. | 1638 // can be called from gdb easily. |
| 1637 void showRenderTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1639 void showRenderTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1638 | 1640 |
| 1639 #endif | 1641 #endif |
| 1640 | 1642 |
| 1641 #endif // LayoutObject_h | 1643 #endif // LayoutObject_h |
| OLD | NEW |