| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 protected: | 67 protected: |
| 68 LayoutObjectChildList* virtualChildren() final { return children(); } | 68 LayoutObjectChildList* virtualChildren() final { return children(); } |
| 69 const LayoutObjectChildList* virtualChildren() const final { | 69 const LayoutObjectChildList* virtualChildren() const final { |
| 70 return children(); | 70 return children(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool isOfType(LayoutObjectType type) const override { | 73 bool isOfType(LayoutObjectType type) const override { |
| 74 return type == LayoutObjectSVGContainer || | 74 return type == LayoutObjectSVGContainer || |
| 75 LayoutSVGModelObject::isOfType(type); | 75 LayoutSVGModelObject::isOfType(type); |
| 76 } | 76 } |
| 77 char objectSize() const override { return sizeof(this); } |
| 78 |
| 77 void layout() override; | 79 void layout() override; |
| 78 | 80 |
| 79 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) final; | 81 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) final; |
| 80 void removeChild(LayoutObject*) final; | 82 void removeChild(LayoutObject*) final; |
| 81 void addOutlineRects(Vector<LayoutRect>&, | 83 void addOutlineRects(Vector<LayoutRect>&, |
| 82 const LayoutPoint& additionalOffset, | 84 const LayoutPoint& additionalOffset, |
| 83 IncludeBlockVisualOverflowOrNot) const final; | 85 IncludeBlockVisualOverflowOrNot) const final; |
| 84 | 86 |
| 85 FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } | 87 FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } |
| 86 | 88 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 107 bool m_didScreenScaleFactorChange : 1; | 109 bool m_didScreenScaleFactorChange : 1; |
| 108 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 110 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 109 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 111 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 110 }; | 112 }; |
| 111 | 113 |
| 112 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); | 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); |
| 113 | 115 |
| 114 } // namespace blink | 116 } // namespace blink |
| 115 | 117 |
| 116 #endif // LayoutSVGContainer_h | 118 #endif // LayoutSVGContainer_h |
| OLD | NEW |