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

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

Issue 138923003: Remove SVGPathElement::createRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | Source/core/svg/SVGPathElement.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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 bool isSupportedAttribute(const QualifiedName&); 104 bool isSupportedAttribute(const QualifiedName&);
105 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 105 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
106 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 106 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
107 virtual bool supportsMarkers() const OVERRIDE { return true; } 107 virtual bool supportsMarkers() const OVERRIDE { return true; }
108 108
109 // Custom 'd' property 109 // Custom 'd' property
110 static void synchronizeD(SVGElement* contextElement); 110 static void synchronizeD(SVGElement* contextElement);
111 static PassRefPtr<SVGAnimatedProperty> lookupOrCreateDWrapper(SVGElement* co ntextElement); 111 static PassRefPtr<SVGAnimatedProperty> lookupOrCreateDWrapper(SVGElement* co ntextElement);
112 112
113 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
114
115 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER RIDE; 113 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER RIDE;
116 virtual void removedFrom(ContainerNode*) OVERRIDE; 114 virtual void removedFrom(ContainerNode*) OVERRIDE;
117 115
118 void invalidateMPathDependencies(); 116 void invalidateMPathDependencies();
119 117
120 OwnPtr<SVGPathByteStream> m_pathByteStream; 118 OwnPtr<SVGPathByteStream> m_pathByteStream;
121 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList; 119 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList;
122 bool m_isAnimValObserved; 120 bool m_isAnimValObserved;
123 121
124 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement) 122 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement)
125 DECLARE_ANIMATED_NUMBER(PathLength, pathLength) 123 DECLARE_ANIMATED_NUMBER(PathLength, pathLength)
126 END_DECLARE_ANIMATED_PROPERTIES 124 END_DECLARE_ANIMATED_PROPERTIES
127 }; 125 };
128 126
129 DEFINE_NODE_TYPE_CASTS(SVGPathElement, hasTagName(SVGNames::pathTag)); 127 DEFINE_NODE_TYPE_CASTS(SVGPathElement, hasTagName(SVGNames::pathTag));
130 128
131 } // namespace WebCore 129 } // namespace WebCore
132 130
133 #endif 131 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698