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

Side by Side Diff: Source/core/svg/SVGStyledTransformableElement.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, 2 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, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } 45 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); }
46 virtual AffineTransform animatedLocalTransform() const; 46 virtual AffineTransform animatedLocalTransform() const;
47 virtual AffineTransform* supplementalTransform(); 47 virtual AffineTransform* supplementalTransform();
48 48
49 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); 49 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate);
50 50
51 // "base class" methods for all the elements which render as paths 51 // "base class" methods for all the elements which render as paths
52 virtual void toClipPath(Path&); 52 virtual void toClipPath(Path&);
53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
54 54
55 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledLocatableEle ment::accept(visitor); }
56
55 protected: 57 protected:
56 SVGStyledTransformableElement(const QualifiedName&, const Handle<Document>&, ConstructionType = CreateSVGElement); 58 SVGStyledTransformableElement(const QualifiedName&, const Handle<Document>&, ConstructionType = CreateSVGElement);
57 59
58 bool isSupportedAttribute(const QualifiedName&); 60 bool isSupportedAttribute(const QualifiedName&);
59 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 61 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
60 virtual void svgAttributeChanged(const QualifiedName&); 62 virtual void svgAttributeChanged(const QualifiedName&);
61 63
62 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGStyledTransformableElement) 64 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGStyledTransformableElement)
63 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) 65 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform)
64 END_DECLARE_ANIMATED_PROPERTIES 66 END_DECLARE_ANIMATED_PROPERTIES
(...skipping 14 matching lines...) Expand all
79 81
80 inline SVGStyledTransformableElement* toSVGStyledTransformableElement(const Hand le<Node>& node) 82 inline SVGStyledTransformableElement* toSVGStyledTransformableElement(const Hand le<Node>& node)
81 { 83 {
82 return toSVGStyledTransformableElement(node.raw()); 84 return toSVGStyledTransformableElement(node.raw());
83 } 85 }
84 86
85 } // namespace WebCore 87 } // namespace WebCore
86 88
87 #endif // ENABLE(SVG) 89 #endif // ENABLE(SVG)
88 #endif // SVGStyledTransformableElement_h 90 #endif // SVGStyledTransformableElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698