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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1072 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() | 1072 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() |
1073 { | 1073 { |
1074 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul
lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer(); | 1074 return layoutDidGetCalled() || mayNeedPaintInvalidation() || shouldDoFul
lPaintInvalidation() || shouldDoFullPaintInvalidationIfSelfPaintingLayer(); |
1075 } | 1075 } |
1076 | 1076 |
1077 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo
de(); } | 1077 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransform() && !hasReflection() && !style()->isFlippedBlocksWritingMo
de(); } |
1078 | 1078 |
1079 void setNeedsOverflowRecalcAfterStyleChange(); | 1079 void setNeedsOverflowRecalcAfterStyleChange(); |
1080 void markContainingBlocksForOverflowRecalc(); | 1080 void markContainingBlocksForOverflowRecalc(); |
1081 | 1081 |
1082 // FIXME: This is temporary for cases that setShouldDoFullPaintInvalidation(
true) doesn't work yet. | |
1083 void doNotUseInvalidatePaintForWholeRendererSynchronously() const { invalida
tePaintForWholeRenderer(); } | |
1084 virtual LayoutRect viewRect() const; | 1082 virtual LayoutRect viewRect() const; |
1085 | 1083 |
1086 // FIXME: make this not public. | 1084 // FIXME: make this not public. |
1087 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo
xSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); | 1085 void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, Bo
xSide, Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); |
1088 | 1086 |
1089 protected: | 1087 protected: |
1090 inline bool layerCreationAllowedForSubtree() const; | 1088 inline bool layerCreationAllowedForSubtree() const; |
1091 | 1089 |
1092 // Overrides should call the superclass at the end. m_style will be 0 the fi
rst time | 1090 // Overrides should call the superclass at the end. m_style will be 0 the fi
rst time |
1093 // this function will be called. | 1091 // this function will be called. |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 void showTree(const blink::RenderObject*); | 1570 void showTree(const blink::RenderObject*); |
1573 void showLineTree(const blink::RenderObject*); | 1571 void showLineTree(const blink::RenderObject*); |
1574 void showRenderTree(const blink::RenderObject* object1); | 1572 void showRenderTree(const blink::RenderObject* object1); |
1575 // We don't make object2 an optional parameter so that showRenderTree | 1573 // We don't make object2 an optional parameter so that showRenderTree |
1576 // can be called from gdb easily. | 1574 // can be called from gdb easily. |
1577 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1575 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1578 | 1576 |
1579 #endif | 1577 #endif |
1580 | 1578 |
1581 #endif // RenderObject_h | 1579 #endif // RenderObject_h |
OLD | NEW |