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

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

Issue 10540037: Merge 118608 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual const char* renderName() const { return "RenderSVGRoot"; } 71 virtual const char* renderName() const { return "RenderSVGRoot"; }
72 72
73 virtual LayoutUnit computeReplacedLogicalWidth(bool includeMaxWidth = true) const; 73 virtual LayoutUnit computeReplacedLogicalWidth(bool includeMaxWidth = true) const;
74 virtual LayoutUnit computeReplacedLogicalHeight() const; 74 virtual LayoutUnit computeReplacedLogicalHeight() const;
75 virtual void layout(); 75 virtual void layout();
76 virtual void paintReplaced(PaintInfo&, const LayoutPoint&); 76 virtual void paintReplaced(PaintInfo&, const LayoutPoint&);
77 77
78 virtual void willBeDestroyed(); 78 virtual void willBeDestroyed();
79 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); 79 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);
80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 80 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
81 virtual void updateFromElement(); 81 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV ERRIDE;
82 virtual void removeChild(RenderObject*) OVERRIDE;
82 83
83 virtual const AffineTransform& localToParentTransform() const; 84 virtual const AffineTransform& localToParentTransform() const;
84 85
85 bool fillContains(const FloatPoint&) const; 86 bool fillContains(const FloatPoint&) const;
86 bool strokeContains(const FloatPoint&) const; 87 bool strokeContains(const FloatPoint&) const;
87 88
88 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; } 89 virtual FloatRect objectBoundingBox() const { return m_objectBoundingBox; }
89 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; } 90 virtual FloatRect strokeBoundingBox() const { return m_strokeBoundingBox; }
90 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; } 91 virtual FloatRect repaintRectInLocalCoordinates() const { return m_repaintBo undingBox; }
91 92
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 return static_cast<const RenderSVGRoot*>(object); 127 return static_cast<const RenderSVGRoot*>(object);
127 } 128 }
128 129
129 // This will catch anyone doing an unnecessary cast. 130 // This will catch anyone doing an unnecessary cast.
130 void toRenderSVGRoot(const RenderSVGRoot*); 131 void toRenderSVGRoot(const RenderSVGRoot*);
131 132
132 } // namespace WebCore 133 } // namespace WebCore
133 134
134 #endif // ENABLE(SVG) 135 #endif // ENABLE(SVG)
135 #endif // RenderSVGRoot_h 136 #endif // RenderSVGRoot_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/svg/RenderSVGResourceContainer.cpp ('k') | Source/WebCore/rendering/svg/RenderSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698