| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 virtual void willBeRemovedFromTree() OVERRIDE; | 86 virtual void willBeRemovedFromTree() OVERRIDE; |
| 87 | 87 |
| 88 virtual const AffineTransform& localToParentTransform() const OVERRIDE; | 88 virtual const AffineTransform& localToParentTransform() const OVERRIDE; |
| 89 | 89 |
| 90 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundi
ngBox; } | 90 virtual FloatRect objectBoundingBox() const OVERRIDE { return m_objectBoundi
ngBox; } |
| 91 virtual FloatRect strokeBoundingBox() const OVERRIDE { return m_strokeBoundi
ngBox; } | 91 virtual FloatRect strokeBoundingBox() const OVERRIDE { return m_strokeBoundi
ngBox; } |
| 92 virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE { return m_
repaintBoundingBox; } | 92 virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE { return m_
repaintBoundingBox; } |
| 93 | 93 |
| 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; | 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; |
| 95 | 95 |
| 96 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE; | |
| 97 virtual void computeFloatRectForRepaint(const RenderLayerModelObject* repain
tContainer, FloatRect& repaintRect, bool fixed) const OVERRIDE; | 96 virtual void computeFloatRectForRepaint(const RenderLayerModelObject* repain
tContainer, FloatRect& repaintRect, bool fixed) const OVERRIDE; |
| 98 | 97 |
| 99 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 98 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; |
| 100 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 99 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 101 | 100 |
| 102 virtual bool canBeSelectionLeaf() const OVERRIDE { return false; } | 101 virtual bool canBeSelectionLeaf() const OVERRIDE { return false; } |
| 103 virtual bool canHaveChildren() const OVERRIDE { return true; } | 102 virtual bool canHaveChildren() const OVERRIDE { return true; } |
| 104 | 103 |
| 105 void updateCachedBoundaries(); | 104 void updateCachedBoundaries(); |
| 106 void buildLocalToBorderBoxTransform(); | 105 void buildLocalToBorderBoxTransform(); |
| 107 | 106 |
| 108 RenderObjectChildList m_children; | 107 RenderObjectChildList m_children; |
| 109 IntSize m_containerSize; | 108 IntSize m_containerSize; |
| 110 FloatRect m_objectBoundingBox; | 109 FloatRect m_objectBoundingBox; |
| 111 bool m_objectBoundingBoxValid; | 110 bool m_objectBoundingBoxValid; |
| 112 FloatRect m_strokeBoundingBox; | 111 FloatRect m_strokeBoundingBox; |
| 113 FloatRect m_repaintBoundingBox; | 112 FloatRect m_repaintBoundingBox; |
| 114 mutable AffineTransform m_localToParentTransform; | 113 mutable AffineTransform m_localToParentTransform; |
| 115 AffineTransform m_localToBorderBoxTransform; | 114 AffineTransform m_localToBorderBoxTransform; |
| 116 bool m_isLayoutSizeChanged : 1; | 115 bool m_isLayoutSizeChanged : 1; |
| 117 bool m_needsBoundariesOrTransformUpdate : 1; | 116 bool m_needsBoundariesOrTransformUpdate : 1; |
| 118 }; | 117 }; |
| 119 | 118 |
| 120 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGRoot, isSVGRoot()); | 119 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGRoot, isSVGRoot()); |
| 121 | 120 |
| 122 } // namespace WebCore | 121 } // namespace WebCore |
| 123 | 122 |
| 124 #endif // RenderSVGRoot_h | 123 #endif // RenderSVGRoot_h |
| OLD | NEW |