| 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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 // skipped. | 1139 // skipped. |
| 1140 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons
t; | 1140 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons
t; |
| 1141 | 1141 |
| 1142 // Add hit-test rects for this renderer only to the provided list. layerOffs
et is the offset | 1142 // Add hit-test rects for this renderer only to the provided list. layerOffs
et is the offset |
| 1143 // of this renderer within the current layer that should be used for each re
sult. | 1143 // of this renderer within the current layer that should be used for each re
sult. |
| 1144 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const { }; | 1144 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const { }; |
| 1145 | 1145 |
| 1146 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, | 1146 virtual InvalidationReason getPaintInvalidationReason(const RenderLayerModel
Object& paintInvalidationContainer, |
| 1147 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 1147 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 1148 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer); | 1148 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer); |
| 1149 void incrementallyInvalidatePaint(const RenderLayerModelObject& paintInvalid
ationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds); | 1149 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer); |
| 1150 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon
tainer, InvalidationReason, const LayoutRect& oldBounds, const LayoutRect& newBo
unds); | 1150 void fullyInvalidatePaint(const RenderLayerModelObject& paintInvalidationCon
tainer, InvalidationReason, const LayoutRect& oldBounds, const LayoutRect& newBo
unds); |
| 1151 | 1151 |
| 1152 #if ENABLE(ASSERT) | 1152 #if ENABLE(ASSERT) |
| 1153 virtual bool paintInvalidationStateIsDirty() const | 1153 virtual bool paintInvalidationStateIsDirty() const |
| 1154 { | 1154 { |
| 1155 return layoutDidGetCalled() || shouldDoFullPaintInvalidation() || should
DoFullPaintInvalidationIfSelfPaintingLayer() | 1155 return layoutDidGetCalled() || shouldDoFullPaintInvalidation() || should
DoFullPaintInvalidationIfSelfPaintingLayer() |
| 1156 || onlyNeededPositionedMovementLayout() || neededLayoutBecauseOfChil
dren() || mayNeedPaintInvalidation(); | 1156 || onlyNeededPositionedMovementLayout() || neededLayoutBecauseOfChil
dren() || mayNeedPaintInvalidation(); |
| 1157 } | 1157 } |
| 1158 #endif | 1158 #endif |
| 1159 | 1159 |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1571 void showTree(const blink::RenderObject*); | 1571 void showTree(const blink::RenderObject*); |
| 1572 void showLineTree(const blink::RenderObject*); | 1572 void showLineTree(const blink::RenderObject*); |
| 1573 void showRenderTree(const blink::RenderObject* object1); | 1573 void showRenderTree(const blink::RenderObject* object1); |
| 1574 // We don't make object2 an optional parameter so that showRenderTree | 1574 // We don't make object2 an optional parameter so that showRenderTree |
| 1575 // can be called from gdb easily. | 1575 // can be called from gdb easily. |
| 1576 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1576 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1577 | 1577 |
| 1578 #endif | 1578 #endif |
| 1579 | 1579 |
| 1580 #endif // RenderObject_h | 1580 #endif // RenderObject_h |
| OLD | NEW |