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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 void RenderSVGBlock::mapLocalToContainer(const RenderLayerModelObject* repaintCo
ntainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed) co
nst | 89 void RenderSVGBlock::mapLocalToContainer(const RenderLayerModelObject* repaintCo
ntainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed) co
nst |
90 { | 90 { |
91 SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState
, wasFixed); | 91 SVGRenderSupport::mapLocalToContainer(this, repaintContainer, transformState
, wasFixed); |
92 } | 92 } |
93 | 93 |
94 const RenderObject* RenderSVGBlock::pushMappingToContainer(const RenderLayerMode
lObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const | 94 const RenderObject* RenderSVGBlock::pushMappingToContainer(const RenderLayerMode
lObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const |
95 { | 95 { |
96 return SVGRenderSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); | 96 return SVGRenderSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); |
97 } | 97 } |
98 | 98 |
99 LayoutRect RenderSVGBlock::clippedOverflowRectForRepaint(const RenderLayerModelO
bject* repaintContainer) const | 99 LayoutRect RenderSVGBlock::clippedOverflowRectForPaintInvalidation(const RenderL
ayerModelObject* paintInvalidationContainer) const |
100 { | 100 { |
101 return SVGRenderSupport::clippedOverflowRectForRepaint(this, repaintContaine
r); | 101 return SVGRenderSupport::clippedOverflowRectForRepaint(this, paintInvalidati
onContainer); |
102 } | 102 } |
103 | 103 |
104 void RenderSVGBlock::computeFloatRectForRepaint(const RenderLayerModelObject* re
paintContainer, FloatRect& repaintRect, bool fixed) const | 104 void RenderSVGBlock::computeFloatRectForPaintInvalidation(const RenderLayerModel
Object* paintInvalidationContainer, FloatRect& paintInvalidationRect, bool fixed
) const |
105 { | 105 { |
106 SVGRenderSupport::computeFloatRectForRepaint(this, repaintContainer, repaint
Rect, fixed); | 106 SVGRenderSupport::computeFloatRectForRepaint(this, paintInvalidationContaine
r, paintInvalidationRect, fixed); |
107 } | 107 } |
108 | 108 |
109 bool RenderSVGBlock::nodeAtPoint(const HitTestRequest&, HitTestResult&, const Hi
tTestLocation&, const LayoutPoint&, HitTestAction) | 109 bool RenderSVGBlock::nodeAtPoint(const HitTestRequest&, HitTestResult&, const Hi
tTestLocation&, const LayoutPoint&, HitTestAction) |
110 { | 110 { |
111 ASSERT_NOT_REACHED(); | 111 ASSERT_NOT_REACHED(); |
112 return false; | 112 return false; |
113 } | 113 } |
114 | 114 |
115 void RenderSVGBlock::invalidateTreeAfterLayout(const RenderLayerModelObject& pai
ntInvalidationContainer) | 115 void RenderSVGBlock::invalidateTreeAfterLayout(const RenderLayerModelObject& pai
ntInvalidationContainer) |
116 { | 116 { |
117 if (!shouldCheckForPaintInvalidationAfterLayout()) | 117 if (!shouldCheckForPaintInvalidationAfterLayout()) |
118 return; | 118 return; |
119 | 119 |
120 LayoutStateDisabler layoutStateDisabler(*this); | 120 LayoutStateDisabler layoutStateDisabler(*this); |
121 RenderBlockFlow::invalidateTreeAfterLayout(paintInvalidationContainer); | 121 RenderBlockFlow::invalidateTreeAfterLayout(paintInvalidationContainer); |
122 } | 122 } |
123 | 123 |
124 } | 124 } |
OLD | NEW |