| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2009 Google, Inc. All rights reserved. | 4 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 private: | 72 private: |
| 73 const LayoutObjectChildList* children() const { return &m_children; } | 73 const LayoutObjectChildList* children() const { return &m_children; } |
| 74 LayoutObjectChildList* children() { return &m_children; } | 74 LayoutObjectChildList* children() { return &m_children; } |
| 75 | 75 |
| 76 LayoutObjectChildList* virtualChildren() override { return children(); } | 76 LayoutObjectChildList* virtualChildren() override { return children(); } |
| 77 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } | 77 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } |
| 78 | 78 |
| 79 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVG || type == LayoutObjectSVGRoot || LayoutReplaced::isOfType(type); } | 79 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVG || type == LayoutObjectSVGRoot || LayoutReplaced::isOfType(type); } |
| 80 | 80 |
| 81 LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActu
al) const override; | 81 LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActu
al) const override; |
| 82 LayoutUnit computeReplacedLogicalHeight() const override; | 82 LayoutUnit computeReplacedLogicalHeight(LayoutUnit estimatedUsedWidth = Layo
utUnit()) const override; |
| 83 void layout() override; | 83 void layout() override; |
| 84 void paintReplaced(const PaintInfo&, const LayoutPoint&) const override; | 84 void paintReplaced(const PaintInfo&, const LayoutPoint&) const override; |
| 85 | 85 |
| 86 void willBeDestroyed() override; | 86 void willBeDestroyed() override; |
| 87 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 87 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 88 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; | 88 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; |
| 89 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 89 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
| 90 void removeChild(LayoutObject*) override; | 90 void removeChild(LayoutObject*) override; |
| 91 | 91 |
| 92 void insertedIntoTree() override; | 92 void insertedIntoTree() override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 bool m_hasBoxDecorationBackground : 1; | 128 bool m_hasBoxDecorationBackground : 1; |
| 129 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 129 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 130 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 130 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 131 }; | 131 }; |
| 132 | 132 |
| 133 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); | 133 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // LayoutSVGRoot_h | 137 #endif // LayoutSVGRoot_h |
| OLD | NEW |