| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual bool didTransformToRootUpdate() { return false; } | 47 virtual bool didTransformToRootUpdate() { return false; } |
| 48 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } | 48 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } |
| 49 | 49 |
| 50 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override f
inal { return m_paintInvalidationBoundingBox; } | 50 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override f
inal { return m_paintInvalidationBoundingBox; } |
| 51 bool selfWillPaint(); | 51 bool selfWillPaint(); |
| 52 | 52 |
| 53 protected: | 53 protected: |
| 54 virtual RenderObjectChildList* virtualChildren() override final { return chi
ldren(); } | 54 virtual RenderObjectChildList* virtualChildren() override final { return chi
ldren(); } |
| 55 virtual const RenderObjectChildList* virtualChildren() const override final
{ return children(); } | 55 virtual const RenderObjectChildList* virtualChildren() const override final
{ return children(); } |
| 56 | 56 |
| 57 virtual bool isSVGContainer() const override final { return true; } | 57 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectSVGContainer || RenderSVGModelObject::isOfType(type); } |
| 58 virtual const char* renderName() const override { return "RenderSVGContainer
"; } | 58 virtual const char* renderName() const override { return "RenderSVGContainer
"; } |
| 59 | 59 |
| 60 virtual void layout() override; | 60 virtual void layout() override; |
| 61 | 61 |
| 62 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride final; | 62 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride final; |
| 63 virtual void removeChild(RenderObject*) override final; | 63 virtual void removeChild(RenderObject*) override final; |
| 64 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset, const RenderLayerModelObject* paintContainer) const override final; | 64 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset, const RenderLayerModelObject* paintContainer) const override final; |
| 65 | 65 |
| 66 virtual FloatRect objectBoundingBox() const override final { return m_object
BoundingBox; } | 66 virtual FloatRect objectBoundingBox() const override final { return m_object
BoundingBox; } |
| 67 virtual FloatRect strokeBoundingBox() const override final { return m_stroke
BoundingBox; } | 67 virtual FloatRect strokeBoundingBox() const override final { return m_stroke
BoundingBox; } |
| (...skipping 21 matching lines...) Expand all Loading... |
| 89 FloatRect m_strokeBoundingBox; | 89 FloatRect m_strokeBoundingBox; |
| 90 FloatRect m_paintInvalidationBoundingBox; | 90 FloatRect m_paintInvalidationBoundingBox; |
| 91 bool m_needsBoundariesUpdate : 1; | 91 bool m_needsBoundariesUpdate : 1; |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); | 94 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); |
| 95 | 95 |
| 96 } // namespace blink | 96 } // namespace blink |
| 97 | 97 |
| 98 #endif // RenderSVGContainer_h | 98 #endif // RenderSVGContainer_h |
| OLD | NEW |