| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // If you have a RenderSVGContainer, use firstChild or lastChild instead. | 40 // If you have a RenderSVGContainer, use firstChild or lastChild instead. |
| 41 void slowFirstChild() const WTF_DELETED_FUNCTION; | 41 void slowFirstChild() const WTF_DELETED_FUNCTION; |
| 42 void slowLastChild() const WTF_DELETED_FUNCTION; | 42 void slowLastChild() const WTF_DELETED_FUNCTION; |
| 43 | 43 |
| 44 const RenderObjectChildList* children() const { return &m_children; } | 44 const RenderObjectChildList* children() const { return &m_children; } |
| 45 RenderObjectChildList* children() { return &m_children; } | 45 RenderObjectChildList* children() { return &m_children; } |
| 46 | 46 |
| 47 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; | 47 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
| 48 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } | 48 virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUp
date = true; } |
| 49 virtual bool didTransformToRootUpdate() { return false; } | 49 virtual bool didTransformToRootUpdate() const { return false; } |
| 50 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } | 50 bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; } |
| 51 | 51 |
| 52 protected: | 52 protected: |
| 53 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } | 53 virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return chi
ldren(); } |
| 54 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } | 54 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL
{ return children(); } |
| 55 | 55 |
| 56 virtual bool isSVGContainer() const OVERRIDE FINAL { return true; } | 56 virtual bool isSVGContainer() const OVERRIDE FINAL { return true; } |
| 57 virtual const char* renderName() const OVERRIDE { return "RenderSVGContainer
"; } | 57 virtual const char* renderName() const OVERRIDE { return "RenderSVGContainer
"; } |
| 58 | 58 |
| 59 virtual void layout() OVERRIDE; | 59 virtual void layout() OVERRIDE; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 88 FloatRect m_strokeBoundingBox; | 88 FloatRect m_strokeBoundingBox; |
| 89 FloatRect m_repaintBoundingBox; | 89 FloatRect m_repaintBoundingBox; |
| 90 bool m_needsBoundariesUpdate : 1; | 90 bool m_needsBoundariesUpdate : 1; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); | 93 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer()); |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif // RenderSVGContainer_h | 97 #endif // RenderSVGContainer_h |
| OLD | NEW |