OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 } | 90 } |
91 | 91 |
92 void LayoutSVGBlock::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, | 92 void LayoutSVGBlock::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, |
93 TransformState& transformState, | 93 TransformState& transformState, |
94 MapCoordinatesFlags flags) const { | 94 MapCoordinatesFlags flags) const { |
95 SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, flags); | 95 SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, flags); |
96 } | 96 } |
97 | 97 |
98 void LayoutSVGBlock::mapAncestorToLocal(const LayoutBoxModelObject* ancestor, | 98 void LayoutSVGBlock::mapAncestorToLocal(const LayoutBoxModelObject* ancestor, |
99 TransformState& transformState, | 99 TransformState& transformState, |
100 MapCoordinatesFlags) const { | 100 MapCoordinatesFlags flags) const { |
101 if (this == ancestor) | 101 if (this == ancestor) |
102 return; | 102 return; |
103 SVGLayoutSupport::mapAncestorToLocal(*this, ancestor, transformState); | 103 SVGLayoutSupport::mapAncestorToLocal(*this, ancestor, transformState, flags); |
104 } | 104 } |
105 | 105 |
106 const LayoutObject* LayoutSVGBlock::pushMappingToContainer( | 106 const LayoutObject* LayoutSVGBlock::pushMappingToContainer( |
107 const LayoutBoxModelObject* ancestorToStopAt, | 107 const LayoutBoxModelObject* ancestorToStopAt, |
108 LayoutGeometryMap& geometryMap) const { | 108 LayoutGeometryMap& geometryMap) const { |
109 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, | 109 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, |
110 geometryMap); | 110 geometryMap); |
111 } | 111 } |
112 | 112 |
113 LayoutRect LayoutSVGBlock::absoluteClippedOverflowRect() const { | 113 LayoutRect LayoutSVGBlock::absoluteClippedOverflowRect() const { |
(...skipping 11 matching lines...) Expand all Loading... |
125 | 125 |
126 bool LayoutSVGBlock::nodeAtPoint(HitTestResult&, | 126 bool LayoutSVGBlock::nodeAtPoint(HitTestResult&, |
127 const HitTestLocation&, | 127 const HitTestLocation&, |
128 const LayoutPoint&, | 128 const LayoutPoint&, |
129 HitTestAction) { | 129 HitTestAction) { |
130 ASSERT_NOT_REACHED(); | 130 ASSERT_NOT_REACHED(); |
131 return false; | 131 return false; |
132 } | 132 } |
133 | 133 |
134 } // namespace blink | 134 } // namespace blink |
OLD | NEW |