| 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 void setFloating(bool isFloating) { m_bitfields.setFloating(isFloating); } | 555 void setFloating(bool isFloating) { m_bitfields.setFloating(isFloating); } |
| 556 void setInline(bool isInline) { m_bitfields.setIsInline(isInline); } | 556 void setInline(bool isInline) { m_bitfields.setIsInline(isInline); } |
| 557 | 557 |
| 558 void setHasBoxDecorationBackground(bool); | 558 void setHasBoxDecorationBackground(bool); |
| 559 void invalidateBackgroundObscurationStatus(); | 559 void invalidateBackgroundObscurationStatus(); |
| 560 virtual bool computeBackgroundIsKnownToBeObscured() { return false; } | 560 virtual bool computeBackgroundIsKnownToBeObscured() { return false; } |
| 561 | 561 |
| 562 void setIsText() { m_bitfields.setIsText(true); } | 562 void setIsText() { m_bitfields.setIsText(true); } |
| 563 void setIsBox() { m_bitfields.setIsBox(true); } | 563 void setIsBox() { m_bitfields.setIsBox(true); } |
| 564 void setReplaced(bool isReplaced) { m_bitfields.setIsReplaced(isReplaced); } | 564 void setReplaced(bool isReplaced) { m_bitfields.setIsReplaced(isReplaced); } |
| 565 void setHorizontalWritingMode(bool hasHorizontalWritingMode) { m_bitfields.s
etHorizontalWritingMode(hasHorizontalWritingMode); } | |
| 566 void setHasOverflowClip(bool hasOverflowClip) { m_bitfields.setHasOverflowCl
ip(hasOverflowClip); } | 565 void setHasOverflowClip(bool hasOverflowClip) { m_bitfields.setHasOverflowCl
ip(hasOverflowClip); } |
| 567 void setHasLayer(bool hasLayer) { m_bitfields.setHasLayer(hasLayer); } | 566 void setHasLayer(bool hasLayer) { m_bitfields.setHasLayer(hasLayer); } |
| 568 void setHasTransform(bool hasTransform) { m_bitfields.setHasTransform(hasTra
nsform); } | 567 void setHasTransform(bool hasTransform) { m_bitfields.setHasTransform(hasTra
nsform); } |
| 569 | 568 |
| 570 void scheduleRelayout(); | 569 void scheduleRelayout(); |
| 571 | 570 |
| 572 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); | 571 void updateFillImages(const FillLayer* oldLayers, const FillLayer& newLayers
); |
| 573 void updateImage(StyleImage*, StyleImage*); | 572 void updateImage(StyleImage*, StyleImage*); |
| 574 void updateShapeImage(const ShapeValue*, const ShapeValue*); | 573 void updateShapeImage(const ShapeValue*, const ShapeValue*); |
| 575 | 574 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1057 , m_needsSimplifiedNormalFlowLayout(false) | 1056 , m_needsSimplifiedNormalFlowLayout(false) |
| 1058 , m_preferredLogicalWidthsDirty(false) | 1057 , m_preferredLogicalWidthsDirty(false) |
| 1059 , m_floating(false) | 1058 , m_floating(false) |
| 1060 , m_selfNeedsOverflowRecalcAfterStyleChange(false) | 1059 , m_selfNeedsOverflowRecalcAfterStyleChange(false) |
| 1061 , m_childNeedsOverflowRecalcAfterStyleChange(false) | 1060 , m_childNeedsOverflowRecalcAfterStyleChange(false) |
| 1062 , m_isAnonymous(!node) | 1061 , m_isAnonymous(!node) |
| 1063 , m_isText(false) | 1062 , m_isText(false) |
| 1064 , m_isBox(false) | 1063 , m_isBox(false) |
| 1065 , m_isInline(true) | 1064 , m_isInline(true) |
| 1066 , m_isReplaced(false) | 1065 , m_isReplaced(false) |
| 1067 , m_horizontalWritingMode(true) | |
| 1068 , m_isDragging(false) | 1066 , m_isDragging(false) |
| 1069 , m_hasLayer(false) | 1067 , m_hasLayer(false) |
| 1070 , m_hasOverflowClip(false) | 1068 , m_hasOverflowClip(false) |
| 1071 , m_hasTransform(false) | 1069 , m_hasTransform(false) |
| 1072 , m_everHadLayout(false) | 1070 , m_everHadLayout(false) |
| 1073 , m_ancestorLineBoxDirty(false) | 1071 , m_ancestorLineBoxDirty(false) |
| 1074 , m_layoutDidGetCalled(false) | 1072 , m_layoutDidGetCalled(false) |
| 1075 , m_hasPendingResourceUpdate(false) | 1073 , m_hasPendingResourceUpdate(false) |
| 1076 , m_childrenInline(false) | 1074 , m_childrenInline(false) |
| 1077 , m_hasColumns(false) | 1075 , m_hasColumns(false) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1097 ADD_BOOLEAN_BITFIELD(preferredLogicalWidthsDirty, PreferredLogicalWidths
Dirty); | 1095 ADD_BOOLEAN_BITFIELD(preferredLogicalWidthsDirty, PreferredLogicalWidths
Dirty); |
| 1098 ADD_BOOLEAN_BITFIELD(floating, Floating); | 1096 ADD_BOOLEAN_BITFIELD(floating, Floating); |
| 1099 ADD_BOOLEAN_BITFIELD(selfNeedsOverflowRecalcAfterStyleChange, SelfNeedsO
verflowRecalcAfterStyleChange); | 1097 ADD_BOOLEAN_BITFIELD(selfNeedsOverflowRecalcAfterStyleChange, SelfNeedsO
verflowRecalcAfterStyleChange); |
| 1100 ADD_BOOLEAN_BITFIELD(childNeedsOverflowRecalcAfterStyleChange, ChildNeed
sOverflowRecalcAfterStyleChange); | 1098 ADD_BOOLEAN_BITFIELD(childNeedsOverflowRecalcAfterStyleChange, ChildNeed
sOverflowRecalcAfterStyleChange); |
| 1101 | 1099 |
| 1102 ADD_BOOLEAN_BITFIELD(isAnonymous, IsAnonymous); | 1100 ADD_BOOLEAN_BITFIELD(isAnonymous, IsAnonymous); |
| 1103 ADD_BOOLEAN_BITFIELD(isText, IsText); | 1101 ADD_BOOLEAN_BITFIELD(isText, IsText); |
| 1104 ADD_BOOLEAN_BITFIELD(isBox, IsBox); | 1102 ADD_BOOLEAN_BITFIELD(isBox, IsBox); |
| 1105 ADD_BOOLEAN_BITFIELD(isInline, IsInline); | 1103 ADD_BOOLEAN_BITFIELD(isInline, IsInline); |
| 1106 ADD_BOOLEAN_BITFIELD(isReplaced, IsReplaced); | 1104 ADD_BOOLEAN_BITFIELD(isReplaced, IsReplaced); |
| 1107 ADD_BOOLEAN_BITFIELD(horizontalWritingMode, HorizontalWritingMode); | |
| 1108 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging); | 1105 ADD_BOOLEAN_BITFIELD(isDragging, IsDragging); |
| 1109 | 1106 |
| 1110 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer); | 1107 ADD_BOOLEAN_BITFIELD(hasLayer, HasLayer); |
| 1111 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca
se of overflow:auto/scroll/hidden | 1108 ADD_BOOLEAN_BITFIELD(hasOverflowClip, HasOverflowClip); // Set in the ca
se of overflow:auto/scroll/hidden |
| 1112 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform); | 1109 ADD_BOOLEAN_BITFIELD(hasTransform, HasTransform); |
| 1113 | 1110 |
| 1114 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout); | 1111 ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout); |
| 1115 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty); | 1112 ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty); |
| 1116 | 1113 |
| 1117 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled); | 1114 ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled); |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 void showTree(const blink::RenderObject*); | 1336 void showTree(const blink::RenderObject*); |
| 1340 void showLineTree(const blink::RenderObject*); | 1337 void showLineTree(const blink::RenderObject*); |
| 1341 void showRenderTree(const blink::RenderObject* object1); | 1338 void showRenderTree(const blink::RenderObject* object1); |
| 1342 // We don't make object2 an optional parameter so that showRenderTree | 1339 // We don't make object2 an optional parameter so that showRenderTree |
| 1343 // can be called from gdb easily. | 1340 // can be called from gdb easily. |
| 1344 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1341 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1345 | 1342 |
| 1346 #endif | 1343 #endif |
| 1347 | 1344 |
| 1348 #endif // RenderObject_h | 1345 #endif // RenderObject_h |
| OLD | NEW |