| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } | 78 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } |
| 79 | 79 |
| 80 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectSVG || type == LayoutObjectSVGRoot || LayoutReplaced::isOfType(type
); } | 80 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectSVG || type == LayoutObjectSVGRoot || LayoutReplaced::isOfType(type
); } |
| 81 | 81 |
| 82 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const override; | 82 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const override; |
| 83 virtual LayoutUnit computeReplacedLogicalHeight() const override; | 83 virtual LayoutUnit computeReplacedLogicalHeight() const override; |
| 84 virtual void layout() override; | 84 virtual void layout() override; |
| 85 virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override; | 85 virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override; |
| 86 | 86 |
| 87 virtual void willBeDestroyed() override; | 87 virtual void willBeDestroyed() override; |
| 88 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov
erride; | 88 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; |
| 89 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid
e; | 89 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr
ide; |
| 90 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; | 90 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; |
| 91 virtual void removeChild(LayoutObject*) override; | 91 virtual void removeChild(LayoutObject*) override; |
| 92 | 92 |
| 93 virtual void insertedIntoTree() override; | 93 virtual void insertedIntoTree() override; |
| 94 virtual void willBeRemovedFromTree() override; | 94 virtual void willBeRemovedFromTree() override; |
| 95 | 95 |
| 96 virtual const AffineTransform& localToParentTransform() const override; | 96 virtual const AffineTransform& localToParentTransform() const override; |
| 97 | 97 |
| 98 virtual FloatRect objectBoundingBox() const override { return m_objectBoundi
ngBox; } | 98 virtual FloatRect objectBoundingBox() const override { return m_objectBoundi
ngBox; } |
| 99 virtual FloatRect strokeBoundingBox() const override { return m_strokeBoundi
ngBox; } | 99 virtual FloatRect strokeBoundingBox() const override { return m_strokeBoundi
ngBox; } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 127 bool m_hasBoxDecorationBackground : 1; | 127 bool m_hasBoxDecorationBackground : 1; |
| 128 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 128 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 129 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 129 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); | 132 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); |
| 133 | 133 |
| 134 } // namespace blink | 134 } // namespace blink |
| 135 | 135 |
| 136 #endif // LayoutSVGRoot_h | 136 #endif // LayoutSVGRoot_h |
| OLD | NEW |