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

Side by Side Diff: Source/core/svg/SVGTextPositioningElement.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/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.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, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 14 matching lines...) Expand all
25 #include "core/svg/SVGAnimatedLengthList.h" 25 #include "core/svg/SVGAnimatedLengthList.h"
26 #include "core/svg/SVGAnimatedNumberList.h" 26 #include "core/svg/SVGAnimatedNumberList.h"
27 #include "core/svg/SVGTextContentElement.h" 27 #include "core/svg/SVGTextContentElement.h"
28 #include "platform/heap/Handle.h" 28 #include "platform/heap/Handle.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class SVGTextPositioningElement : public SVGTextContentElement { 32 class SVGTextPositioningElement : public SVGTextContentElement {
33 DEFINE_WRAPPERTYPEINFO(); 33 DEFINE_WRAPPERTYPEINFO();
34 public: 34 public:
35 static SVGTextPositioningElement* elementFromRenderer(RenderObject&); 35 static SVGTextPositioningElement* elementFromRenderer(LayoutObject&);
36 36
37 SVGAnimatedLengthList* x() { return m_x.get(); } 37 SVGAnimatedLengthList* x() { return m_x.get(); }
38 SVGAnimatedLengthList* y() { return m_y.get(); } 38 SVGAnimatedLengthList* y() { return m_y.get(); }
39 SVGAnimatedLengthList* dx() { return m_dx.get(); } 39 SVGAnimatedLengthList* dx() { return m_dx.get(); }
40 SVGAnimatedLengthList* dy() { return m_dy.get(); } 40 SVGAnimatedLengthList* dy() { return m_dy.get(); }
41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } 41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); }
42 42
43 virtual void trace(Visitor*) override; 43 virtual void trace(Visitor*) override;
44 44
45 protected: 45 protected:
(...skipping 14 matching lines...) Expand all
60 inline bool isSVGTextPositioningElement(const SVGElement& element) 60 inline bool isSVGTextPositioningElement(const SVGElement& element)
61 { 61 {
62 return element.isTextPositioning(); 62 return element.isTextPositioning();
63 } 63 }
64 64
65 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); 65 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement);
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // SVGTextPositioningElement_h 69 #endif // SVGTextPositioningElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698