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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 return paintInvalidationState.forceCheckForPaintInvalidation() || should
CheckForPaintInvalidationRegardlessOfPaintInvalidationState(); | 1041 return paintInvalidationState.forceCheckForPaintInvalidation() || should
CheckForPaintInvalidationRegardlessOfPaintInvalidationState(); |
1042 } | 1042 } |
1043 | 1043 |
1044 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con
st | 1044 bool shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() con
st |
1045 { | 1045 { |
1046 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation()
|| shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); | 1046 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation()
|| shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); |
1047 } | 1047 } |
1048 | 1048 |
1049 bool needsPaint() const { return m_bitfields.needsPaint(); } | 1049 bool needsPaint() const { return m_bitfields.needsPaint(); } |
1050 | 1050 |
1051 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransformRelatedProperty() && !hasReflection() && !style()->isFlipped
BlocksWritingMode(); } | 1051 virtual bool supportsPaintInvalidationStateCachedOffsets() const { return !h
asColumns() && !hasTransformRelatedProperty() && !hasReflection() && !style()->i
sFlippedBlocksWritingMode(); } |
1052 | 1052 |
1053 void setNeedsOverflowRecalcAfterStyleChange(); | 1053 void setNeedsOverflowRecalcAfterStyleChange(); |
1054 void markContainingBlocksForOverflowRecalc(); | 1054 void markContainingBlocksForOverflowRecalc(); |
1055 | 1055 |
1056 virtual LayoutRect viewRect() const; | 1056 virtual LayoutRect viewRect() const; |
1057 | 1057 |
1058 protected: | 1058 protected: |
1059 enum RenderObjectType { | 1059 enum RenderObjectType { |
1060 RenderObjectBr, | 1060 RenderObjectBr, |
1061 RenderObjectCanvas, | 1061 RenderObjectCanvas, |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1616 void showTree(const blink::RenderObject*); | 1616 void showTree(const blink::RenderObject*); |
1617 void showLineTree(const blink::RenderObject*); | 1617 void showLineTree(const blink::RenderObject*); |
1618 void showRenderTree(const blink::RenderObject* object1); | 1618 void showRenderTree(const blink::RenderObject* object1); |
1619 // We don't make object2 an optional parameter so that showRenderTree | 1619 // We don't make object2 an optional parameter so that showRenderTree |
1620 // can be called from gdb easily. | 1620 // can be called from gdb easily. |
1621 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1621 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1622 | 1622 |
1623 #endif | 1623 #endif |
1624 | 1624 |
1625 #endif // RenderObject_h | 1625 #endif // RenderObject_h |
OLD | NEW |