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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 protected: | 47 protected: |
48 virtual RenderObjectChildList* virtualChildren() { return children(); } | 48 virtual RenderObjectChildList* virtualChildren() { return children(); } |
49 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 49 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
50 | 50 |
51 virtual bool isSVGContainer() const { return true; } | 51 virtual bool isSVGContainer() const { return true; } |
52 virtual const char* renderName() const { return "RenderSVGContainer"; } | 52 virtual const char* renderName() const { return "RenderSVGContainer"; } |
53 | 53 |
54 virtual void layout(); | 54 virtual void layout(); |
55 | 55 |
| 56 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; |
| 57 virtual void removeChild(RenderObject*) OVERRIDE; |
56 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); | 58 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&); |
57 | 59 |
58 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; } | 60 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; } |
59 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; } | 61 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; } |
60 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo
undingBox; } | 62 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo
undingBox; } |
61 | 63 |
62 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction); | 64 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction); |
63 | 65 |
64 // Allow RenderSVGTransformableContainer to hook in at the right time in lay
out() | 66 // Allow RenderSVGTransformableContainer to hook in at the right time in lay
out() |
65 virtual bool calculateLocalTransform() { return false; } | 67 virtual bool calculateLocalTransform() { return false; } |
(...skipping 29 matching lines...) Expand all Loading... |
95 return static_cast<const RenderSVGContainer*>(object); | 97 return static_cast<const RenderSVGContainer*>(object); |
96 } | 98 } |
97 | 99 |
98 // This will catch anyone doing an unnecessary cast. | 100 // This will catch anyone doing an unnecessary cast. |
99 void toRenderSVGContainer(const RenderSVGContainer*); | 101 void toRenderSVGContainer(const RenderSVGContainer*); |
100 | 102 |
101 } // namespace WebCore | 103 } // namespace WebCore |
102 | 104 |
103 #endif // ENABLE(SVG) | 105 #endif // ENABLE(SVG) |
104 #endif // RenderSVGContainer_h | 106 #endif // RenderSVGContainer_h |
OLD | NEW |