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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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.h ('k') | Source/core/svg/SVGTitleElement.h » ('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 11 matching lines...) Expand all
22 #define SVGTextPositioningElement_h 22 #define SVGTextPositioningElement_h
23 23
24 #include "core/SVGNames.h" 24 #include "core/SVGNames.h"
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 28
29 namespace blink { 29 namespace blink {
30 30
31 class SVGTextPositioningElement : public SVGTextContentElement { 31 class SVGTextPositioningElement : public SVGTextContentElement {
32 DEFINE_WRAPPERTYPEINFO();
32 public: 33 public:
33 static SVGTextPositioningElement* elementFromRenderer(RenderObject*); 34 static SVGTextPositioningElement* elementFromRenderer(RenderObject*);
34 35
35 SVGAnimatedLengthList* x() { return m_x.get(); } 36 SVGAnimatedLengthList* x() { return m_x.get(); }
36 SVGAnimatedLengthList* y() { return m_y.get(); } 37 SVGAnimatedLengthList* y() { return m_y.get(); }
37 SVGAnimatedLengthList* dx() { return m_dx.get(); } 38 SVGAnimatedLengthList* dx() { return m_dx.get(); }
38 SVGAnimatedLengthList* dy() { return m_dy.get(); } 39 SVGAnimatedLengthList* dy() { return m_dy.get(); }
39 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } 40 SVGAnimatedNumberList* rotate() { return m_rotate.get(); }
40 41
41 protected: 42 protected:
(...skipping 13 matching lines...) Expand all
55 56
56 inline bool isSVGTextPositioningElement(const SVGElement& element) 57 inline bool isSVGTextPositioningElement(const SVGElement& element)
57 { 58 {
58 return element.isTextPositioning(); 59 return element.isTextPositioning();
59 } 60 }
60 61
61 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); 62 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement);
62 63
63 } // namespace blink 64 } // namespace blink
64 65
65 #endif 66 #endif // SVGTextPositioningElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextPathElement.h ('k') | Source/core/svg/SVGTitleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698