| 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. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1739 MutableForPainting(const LayoutObject& layoutObject) | 1739 MutableForPainting(const LayoutObject& layoutObject) |
| 1740 : m_layoutObject(const_cast<LayoutObject&>(layoutObject)) {} | 1740 : m_layoutObject(const_cast<LayoutObject&>(layoutObject)) {} |
| 1741 | 1741 |
| 1742 LayoutObject& m_layoutObject; | 1742 LayoutObject& m_layoutObject; |
| 1743 }; | 1743 }; |
| 1744 MutableForPainting getMutableForPainting() const { | 1744 MutableForPainting getMutableForPainting() const { |
| 1745 return MutableForPainting(*this); | 1745 return MutableForPainting(*this); |
| 1746 } | 1746 } |
| 1747 | 1747 |
| 1748 void setIsScrollAnchorObject() { m_bitfields.setIsScrollAnchorObject(true); } | 1748 void setIsScrollAnchorObject() { m_bitfields.setIsScrollAnchorObject(true); } |
| 1749 // Clears the IsScrollAnchorObject bit, unless any ScrollAnchor still refers | 1749 |
| 1750 // to us. | 1750 // If unconditionally is true, you are responsible for ensuring that |
| 1751 void maybeClearIsScrollAnchorObject(); | 1751 // no ScrollAnchors reference this LayoutObject. |
| 1752 void clearIsScrollAnchorObject(bool unconditionally = false); |
| 1752 | 1753 |
| 1753 bool scrollAnchorDisablingStyleChanged() { | 1754 bool scrollAnchorDisablingStyleChanged() { |
| 1754 return m_bitfields.scrollAnchorDisablingStyleChanged(); | 1755 return m_bitfields.scrollAnchorDisablingStyleChanged(); |
| 1755 } | 1756 } |
| 1756 void setScrollAnchorDisablingStyleChanged(bool changed) { | 1757 void setScrollAnchorDisablingStyleChanged(bool changed) { |
| 1757 m_bitfields.setScrollAnchorDisablingStyleChanged(changed); | 1758 m_bitfields.setScrollAnchorDisablingStyleChanged(changed); |
| 1758 } | 1759 } |
| 1759 | 1760 |
| 1760 void clearChildNeedsOverflowRecalcAfterStyleChange() { | 1761 void clearChildNeedsOverflowRecalcAfterStyleChange() { |
| 1761 m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false); | 1762 m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false); |
| (...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2596 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2597 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2597 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2598 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2598 // We don't make object2 an optional parameter so that showLayoutTree | 2599 // We don't make object2 an optional parameter so that showLayoutTree |
| 2599 // can be called from gdb easily. | 2600 // can be called from gdb easily. |
| 2600 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2601 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2601 const blink::LayoutObject* object2); | 2602 const blink::LayoutObject* object2); |
| 2602 | 2603 |
| 2603 #endif | 2604 #endif |
| 2604 | 2605 |
| 2605 #endif // LayoutObject_h | 2606 #endif // LayoutObject_h |
| OLD | NEW |