| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 explicit LayoutSVGBlock(SVGElement*); | 31 explicit LayoutSVGBlock(SVGElement*); |
| 32 | 32 |
| 33 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const final; | 33 void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const final; |
| 34 void mapAncestorToLocal(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const final; | 34 void mapAncestorToLocal(const LayoutBoxModelObject* ancestor, TransformState
&, MapCoordinatesFlags = ApplyContainerFlip) const final; |
| 35 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances
torToStopAt, LayoutGeometryMap&) const final; | 35 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances
torToStopAt, LayoutGeometryMap&) const final; |
| 36 | 36 |
| 37 AffineTransform localSVGTransform() const final { return m_localTransform; } | 37 AffineTransform localSVGTransform() const final { return m_localTransform; } |
| 38 | 38 |
| 39 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; } | 39 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; } |
| 40 | 40 |
| 41 void invalidateTreeIfNeeded(const PaintInvalidationState&) override; | |
| 42 | |
| 43 protected: | 41 protected: |
| 44 void willBeDestroyed() override; | 42 void willBeDestroyed() override; |
| 45 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const final; | 43 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const final; |
| 46 | 44 |
| 47 AffineTransform m_localTransform; | 45 AffineTransform m_localTransform; |
| 48 | 46 |
| 49 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVG || LayoutBlockFlow::isOfType(type); } | 47 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectSVG || LayoutBlockFlow::isOfType(type); } |
| 50 private: | 48 private: |
| 51 LayoutRect absoluteClippedOverflowRect() const final; | 49 LayoutRect absoluteClippedOverflowRect() const final; |
| 52 | 50 |
| 53 bool allowsOverflowClip() const final; | 51 bool allowsOverflowClip() const final; |
| 54 | 52 |
| 55 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst final; | 53 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst final; |
| 56 | 54 |
| 57 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; | 55 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; |
| 58 | 56 |
| 59 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; | 57 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 60 }; | 58 }; |
| 61 | 59 |
| 62 } // namespace blink | 60 } // namespace blink |
| 63 #endif // LayoutSVGBlock_h | 61 #endif // LayoutSVGBlock_h |
| OLD | NEW |