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 29 matching lines...) Expand all Loading... |
40 #include "core/rendering/ScrollAlignment.h" | 40 #include "core/rendering/ScrollAlignment.h" |
41 #include "core/rendering/SubtreeLayoutScope.h" | 41 #include "core/rendering/SubtreeLayoutScope.h" |
42 #include "core/rendering/compositing/CompositingState.h" | 42 #include "core/rendering/compositing/CompositingState.h" |
43 #include "core/rendering/compositing/CompositingTriggers.h" | 43 #include "core/rendering/compositing/CompositingTriggers.h" |
44 #include "core/rendering/style/RenderStyle.h" | 44 #include "core/rendering/style/RenderStyle.h" |
45 #include "core/rendering/style/StyleInheritedData.h" | 45 #include "core/rendering/style/StyleInheritedData.h" |
46 #include "platform/geometry/FloatQuad.h" | 46 #include "platform/geometry/FloatQuad.h" |
47 #include "platform/geometry/LayoutRect.h" | 47 #include "platform/geometry/LayoutRect.h" |
48 #include "platform/graphics/CompositingReasons.h" | 48 #include "platform/graphics/CompositingReasons.h" |
49 #include "platform/graphics/PaintInvalidationReason.h" | 49 #include "platform/graphics/PaintInvalidationReason.h" |
50 #include "platform/graphics/paint/DisplayItem.h" | |
51 #include "platform/transforms/TransformationMatrix.h" | 50 #include "platform/transforms/TransformationMatrix.h" |
52 | 51 |
53 namespace blink { | 52 namespace blink { |
54 | 53 |
55 class AffineTransform; | 54 class AffineTransform; |
56 class Cursor; | 55 class Cursor; |
57 class Document; | 56 class Document; |
58 class HitTestLocation; | 57 class HitTestLocation; |
59 class HitTestResult; | 58 class HitTestResult; |
60 class InlineBox; | 59 class InlineBox; |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation()
|| shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); | 1048 return layoutDidGetCalledSinceLastFrame() || mayNeedPaintInvalidation()
|| shouldDoFullPaintInvalidation() || shouldInvalidateSelection(); |
1050 } | 1049 } |
1051 | 1050 |
1052 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransformRelatedProperty() && !hasReflection() && !style()->slowIsFli
ppedBlocksWritingMode(); } | 1051 bool supportsPaintInvalidationStateCachedOffsets() const { return !hasColumn
s() && !hasTransformRelatedProperty() && !hasReflection() && !style()->slowIsFli
ppedBlocksWritingMode(); } |
1053 | 1052 |
1054 void setNeedsOverflowRecalcAfterStyleChange(); | 1053 void setNeedsOverflowRecalcAfterStyleChange(); |
1055 void markContainingBlocksForOverflowRecalc(); | 1054 void markContainingBlocksForOverflowRecalc(); |
1056 | 1055 |
1057 virtual LayoutRect viewRect() const; | 1056 virtual LayoutRect viewRect() const; |
1058 | 1057 |
1059 DisplayItemClient displayItemClient() const { return (void*)this; } | |
1060 | |
1061 protected: | 1058 protected: |
1062 enum RenderObjectType { | 1059 enum RenderObjectType { |
1063 RenderObjectBr, | 1060 RenderObjectBr, |
1064 RenderObjectCanvas, | 1061 RenderObjectCanvas, |
1065 RenderObjectFieldset, | 1062 RenderObjectFieldset, |
1066 RenderObjectCounter, | 1063 RenderObjectCounter, |
1067 RenderObjectDetailsMarker, | 1064 RenderObjectDetailsMarker, |
1068 RenderObjectEmbeddedObject, | 1065 RenderObjectEmbeddedObject, |
1069 RenderObjectFileUploadControl, | 1066 RenderObjectFileUploadControl, |
1070 RenderObjectFrame, | 1067 RenderObjectFrame, |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 void showTree(const blink::RenderObject*); | 1611 void showTree(const blink::RenderObject*); |
1615 void showLineTree(const blink::RenderObject*); | 1612 void showLineTree(const blink::RenderObject*); |
1616 void showRenderTree(const blink::RenderObject* object1); | 1613 void showRenderTree(const blink::RenderObject* object1); |
1617 // We don't make object2 an optional parameter so that showRenderTree | 1614 // We don't make object2 an optional parameter so that showRenderTree |
1618 // can be called from gdb easily. | 1615 // can be called from gdb easily. |
1619 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1616 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1620 | 1617 |
1621 #endif | 1618 #endif |
1622 | 1619 |
1623 #endif // RenderObject_h | 1620 #endif // RenderObject_h |
OLD | NEW |