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

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

Issue 980233002: [svg2] Make 'cx', 'cy' and 'r' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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/layout/svg/SVGPathData.cpp ('k') | Source/core/svg/SVGCircleElement.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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 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 29 matching lines...) Expand all
40 40
41 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
42 42
43 private: 43 private:
44 explicit SVGCircleElement(Document&); 44 explicit SVGCircleElement(Document&);
45 45
46 bool isSupportedAttribute(const QualifiedName&); 46 bool isSupportedAttribute(const QualifiedName&);
47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
48 virtual void svgAttributeChanged(const QualifiedName&) override; 48 virtual void svgAttributeChanged(const QualifiedName&) override;
49 49
50 virtual bool isPresentationAttribute(const QualifiedName&) const override;
51 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride;
52 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override;
53
50 virtual bool selfHasRelativeLengths() const override; 54 virtual bool selfHasRelativeLengths() const override;
51 55
52 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; 56 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override;
53 57
54 RefPtrWillBeMember<SVGAnimatedLength> m_cx; 58 RefPtrWillBeMember<SVGAnimatedLength> m_cx;
55 RefPtrWillBeMember<SVGAnimatedLength> m_cy; 59 RefPtrWillBeMember<SVGAnimatedLength> m_cy;
56 RefPtrWillBeMember<SVGAnimatedLength> m_r; 60 RefPtrWillBeMember<SVGAnimatedLength> m_r;
57 }; 61 };
58 62
59 } // namespace blink 63 } // namespace blink
60 64
61 #endif // SVGCircleElement_h 65 #endif // SVGCircleElement_h
OLDNEW
« no previous file with comments | « Source/core/layout/svg/SVGPathData.cpp ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698