| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 void willBeDestroyed() override; | 114 void willBeDestroyed() override; |
| 115 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 115 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
| 116 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; | 116 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; |
| 117 void addChild(LayoutObject* child, | 117 void addChild(LayoutObject* child, |
| 118 LayoutObject* beforeChild = nullptr) override; | 118 LayoutObject* beforeChild = nullptr) override; |
| 119 void removeChild(LayoutObject*) override; | 119 void removeChild(LayoutObject*) override; |
| 120 | 120 |
| 121 void insertedIntoTree() override; | 121 void insertedIntoTree() override; |
| 122 void willBeRemovedFromTree() override; | 122 void willBeRemovedFromTree() override; |
| 123 | 123 |
| 124 const AffineTransform& localToSVGParentTransform() const override; | 124 AffineTransform localToSVGParentTransform() const override; |
| 125 | 125 |
| 126 FloatRect objectBoundingBox() const override { return m_objectBoundingBox; } | 126 FloatRect objectBoundingBox() const override { return m_objectBoundingBox; } |
| 127 FloatRect strokeBoundingBox() const override { return m_strokeBoundingBox; } | 127 FloatRect strokeBoundingBox() const override { return m_strokeBoundingBox; } |
| 128 FloatRect visualRectInLocalSVGCoordinates() const override { | 128 FloatRect visualRectInLocalSVGCoordinates() const override { |
| 129 return m_visualRectInLocalSVGCoordinates; | 129 return m_visualRectInLocalSVGCoordinates; |
| 130 } | 130 } |
| 131 | 131 |
| 132 bool nodeAtPoint(HitTestResult&, | 132 bool nodeAtPoint(HitTestResult&, |
| 133 const HitTestLocation& locationInContainer, | 133 const HitTestLocation& locationInContainer, |
| 134 const LayoutPoint& accumulatedOffset, | 134 const LayoutPoint& accumulatedOffset, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 158 void buildLocalToBorderBoxTransform(); | 158 void buildLocalToBorderBoxTransform(); |
| 159 | 159 |
| 160 PositionWithAffinity positionForPoint(const LayoutPoint&) final; | 160 PositionWithAffinity positionForPoint(const LayoutPoint&) final; |
| 161 | 161 |
| 162 LayoutObjectChildList m_children; | 162 LayoutObjectChildList m_children; |
| 163 IntSize m_containerSize; | 163 IntSize m_containerSize; |
| 164 FloatRect m_objectBoundingBox; | 164 FloatRect m_objectBoundingBox; |
| 165 bool m_objectBoundingBoxValid; | 165 bool m_objectBoundingBoxValid; |
| 166 FloatRect m_strokeBoundingBox; | 166 FloatRect m_strokeBoundingBox; |
| 167 FloatRect m_visualRectInLocalSVGCoordinates; | 167 FloatRect m_visualRectInLocalSVGCoordinates; |
| 168 mutable AffineTransform m_localToParentTransform; | |
| 169 AffineTransform m_localToBorderBoxTransform; | 168 AffineTransform m_localToBorderBoxTransform; |
| 170 bool m_isLayoutSizeChanged : 1; | 169 bool m_isLayoutSizeChanged : 1; |
| 171 bool m_didScreenScaleFactorChange : 1; | 170 bool m_didScreenScaleFactorChange : 1; |
| 172 bool m_needsBoundariesOrTransformUpdate : 1; | 171 bool m_needsBoundariesOrTransformUpdate : 1; |
| 173 bool m_hasBoxDecorationBackground : 1; | 172 bool m_hasBoxDecorationBackground : 1; |
| 174 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 173 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 175 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 174 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 176 }; | 175 }; |
| 177 | 176 |
| 178 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); | 177 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); |
| 179 | 178 |
| 180 } // namespace blink | 179 } // namespace blink |
| 181 | 180 |
| 182 #endif // LayoutSVGRoot_h | 181 #endif // LayoutSVGRoot_h |
| OLD | NEW |