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

Side by Side Diff: Source/core/svg/SVGGraphicsElement.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGGradientElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const override { return calculateAnimatedLocalTransform(); } 55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const override { return calculateAnimatedLocalTransform(); }
56 bool hasAnimatedLocalTransform() const; 56 bool hasAnimatedLocalTransform() const;
57 AffineTransform calculateAnimatedLocalTransform() const; 57 AffineTransform calculateAnimatedLocalTransform() const;
58 virtual AffineTransform* animateMotionTransform() override; 58 virtual AffineTransform* animateMotionTransform() override;
59 59
60 virtual FloatRect getBBox(); 60 virtual FloatRect getBBox();
61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); 61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript();
62 62
63 // "base class" methods for all the elements which render as paths 63 // "base class" methods for all the elements which render as paths
64 virtual void toClipPath(Path&); 64 virtual void toClipPath(Path&);
65 virtual RenderObject* createRenderer(const RenderStyle&) override; 65 virtual LayoutObject* createRenderer(const RenderStyle&) override;
66 66
67 virtual bool isValid() const override final { return SVGTests::isValid(docum ent()); } 67 virtual bool isValid() const override final { return SVGTests::isValid(docum ent()); }
68 68
69 SVGAnimatedTransformList* transform() { return m_transform.get(); } 69 SVGAnimatedTransformList* transform() { return m_transform.get(); }
70 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; } 70 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; }
71 71
72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy, 72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy,
73 const SVGGraphicsElement* ancestor = 0) const; 73 const SVGGraphicsElement* ancestor = 0) const;
74 74
75 virtual void trace(Visitor*) override; 75 virtual void trace(Visitor*) override;
(...skipping 16 matching lines...) Expand all
92 inline bool isSVGGraphicsElement(const SVGElement& element) 92 inline bool isSVGGraphicsElement(const SVGElement& element)
93 { 93 {
94 return element.isSVGGraphicsElement(); 94 return element.isSVGGraphicsElement();
95 } 95 }
96 96
97 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 97 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
98 98
99 } // namespace blink 99 } // namespace blink
100 100
101 #endif // SVGGraphicsElement_h 101 #endif // SVGGraphicsElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGGradientElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698