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

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

Issue 896773002: [svg2] Make 'x' and 'y' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
« no previous file with comments | « Source/core/svg/SVGRectElement.cpp ('k') | Source/core/svg/SVGSVGElement.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 SVGAnimatedLength* height() const { return m_height.get(); } 120 SVGAnimatedLength* height() const { return m_height.get(); }
121 121
122 virtual void trace(Visitor*) override; 122 virtual void trace(Visitor*) override;
123 123
124 private: 124 private:
125 explicit SVGSVGElement(Document&); 125 explicit SVGSVGElement(Document&);
126 virtual ~SVGSVGElement(); 126 virtual ~SVGSVGElement();
127 127
128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
129 virtual bool isPresentationAttribute(const QualifiedName&) const override; 129 virtual bool isPresentationAttribute(const QualifiedName&) const override;
130 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride;
130 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override; 131 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override;
131 132
132 virtual bool rendererIsNeeded(const LayoutStyle&) override; 133 virtual bool rendererIsNeeded(const LayoutStyle&) override;
133 virtual LayoutObject* createRenderer(const LayoutStyle&) override; 134 virtual LayoutObject* createRenderer(const LayoutStyle&) override;
134 135
135 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 136 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
136 virtual void removedFrom(ContainerNode*) override; 137 virtual void removedFrom(ContainerNode*) override;
137 138
138 virtual void svgAttributeChanged(const QualifiedName&) override; 139 virtual void svgAttributeChanged(const QualifiedName&) override;
139 140
(...skipping 24 matching lines...) Expand all
164 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; 165 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
165 RefPtrWillBeMember<SVGPoint> m_translation; 166 RefPtrWillBeMember<SVGPoint> m_translation;
166 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; 167 RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
167 168
168 friend class SVGCurrentTranslateTearOff; 169 friend class SVGCurrentTranslateTearOff;
169 }; 170 };
170 171
171 } // namespace blink 172 } // namespace blink
172 173
173 #endif // SVGSVGElement_h 174 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGRectElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698