| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // box-shadows, background-color and background-image, etc. | 352 // box-shadows, background-color and background-image, etc. |
| 353 enum BoxDecorationBackgroundState { | 353 enum BoxDecorationBackgroundState { |
| 354 NoBoxDecorationBackground, | 354 NoBoxDecorationBackground, |
| 355 HasBoxDecorationBackgroundObscurationStatusInvalid, | 355 HasBoxDecorationBackgroundObscurationStatusInvalid, |
| 356 HasBoxDecorationBackgroundKnownToBeObscured, | 356 HasBoxDecorationBackgroundKnownToBeObscured, |
| 357 HasBoxDecorationBackgroundMayBeVisible, | 357 HasBoxDecorationBackgroundMayBeVisible, |
| 358 }; | 358 }; |
| 359 bool hasBoxDecorationBackground() const { return m_bitfields.boxDecorationBa
ckgroundState() != NoBoxDecorationBackground; } | 359 bool hasBoxDecorationBackground() const { return m_bitfields.boxDecorationBa
ckgroundState() != NoBoxDecorationBackground; } |
| 360 bool boxDecorationBackgroundIsKnownToBeObscured(); | 360 bool boxDecorationBackgroundIsKnownToBeObscured(); |
| 361 bool canRenderBorderImage() const; | 361 bool canRenderBorderImage() const; |
| 362 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; | |
| 363 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; | |
| 364 bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) const; | |
| 365 bool mustInvalidateFillLayersPaintOnHeightChange(const FillLayer&) const; | |
| 366 bool hasBackground() const { return style()->hasBackground(); } | 362 bool hasBackground() const { return style()->hasBackground(); } |
| 367 bool hasEntirelyFixedBackground() const; | 363 bool hasEntirelyFixedBackground() const; |
| 368 | 364 |
| 369 bool needsLayoutBecauseOfChildren() const { return needsLayout() && !selfNee
dsLayout() && !needsPositionedMovementLayout() && !needsSimplifiedNormalFlowLayo
ut(); } | 365 bool needsLayoutBecauseOfChildren() const { return needsLayout() && !selfNee
dsLayout() && !needsPositionedMovementLayout() && !needsSimplifiedNormalFlowLayo
ut(); } |
| 370 | 366 |
| 371 bool needsLayout() const | 367 bool needsLayout() const |
| 372 { | 368 { |
| 373 return m_bitfields.selfNeedsLayout() || m_bitfields.normalChildNeedsLayo
ut() || m_bitfields.posChildNeedsLayout() | 369 return m_bitfields.selfNeedsLayout() || m_bitfields.normalChildNeedsLayo
ut() || m_bitfields.posChildNeedsLayout() |
| 374 || m_bitfields.needsSimplifiedNormalFlowLayout() || m_bitfields.need
sPositionedMovementLayout(); | 370 || m_bitfields.needsSimplifiedNormalFlowLayout() || m_bitfields.need
sPositionedMovementLayout(); |
| 375 } | 371 } |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 void showTree(const blink::RenderObject*); | 1013 void showTree(const blink::RenderObject*); |
| 1018 void showLineTree(const blink::RenderObject*); | 1014 void showLineTree(const blink::RenderObject*); |
| 1019 void showRenderTree(const blink::RenderObject* object1); | 1015 void showRenderTree(const blink::RenderObject* object1); |
| 1020 // We don't make object2 an optional parameter so that showRenderTree | 1016 // We don't make object2 an optional parameter so that showRenderTree |
| 1021 // can be called from gdb easily. | 1017 // can be called from gdb easily. |
| 1022 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1018 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1023 | 1019 |
| 1024 #endif | 1020 #endif |
| 1025 | 1021 |
| 1026 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ | 1022 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ |
| OLD | NEW |