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