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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual void paint(PaintInfo&, const LayoutPoint&); | 43 virtual void paint(PaintInfo&, const LayoutPoint&); |
44 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } | 44 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } |
45 virtual bool needsBoundariesUpdate() OVERRIDE FINAL { return m_needsBoundari
esUpdate; } | 45 virtual bool needsBoundariesUpdate() OVERRIDE FINAL { return m_needsBoundari
esUpdate; } |
46 virtual bool didTransformToRootUpdate() { return false; } | 46 virtual bool didTransformToRootUpdate() { return false; } |
47 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } | 47 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } |
48 | 48 |
49 protected: | 49 protected: |
50 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } | 50 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } |
51 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } | 51 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } |
52 | 52 |
53 virtual bool isSVGContainer() const OVERRIDE FINAL { return true; } | |
54 virtual const char* renderName() const { return "RenderSVGContainer"; } | 53 virtual const char* renderName() const { return "RenderSVGContainer"; } |
| 54 virtual SVGType getSVGType() const OVERRIDE { return IsSVGContainer; } |
55 | 55 |
56 virtual void layout(); | 56 virtual void layout(); |
57 | 57 |
58 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE FINAL; | 58 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE FINAL; |
59 virtual void removeChild(RenderObject*) OVERRIDE FINAL; | 59 virtual void removeChild(RenderObject*) OVERRIDE FINAL; |
60 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL; | 60 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE FINAL; |
61 | 61 |
62 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_object
BoundingBox; } | 62 virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_object
BoundingBox; } |
63 virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL { return m_stroke
BoundingBox; } | 63 virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL { return m_stroke
BoundingBox; } |
64 virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE FINAL { ret
urn m_repaintBoundingBox; } | 64 virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE FINAL { ret
urn m_repaintBoundingBox; } |
(...skipping 20 matching lines...) Expand all Loading... |
85 FloatRect m_strokeBoundingBox; | 85 FloatRect m_strokeBoundingBox; |
86 FloatRect m_repaintBoundingBox; | 86 FloatRect m_repaintBoundingBox; |
87 bool m_needsBoundariesUpdate : 1; | 87 bool m_needsBoundariesUpdate : 1; |
88 }; | 88 }; |
89 | 89 |
90 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); | 90 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); |
91 | 91 |
92 } // namespace WebCore | 92 } // namespace WebCore |
93 | 93 |
94 #endif // RenderSVGContainer_h | 94 #endif // RenderSVGContainer_h |
OLD | NEW |