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

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

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 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
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 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class SVGTextPositioningElement : public SVGTextContentElement { 31 class SVGTextPositioningElement : public SVGTextContentElement {
32 public: 32 public:
33 static SVGTextPositioningElement* elementFromRenderer(RenderObject*); 33 static SVGTextPositioningElement* elementFromRenderer(RenderObject*);
34 34
35 virtual void accept(Visitor* visitor) const OVERRIDE { SVGTextContentElement ::accept(visitor); }
36
35 protected: 37 protected:
36 SVGTextPositioningElement(const QualifiedName&, const Handle<Document>&); 38 SVGTextPositioningElement(const QualifiedName&, const Handle<Document>&);
37 39
38 bool isSupportedAttribute(const QualifiedName&); 40 bool isSupportedAttribute(const QualifiedName&);
39 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
40 virtual void svgAttributeChanged(const QualifiedName&); 42 virtual void svgAttributeChanged(const QualifiedName&);
41 43
42 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement) 44 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement)
43 DECLARE_ANIMATED_LENGTH_LIST(X, x) 45 DECLARE_ANIMATED_LENGTH_LIST(X, x)
44 DECLARE_ANIMATED_LENGTH_LIST(Y, y) 46 DECLARE_ANIMATED_LENGTH_LIST(Y, y)
45 DECLARE_ANIMATED_LENGTH_LIST(Dx, dx) 47 DECLARE_ANIMATED_LENGTH_LIST(Dx, dx)
46 DECLARE_ANIMATED_LENGTH_LIST(Dy, dy) 48 DECLARE_ANIMATED_LENGTH_LIST(Dy, dy)
47 DECLARE_ANIMATED_NUMBER_LIST(Rotate, rotate) 49 DECLARE_ANIMATED_NUMBER_LIST(Rotate, rotate)
48 END_DECLARE_ANIMATED_PROPERTIES 50 END_DECLARE_ANIMATED_PROPERTIES
49 }; 51 };
50 52
51 } // namespace WebCore 53 } // namespace WebCore
52 54
53 #endif // ENABLE(SVG) 55 #endif // ENABLE(SVG)
54 #endif 56 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698