Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: Source/WebCore/rendering/svg/RenderSVGContainer.h

Issue 12545020: Revert 145087 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual RenderObjectChildList* virtualChildren() { return children(); } 52 virtual RenderObjectChildList* virtualChildren() { return children(); }
53 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 53 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
54 54
55 virtual bool isSVGContainer() const { return true; } 55 virtual bool isSVGContainer() const { return true; }
56 virtual const char* renderName() const { return "RenderSVGContainer"; } 56 virtual const char* renderName() const { return "RenderSVGContainer"; }
57 57
58 virtual void layout(); 58 virtual void layout();
59 59
60 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV ERRIDE; 60 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV ERRIDE;
61 virtual void removeChild(RenderObject*) OVERRIDE; 61 virtual void removeChild(RenderObject*) OVERRIDE;
62 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; 62 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint&);
63 63
64 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; } 64 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; }
65 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; } 65 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; }
66 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; } 66 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; }
67 67
68 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction); 68 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F loatPoint& pointInParent, HitTestAction);
69 69
70 // Allow RenderSVGTransformableContainer to hook in at the right time in lay out() 70 // Allow RenderSVGTransformableContainer to hook in at the right time in lay out()
71 virtual bool calculateLocalTransform() { return false; } 71 virtual bool calculateLocalTransform() { return false; }
72 72
(...skipping 28 matching lines...) Expand all
101 return static_cast<const RenderSVGContainer*>(object); 101 return static_cast<const RenderSVGContainer*>(object);
102 } 102 }
103 103
104 // This will catch anyone doing an unnecessary cast. 104 // This will catch anyone doing an unnecessary cast.
105 void toRenderSVGContainer(const RenderSVGContainer*); 105 void toRenderSVGContainer(const RenderSVGContainer*);
106 106
107 } // namespace WebCore 107 } // namespace WebCore
108 108
109 #endif // ENABLE(SVG) 109 #endif // ENABLE(SVG)
110 #endif // RenderSVGContainer_h 110 #endif // RenderSVGContainer_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderWidget.cpp ('k') | Source/WebCore/rendering/svg/RenderSVGContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698