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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() | 1081 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() |
1082 { | 1082 { |
1083 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul
lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer(); | 1083 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul
lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer(); |
1084 } | 1084 } |
1085 | 1085 |
1086 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo
de(); } | 1086 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo
de(); } |
1087 | 1087 |
1088 void setNeedsOverflowRecalcAfterStyleChange(); | 1088 void setNeedsOverflowRecalcAfterStyleChange(); |
1089 void markContainingBlocksForOverflowRecalc(); | 1089 void markContainingBlocksForOverflowRecalc(); |
1090 | 1090 |
| 1091 // FIXME: This is temporary for cases that setShouldDoFullPaintInvalidation(
true) doesn't work yet. |
| 1092 void doNotUseInvalidatePaintForWholeRendererSynchronously() const { invalida
tePaintForWholeRenderer(); } |
| 1093 |
1091 protected: | 1094 protected: |
1092 inline bool layerCreationAllowedForSubtree() const; | 1095 inline bool layerCreationAllowedForSubtree() const; |
1093 | 1096 |
1094 // Overrides should call the superclass at the end. m_style will be 0 the fi
rst time | 1097 // Overrides should call the superclass at the end. m_style will be 0 the fi
rst time |
1095 // this function will be called. | 1098 // this function will be called. |
1096 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle); | 1099 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle); |
1097 // Overrides should call the superclass at the start. |oldStyle| will be 0 t
he first | 1100 // Overrides should call the superclass at the start. |oldStyle| will be 0 t
he first |
1098 // time this function is called. | 1101 // time this function is called. |
1099 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 1102 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
1100 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); | 1103 void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false); |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1568 void showTree(const blink::RenderObject*); | 1571 void showTree(const blink::RenderObject*); |
1569 void showLineTree(const blink::RenderObject*); | 1572 void showLineTree(const blink::RenderObject*); |
1570 void showRenderTree(const blink::RenderObject* object1); | 1573 void showRenderTree(const blink::RenderObject* object1); |
1571 // We don't make object2 an optional parameter so that showRenderTree | 1574 // We don't make object2 an optional parameter so that showRenderTree |
1572 // can be called from gdb easily. | 1575 // can be called from gdb easily. |
1573 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1576 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1574 | 1577 |
1575 #endif | 1578 #endif |
1576 | 1579 |
1577 #endif // RenderObject_h | 1580 #endif // RenderObject_h |
OLD | NEW |